Home
last modified time | relevance | path

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

/linux-6.12.1/net/ipv6/
Dtcp_ao.c152 void *hash_buf = NULL; in tcp_v6_ao_synack_hash() local
155 hash_buf = kmalloc(tcp_ao_digest_size(ao_key), GFP_ATOMIC); in tcp_v6_ao_synack_hash()
156 if (!hash_buf) in tcp_v6_ao_synack_hash()
159 err = tcp_v6_ao_calc_key_rsk(ao_key, hash_buf, req); in tcp_v6_ao_synack_hash()
164 hash_buf, hash_offset, sne); in tcp_v6_ao_synack_hash()
166 kfree(hash_buf); in tcp_v6_ao_synack_hash()
/linux-6.12.1/net/ipv4/
Dtcp_ao.c568 void *hash_buf = NULL; in tcp_ao_hash_hdr() local
570 hash_buf = kmalloc(tkey_len, GFP_ATOMIC); in tcp_ao_hash_hdr()
571 if (!hash_buf) in tcp_ao_hash_hdr()
603 ahash_request_set_crypt(hp.req, NULL, hash_buf, 0); in tcp_ao_hash_hdr()
607 memcpy(ao_hash, hash_buf, tcp_ao_maclen(key)); in tcp_ao_hash_hdr()
609 kfree(hash_buf); in tcp_ao_hash_hdr()
616 kfree(hash_buf); in tcp_ao_hash_hdr()
628 void *hash_buf = NULL; in tcp_ao_hash_skb() local
630 hash_buf = kmalloc(tkey_len, GFP_ATOMIC); in tcp_ao_hash_skb()
631 if (!hash_buf) in tcp_ao_hash_skb()
[all …]