Lines Matching refs:hp
532 static int tcp_v6_md5_hash_pseudoheader(struct tcp_md5sig_pool *hp, in tcp_v6_md5_hash_pseudoheader() argument
539 bp = &hp->md5_blk.ip6; in tcp_v6_md5_hash_pseudoheader()
547 return crypto_hash_update(&hp->md5_desc, &sg, sizeof(*bp)); in tcp_v6_md5_hash_pseudoheader()
554 struct tcp_md5sig_pool *hp; in tcp_v6_md5_hash_hdr() local
557 hp = tcp_get_md5sig_pool(); in tcp_v6_md5_hash_hdr()
558 if (!hp) in tcp_v6_md5_hash_hdr()
560 desc = &hp->md5_desc; in tcp_v6_md5_hash_hdr()
564 if (tcp_v6_md5_hash_pseudoheader(hp, daddr, saddr, th->doff << 2)) in tcp_v6_md5_hash_hdr()
566 if (tcp_md5_hash_header(hp, th)) in tcp_v6_md5_hash_hdr()
568 if (tcp_md5_hash_key(hp, key)) in tcp_v6_md5_hash_hdr()
589 struct tcp_md5sig_pool *hp; in tcp_v6_md5_hash_skb() local
602 hp = tcp_get_md5sig_pool(); in tcp_v6_md5_hash_skb()
603 if (!hp) in tcp_v6_md5_hash_skb()
605 desc = &hp->md5_desc; in tcp_v6_md5_hash_skb()
610 if (tcp_v6_md5_hash_pseudoheader(hp, daddr, saddr, skb->len)) in tcp_v6_md5_hash_skb()
612 if (tcp_md5_hash_header(hp, th)) in tcp_v6_md5_hash_skb()
614 if (tcp_md5_hash_skb_data(hp, skb, th->doff << 2)) in tcp_v6_md5_hash_skb()
616 if (tcp_md5_hash_key(hp, key)) in tcp_v6_md5_hash_skb()