Home
last modified time | relevance | path

Searched refs:tcp_ao_maclen (Results 1 – 3 of 3) sorted by relevance

/linux/include/net/
H A Dtcp_ao.h65 static inline int tcp_ao_maclen(const struct tcp_ao_key *key) in tcp_ao_maclen() function
73 return tcp_ao_maclen(key) + sizeof(struct tcp_ao_hdr); in tcp_ao_len()
/linux/net/ipv4/
H A Dtcp_ao.c602 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()
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()
910 if (maclen != tcp_ao_maclen(key)) { in tcp_ao_verify_hash()
1439 if (tcp_ao_maclen(key) > key->digest_size) in tcp_ao_parse_crypto()
H A Dtcp_output.c603 u8 maclen = tcp_ao_maclen(key->ao_key); in process_tcp_ao_options()