Lines Matching refs:hp
1018 static int tcp_v4_md5_hash_pseudoheader(struct tcp_md5sig_pool *hp, in tcp_v4_md5_hash_pseudoheader() argument
1024 bp = &hp->md5_blk.ip4; in tcp_v4_md5_hash_pseudoheader()
1038 return crypto_hash_update(&hp->md5_desc, &sg, sizeof(*bp)); in tcp_v4_md5_hash_pseudoheader()
1044 struct tcp_md5sig_pool *hp; in tcp_v4_md5_hash_hdr() local
1047 hp = tcp_get_md5sig_pool(); in tcp_v4_md5_hash_hdr()
1048 if (!hp) in tcp_v4_md5_hash_hdr()
1050 desc = &hp->md5_desc; in tcp_v4_md5_hash_hdr()
1054 if (tcp_v4_md5_hash_pseudoheader(hp, daddr, saddr, th->doff << 2)) in tcp_v4_md5_hash_hdr()
1056 if (tcp_md5_hash_header(hp, th)) in tcp_v4_md5_hash_hdr()
1058 if (tcp_md5_hash_key(hp, key)) in tcp_v4_md5_hash_hdr()
1077 struct tcp_md5sig_pool *hp; in tcp_v4_md5_hash_skb() local
1091 hp = tcp_get_md5sig_pool(); in tcp_v4_md5_hash_skb()
1092 if (!hp) in tcp_v4_md5_hash_skb()
1094 desc = &hp->md5_desc; in tcp_v4_md5_hash_skb()
1099 if (tcp_v4_md5_hash_pseudoheader(hp, daddr, saddr, skb->len)) in tcp_v4_md5_hash_skb()
1101 if (tcp_md5_hash_header(hp, th)) in tcp_v4_md5_hash_skb()
1103 if (tcp_md5_hash_skb_data(hp, skb, th->doff << 2)) in tcp_v4_md5_hash_skb()
1105 if (tcp_md5_hash_key(hp, key)) in tcp_v4_md5_hash_skb()