Searched refs:enc_key_size (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/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() 2057 ecryptfs_dump_hex(key_rec->enc_key, key_rec->enc_key_size); in write_tag_1_packet() 2067 + key_rec->enc_key_size); /* Encrypted key size */ in write_tag_1_packet() 2090 key_rec->enc_key_size); in write_tag_1_packet() 2091 (*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-6.6.21/net/bluetooth/ |
D | smp.c | 110 u8 enc_key_size; member 738 smp->enc_key_size = max_key_size; in check_enc_key_size() 1008 hci_le_start_enc(hcon, ediv, rand, stk, smp->enc_key_size); in smp_random() 1009 hcon->enc_key_size = smp->enc_key_size; in smp_random() 1031 SMP_STK, auth, stk, smp->enc_key_size, ediv, rand); in smp_random() 1156 key_type, auth, smp->tk, smp->enc_key_size, in sc_add_ltk() 1299 get_random_bytes(enc.ltk, smp->enc_key_size); in smp_distribute_keys() 1300 memset(enc.ltk + smp->enc_key_size, 0, in smp_distribute_keys() 1301 sizeof(enc.ltk) - smp->enc_key_size); in smp_distribute_keys() 1311 smp->enc_key_size, ediv, rand); in smp_distribute_keys() [all …]
|
D | hci_event.c | 749 conn->enc_key_size = 0; in hci_cc_read_enc_key_size() 751 conn->enc_key_size = rp->key_size; in hci_cc_read_enc_key_size() 754 if (conn->enc_key_size < hdev->min_enc_key_size) { in hci_cc_read_enc_key_size() 3664 conn->enc_key_size = HCI_LINK_KEY_SIZE; in hci_encrypt_change_evt() 3672 conn->enc_key_size = HCI_LINK_KEY_SIZE; in hci_encrypt_change_evt() 6739 conn->enc_key_size = ltk->enc_size; in hci_le_ltk_request_evt()
|
D | l2cap_sock.c | 590 sec.key_size = chan->conn->hcon->enc_key_size; in l2cap_sock_getsockopt()
|
D | hci_conn.c | 2480 if (!conn->enc_key_size) in hci_conn_security()
|
D | l2cap_core.c | 1554 hcon->enc_key_size >= min_key_size); in l2cap_check_enc_key_size()
|
/linux-6.6.21/include/net/bluetooth/ |
D | hci_core.h | 723 __u8 enc_key_size; member
|