Home
last modified time | relevance | path

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

/Linux-v5.10/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()
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 …]
Decryptfs_kernel.h52 size_t enc_key_size; member
/Linux-v5.10/net/bluetooth/
Dsmp.c109 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 …]
Dhci_event.c3038 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()
Dhci_conn.c1471 if (!conn->enc_key_size) in hci_conn_security()
Dl2cap_sock.c572 sec.key_size = chan->conn->hcon->enc_key_size; in l2cap_sock_getsockopt()
Dl2cap_core.c1519 hcon->enc_key_size >= hcon->hdev->min_enc_key_size); in l2cap_check_enc_key_size()
/Linux-v5.10/include/net/bluetooth/
Dhci_core.h606 __u8 enc_key_size; member