Searched refs:hash_buf (Results 1 – 4 of 4) sorted by relevance
| /linux/net/ipv6/ |
| H A D | tcp_ao.c | 152 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/net/ipv4/ |
| H A D | tcp_ao.c | 569 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 …]
|
| /linux/kernel/bpf/ |
| H A D | arraymap.c | 179 void *hash_buf) in array_map_get_hash() argument 184 hash_buf); in array_map_get_hash() 185 memcpy(array->map.sha, hash_buf, sizeof(array->map.sha)); in array_map_get_hash()
|
| /linux/include/linux/ |
| H A D | bpf.h | 113 int (*map_get_hash)(struct bpf_map *map, u32 hash_buf_size, void *hash_buf);
|