Searched refs:enc_key_size (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.10/fs/ecryptfs/ |
D | keystore.c | 384 rc = ecryptfs_parse_packet_length(&data[i], &key_rec->enc_key_size, in parse_tag_67_packet() 392 if (message_len < (i + key_rec->enc_key_size)) { in parse_tag_67_packet() 395 __func__, message_len, (i + key_rec->enc_key_size)); in parse_tag_67_packet() 398 if (key_rec->enc_key_size > ECRYPTFS_MAX_ENCRYPTED_KEY_BYTES) { in parse_tag_67_packet() 402 key_rec->enc_key_size, in parse_tag_67_packet() 406 memcpy(key_rec->enc_key, &data[i], key_rec->enc_key_size); in parse_tag_67_packet() 2056 ecryptfs_dump_hex(key_rec->enc_key, key_rec->enc_key_size); in write_tag_1_packet() 2066 + key_rec->enc_key_size); /* Encrypted key size */ in write_tag_1_packet() 2089 key_rec->enc_key_size); in write_tag_1_packet() 2090 (*packet_size) += key_rec->enc_key_size; in write_tag_1_packet() [all …]
|
D | ecryptfs_kernel.h | 52 size_t enc_key_size; member
|
/Linux-v5.10/net/bluetooth/ |
D | smp.c | 109 u8 enc_key_size; member 737 smp->enc_key_size = max_key_size; in check_enc_key_size() 1005 hci_le_start_enc(hcon, ediv, rand, stk, smp->enc_key_size); in smp_random() 1006 hcon->enc_key_size = smp->enc_key_size; in smp_random() 1028 SMP_STK, auth, stk, smp->enc_key_size, ediv, rand); in smp_random() 1141 key_type, auth, smp->tk, smp->enc_key_size, in sc_add_ltk() 1284 get_random_bytes(enc.ltk, smp->enc_key_size); in smp_distribute_keys() 1285 memset(enc.ltk + smp->enc_key_size, 0, in smp_distribute_keys() 1286 sizeof(enc.ltk) - smp->enc_key_size); in smp_distribute_keys() 1296 smp->enc_key_size, ediv, rand); in smp_distribute_keys() [all …]
|
D | hci_event.c | 3038 conn->enc_key_size = 0; in read_enc_key_size_complete() 3040 conn->enc_key_size = rp->key_size; in read_enc_key_size_complete() 3119 conn->enc_key_size = HCI_LINK_KEY_SIZE; in hci_encrypt_change_evt() 3130 conn->enc_key_size = HCI_LINK_KEY_SIZE; in hci_encrypt_change_evt() 5769 conn->enc_key_size = ltk->enc_size; in hci_le_ltk_request_evt()
|
D | hci_conn.c | 1471 if (!conn->enc_key_size) in hci_conn_security()
|
D | l2cap_sock.c | 572 sec.key_size = chan->conn->hcon->enc_key_size; in l2cap_sock_getsockopt()
|
D | l2cap_core.c | 1519 hcon->enc_key_size >= hcon->hdev->min_enc_key_size); in l2cap_check_enc_key_size()
|
/Linux-v5.10/include/net/bluetooth/ |
D | hci_core.h | 606 __u8 enc_key_size; member
|