Lines Matching defs:hp
1558 static int tcp_v4_md5_hash_headers(struct tcp_sigpool *hp,
1566 bp = hp->scratch;
1578 ahash_request_set_crypt(hp->req, &sg, NULL,
1580 return crypto_ahash_update(hp->req);
1586 struct tcp_sigpool hp;
1588 if (tcp_sigpool_start(tcp_md5_sigpool_id, &hp))
1591 if (crypto_ahash_init(hp.req))
1593 if (tcp_v4_md5_hash_headers(&hp, daddr, saddr, th, th->doff << 2))
1595 if (tcp_md5_hash_key(&hp, key))
1597 ahash_request_set_crypt(hp.req, NULL, md5_hash, 0);
1598 if (crypto_ahash_final(hp.req))
1601 tcp_sigpool_end(&hp);
1605 tcp_sigpool_end(&hp);
1616 struct tcp_sigpool hp;
1628 if (tcp_sigpool_start(tcp_md5_sigpool_id, &hp))
1631 if (crypto_ahash_init(hp.req))
1634 if (tcp_v4_md5_hash_headers(&hp, daddr, saddr, th, skb->len))
1636 if (tcp_sigpool_hash_skb_data(&hp, skb, th->doff << 2))
1638 if (tcp_md5_hash_key(&hp, key))
1640 ahash_request_set_crypt(hp.req, NULL, md5_hash, 0);
1641 if (crypto_ahash_final(hp.req))
1644 tcp_sigpool_end(&hp);
1648 tcp_sigpool_end(&hp);