Home
last modified time | relevance | path

Searched refs:ao_hash (Results 1 – 5 of 5) sorted by relevance

/linux-6.15/include/net/
H A Dtcp_ao.h181 char *ao_hash, struct tcp_ao_key *key,
209 int tcp_ao_hash_hdr(unsigned short family, char *ao_hash,
223 int tcp_v4_ao_synack_hash(char *ao_hash, struct tcp_ao_key *mkt,
234 int tcp_v4_ao_hash_skb(char *ao_hash, struct tcp_ao_key *key,
253 int tcp_v6_ao_hash_skb(char *ao_hash, struct tcp_ao_key *key,
257 int tcp_v6_ao_synack_hash(char *ao_hash, struct tcp_ao_key *ao_key,
346 const u8 **md5_hash, const u8 **ao_hash);
349 const u8 **md5_hash, const u8 **ao_hash) in tcp_do_parse_auth_options() argument
352 *ao_hash = NULL; in tcp_do_parse_auth_options()
H A Dtcp.h2352 int (*ao_synack_hash)(char *ao_hash, struct tcp_ao_key *mkt,
/linux-6.15/net/ipv6/
H A Dtcp_ao.c134 int tcp_v6_ao_hash_skb(char *ao_hash, struct tcp_ao_key *key, in tcp_v6_ao_hash_skb() argument
138 return tcp_ao_hash_skb(AF_INET6, ao_hash, key, sk, skb, tkey, in tcp_v6_ao_hash_skb()
148 int tcp_v6_ao_synack_hash(char *ao_hash, struct tcp_ao_key *ao_key, in tcp_v6_ao_synack_hash() argument
163 err = tcp_ao_hash_skb(AF_INET6, ao_hash, ao_key, req_to_sk(req), skb, in tcp_v6_ao_synack_hash()
/linux-6.15/net/ipv4/
H A Dtcp_ao.c560 int tcp_ao_hash_hdr(unsigned short int family, char *ao_hash, in tcp_ao_hash_hdr() argument
567 int hash_offset = ao_hash - (char *)th; in tcp_ao_hash_hdr()
602 ao_hash, hash_offset, tcp_ao_maclen(key))) in tcp_ao_hash_hdr()
608 memcpy(ao_hash, hash_buf, tcp_ao_maclen(key)); in tcp_ao_hash_hdr()
616 memset(ao_hash, 0, tcp_ao_maclen(key)); in tcp_ao_hash_hdr()
622 char *ao_hash, struct tcp_ao_key *key, in tcp_ao_hash_skb() argument
651 ao_hash, hash_offset, tcp_ao_maclen(key))) in tcp_ao_hash_skb()
659 memcpy(ao_hash, hash_buf, tcp_ao_maclen(key)); in tcp_ao_hash_skb()
667 memset(ao_hash, 0, tcp_ao_maclen(key)); in tcp_ao_hash_skb()
672 int tcp_v4_ao_hash_skb(char *ao_hash, struct tcp_ao_key *key, in tcp_v4_ao_hash_skb() argument
[all …]
H A Dtcp_input.c4388 const u8 **md5_hash, const u8 **ao_hash) in tcp_do_parse_auth_options() argument
4398 *ao_hash = NULL; in tcp_do_parse_auth_options()
4418 if (unlikely(*md5_hash || *ao_hash)) in tcp_do_parse_auth_options()
4424 if (unlikely(*md5_hash || *ao_hash)) in tcp_do_parse_auth_options()
4426 *ao_hash = ptr; in tcp_do_parse_auth_options()