Lines Matching refs:hp
611 static int tcp_v6_md5_hash_headers(struct tcp_md5sig_pool *hp, in tcp_v6_md5_hash_headers() argument
620 bp = hp->scratch; in tcp_v6_md5_hash_headers()
632 ahash_request_set_crypt(hp->md5_req, &sg, NULL, in tcp_v6_md5_hash_headers()
634 return crypto_ahash_update(hp->md5_req); in tcp_v6_md5_hash_headers()
641 struct tcp_md5sig_pool *hp; in tcp_v6_md5_hash_hdr() local
644 hp = tcp_get_md5sig_pool(); in tcp_v6_md5_hash_hdr()
645 if (!hp) in tcp_v6_md5_hash_hdr()
647 req = hp->md5_req; in tcp_v6_md5_hash_hdr()
651 if (tcp_v6_md5_hash_headers(hp, daddr, saddr, th, th->doff << 2)) in tcp_v6_md5_hash_hdr()
653 if (tcp_md5_hash_key(hp, key)) in tcp_v6_md5_hash_hdr()
675 struct tcp_md5sig_pool *hp; in tcp_v6_md5_hash_skb() local
688 hp = tcp_get_md5sig_pool(); in tcp_v6_md5_hash_skb()
689 if (!hp) in tcp_v6_md5_hash_skb()
691 req = hp->md5_req; in tcp_v6_md5_hash_skb()
696 if (tcp_v6_md5_hash_headers(hp, daddr, saddr, th, skb->len)) in tcp_v6_md5_hash_skb()
698 if (tcp_md5_hash_skb_data(hp, skb, th->doff << 2)) in tcp_v6_md5_hash_skb()
700 if (tcp_md5_hash_key(hp, key)) in tcp_v6_md5_hash_skb()