Home
last modified time | relevance | path

Searched refs:rcv_hash (Results 1 – 2 of 2) sorted by relevance

/drivers/nvme/target/
Dtcp.c131 struct ahash_request *rcv_hash; member
272 nvmet_tcp_hdgst(queue->rcv_hash, pdu, len); in nvmet_tcp_verify_hdgst()
815 struct crypto_ahash *tfm = crypto_ahash_reqtfm(queue->rcv_hash); in nvmet_tcp_free_crypto()
817 ahash_request_free(queue->rcv_hash); in nvmet_tcp_free_crypto()
835 queue->rcv_hash = ahash_request_alloc(tfm, GFP_KERNEL); in nvmet_tcp_alloc_crypto()
836 if (!queue->rcv_hash) in nvmet_tcp_alloc_crypto()
838 ahash_request_set_callback(queue->rcv_hash, 0, NULL, NULL); in nvmet_tcp_alloc_crypto()
1140 nvmet_tcp_recv_ddgst(queue->rcv_hash, cmd); in nvmet_tcp_prep_recv_ddgst()
/drivers/nvme/host/
Dtcp.c142 struct ahash_request *rcv_hash; member
417 nvme_tcp_hdgst(queue->rcv_hash, pdu, pdu_len); in nvme_tcp_verify_hdgst()
444 crypto_ahash_init(queue->rcv_hash); in nvme_tcp_check_ddgst()
787 &req->iter, recv_len, queue->rcv_hash); in nvme_tcp_recv_data()
805 nvme_tcp_ddgst_final(queue->rcv_hash, &queue->exp_ddgst); in nvme_tcp_recv_data()
1219 struct crypto_ahash *tfm = crypto_ahash_reqtfm(queue->rcv_hash); in nvme_tcp_free_crypto()
1221 ahash_request_free(queue->rcv_hash); in nvme_tcp_free_crypto()
1239 queue->rcv_hash = ahash_request_alloc(tfm, GFP_KERNEL); in nvme_tcp_alloc_crypto()
1240 if (!queue->rcv_hash) in nvme_tcp_alloc_crypto()
1242 ahash_request_set_callback(queue->rcv_hash, 0, NULL, NULL); in nvme_tcp_alloc_crypto()