Home
last modified time | relevance | path

Searched refs:key_rec (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/fs/ecryptfs/
Dkeystore.c346 parse_tag_67_packet(struct ecryptfs_key_record *key_rec, in parse_tag_67_packet() argument
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()
1964 struct ecryptfs_key_record *key_rec) in pki_encrypt_session_key() argument
1996 rc = parse_tag_67_packet(key_rec, msg); in pki_encrypt_session_key()
2022 struct ecryptfs_key_record *key_rec, size_t *packet_size) in write_tag_1_packet() argument
[all …]
/linux-5.19.10/drivers/net/ethernet/aquantia/atlantic/
Daq_macsec.c563 struct aq_mss_egress_sakey_record key_rec; in aq_update_txsa() local
581 memset(&key_rec, 0, sizeof(key_rec)); in aq_update_txsa()
582 memcpy(&key_rec.key, key, secy->key_len); in aq_update_txsa()
584 aq_rotate_keys(&key_rec.key, secy->key_len); in aq_update_txsa()
586 ret = aq_mss_set_egress_sakey_record(hw, &key_rec, sa_idx); in aq_update_txsa()
656 struct aq_mss_egress_sakey_record key_rec; in aq_clear_txsa() local
666 memset(&key_rec, 0, sizeof(key_rec)); in aq_clear_txsa()
667 return aq_mss_set_egress_sakey_record(hw, &key_rec, sa_idx); in aq_clear_txsa()