Home
last modified time | relevance | path

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

/linux-6.14.4/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.14.4/net/ipv4/
Dtcp_ao.c569 void *hash_buf = NULL; in tcp_ao_hash_hdr() local
571 hash_buf = kmalloc(tkey_len, GFP_ATOMIC); in tcp_ao_hash_hdr()
572 if (!hash_buf) in tcp_ao_hash_hdr()
604 ahash_request_set_crypt(hp.req, NULL, hash_buf, 0); in tcp_ao_hash_hdr()
608 memcpy(ao_hash, hash_buf, tcp_ao_maclen(key)); in tcp_ao_hash_hdr()
610 kfree(hash_buf); in tcp_ao_hash_hdr()
617 kfree(hash_buf); in tcp_ao_hash_hdr()
629 void *hash_buf = NULL; in tcp_ao_hash_skb() local
631 hash_buf = kmalloc(tkey_len, GFP_ATOMIC); in tcp_ao_hash_skb()
632 if (!hash_buf) in tcp_ao_hash_skb()
[all …]