Lines Matching defs:hash
15 #include <crypto/hash.h>
391 static inline void nvme_tcp_ddgst_final(struct ahash_request *hash,
394 ahash_request_set_crypt(hash, NULL, (u8 *)dgst, 0);
395 crypto_ahash_final(hash);
398 static inline void nvme_tcp_ddgst_update(struct ahash_request *hash,
405 ahash_request_set_crypt(hash, &sg, NULL, len);
406 crypto_ahash_update(hash);
409 static inline void nvme_tcp_hdgst(struct ahash_request *hash,
415 ahash_request_set_crypt(hash, &sg, pdu + len, len);
416 crypto_ahash_digest(hash);