Lines Matching refs:hp
1016 static int tcp_v4_md5_hash_pseudoheader(struct tcp_md5sig_pool *hp, in tcp_v4_md5_hash_pseudoheader() argument
1022 bp = &hp->md5_blk.ip4; in tcp_v4_md5_hash_pseudoheader()
1036 return crypto_hash_update(&hp->md5_desc, &sg, sizeof(*bp)); in tcp_v4_md5_hash_pseudoheader()
1042 struct tcp_md5sig_pool *hp; in tcp_v4_md5_hash_hdr() local
1045 hp = tcp_get_md5sig_pool(); in tcp_v4_md5_hash_hdr()
1046 if (!hp) in tcp_v4_md5_hash_hdr()
1048 desc = &hp->md5_desc; in tcp_v4_md5_hash_hdr()
1052 if (tcp_v4_md5_hash_pseudoheader(hp, daddr, saddr, th->doff << 2)) in tcp_v4_md5_hash_hdr()
1054 if (tcp_md5_hash_header(hp, th)) in tcp_v4_md5_hash_hdr()
1056 if (tcp_md5_hash_key(hp, key)) in tcp_v4_md5_hash_hdr()
1075 struct tcp_md5sig_pool *hp; in tcp_v4_md5_hash_skb() local
1089 hp = tcp_get_md5sig_pool(); in tcp_v4_md5_hash_skb()
1090 if (!hp) in tcp_v4_md5_hash_skb()
1092 desc = &hp->md5_desc; in tcp_v4_md5_hash_skb()
1097 if (tcp_v4_md5_hash_pseudoheader(hp, daddr, saddr, skb->len)) in tcp_v4_md5_hash_skb()
1099 if (tcp_md5_hash_header(hp, th)) in tcp_v4_md5_hash_skb()
1101 if (tcp_md5_hash_skb_data(hp, skb, th->doff << 2)) in tcp_v4_md5_hash_skb()
1103 if (tcp_md5_hash_key(hp, key)) in tcp_v4_md5_hash_skb()