Searched refs:key_rec (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/fs/ecryptfs/ |
D | keystore.c | 348 parse_tag_67_packet(struct ecryptfs_key_record *key_rec, in parse_tag_67_packet() argument 386 rc = ecryptfs_parse_packet_length(&data[i], &key_rec->enc_key_size, in parse_tag_67_packet() 394 if (message_len < (i + key_rec->enc_key_size)) { in parse_tag_67_packet() 397 __func__, message_len, (i + key_rec->enc_key_size)); in parse_tag_67_packet() 400 if (key_rec->enc_key_size > ECRYPTFS_MAX_ENCRYPTED_KEY_BYTES) { in parse_tag_67_packet() 404 key_rec->enc_key_size, in parse_tag_67_packet() 408 memcpy(key_rec->enc_key, &data[i], key_rec->enc_key_size); in parse_tag_67_packet() 1966 struct ecryptfs_key_record *key_rec) in pki_encrypt_session_key() argument 1998 rc = parse_tag_67_packet(key_rec, msg); in pki_encrypt_session_key() 2024 struct ecryptfs_key_record *key_rec, size_t *packet_size) in write_tag_1_packet() argument [all …]
|
/linux-6.12.1/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_macsec.c | 548 struct aq_mss_egress_sakey_record key_rec; in aq_update_txsa() local 566 memset(&key_rec, 0, sizeof(key_rec)); in aq_update_txsa() 567 memcpy(&key_rec.key, key, secy->key_len); in aq_update_txsa() 569 aq_rotate_keys(&key_rec.key, secy->key_len); in aq_update_txsa() 571 ret = aq_mss_set_egress_sakey_record(hw, &key_rec, sa_idx); in aq_update_txsa() 573 memzero_explicit(&key_rec, sizeof(key_rec)); in aq_update_txsa() 636 struct aq_mss_egress_sakey_record key_rec; in aq_clear_txsa() local 646 memset(&key_rec, 0, sizeof(key_rec)); in aq_clear_txsa() 647 return aq_mss_set_egress_sakey_record(hw, &key_rec, sa_idx); in aq_clear_txsa()
|