Home
last modified time | relevance | path

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

/linux/include/net/
H A Dtcp_ao.h197 char *ao_hash, struct tcp_ao_key *key,
225 int tcp_ao_hash_hdr(unsigned short family, char *ao_hash,
239 int tcp_v4_ao_synack_hash(char *ao_hash, struct tcp_ao_key *mkt,
250 int tcp_v4_ao_hash_skb(char *ao_hash, struct tcp_ao_key *key,
270 int tcp_v6_ao_hash_skb(char *ao_hash, struct tcp_ao_key *key,
274 int tcp_v6_ao_synack_hash(char *ao_hash, struct tcp_ao_key *ao_key,
362 const u8 **md5_hash, const u8 **ao_hash);
365 const u8 **md5_hash, const u8 **ao_hash) in tcp_do_parse_auth_options() argument
368 *ao_hash = NULL; in tcp_do_parse_auth_options()
H A Dtcp.h2519 int (*ao_synack_hash)(char *ao_hash, struct tcp_ao_key *mkt,
/linux/net/ipv4/
H A Dtcp_ao.c645 int tcp_ao_hash_hdr(unsigned short int family, char *ao_hash, in tcp_ao_hash_hdr() argument
651 int hash_offset = ao_hash - (char *)th; in tcp_ao_hash_hdr()
671 ao_hash, hash_offset, tcp_ao_maclen(key)); in tcp_ao_hash_hdr()
674 memcpy(ao_hash, hash_buf, tcp_ao_maclen(key)); in tcp_ao_hash_hdr()
678 memset(ao_hash, 0, tcp_ao_maclen(key)); in tcp_ao_hash_hdr()
714 char *ao_hash, struct tcp_ao_key *key, in tcp_ao_hash_skb() argument
728 ao_hash, hash_offset, tcp_ao_maclen(key)); in tcp_ao_hash_skb()
732 memcpy(ao_hash, hash_buf, tcp_ao_maclen(key)); in tcp_ao_hash_skb()
736 memset(ao_hash, 0, tcp_ao_maclen(key)); in tcp_ao_hash_skb()
740 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.c4975 const u8 **md5_hash, const u8 **ao_hash) in tcp_do_parse_auth_options()
4985 *ao_hash = NULL; in tcp_do_parse_auth_options()
5005 if (unlikely(*md5_hash || *ao_hash)) in tcp_do_parse_auth_options()
5011 if (unlikely(*md5_hash || *ao_hash)) in tcp_do_parse_auth_options()
5013 *ao_hash = ptr; in tcp_do_parse_auth_options()
4973 tcp_do_parse_auth_options(const struct tcphdr * th,const u8 ** md5_hash,const u8 ** ao_hash) tcp_do_parse_auth_options() argument