Home
last modified time | relevance | path

Searched refs:enc_key_size (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/fs/ecryptfs/
Dkeystore.c384 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 …]
Decryptfs_kernel.h52 size_t enc_key_size; member
/linux-6.6.21/net/bluetooth/
Dsmp.c110 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 …]
Dhci_event.c749 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()
Dl2cap_sock.c590 sec.key_size = chan->conn->hcon->enc_key_size; in l2cap_sock_getsockopt()
Dhci_conn.c2480 if (!conn->enc_key_size) in hci_conn_security()
Dl2cap_core.c1554 hcon->enc_key_size >= min_key_size); in l2cap_check_enc_key_size()
/linux-6.6.21/include/net/bluetooth/
Dhci_core.h723 __u8 enc_key_size; member