Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/nvme/target/
Dtcp.c156 struct ahash_request *rcv_hash; member
297 nvmet_tcp_hdgst(queue->rcv_hash, pdu, len); in nvmet_tcp_verify_hdgst()
830 struct crypto_ahash *tfm = crypto_ahash_reqtfm(queue->rcv_hash); in nvmet_tcp_free_crypto()
832 ahash_request_free(queue->rcv_hash); in nvmet_tcp_free_crypto()
850 queue->rcv_hash = ahash_request_alloc(tfm, GFP_KERNEL); in nvmet_tcp_alloc_crypto()
851 if (!queue->rcv_hash) in nvmet_tcp_alloc_crypto()
853 ahash_request_set_callback(queue->rcv_hash, 0, NULL, NULL); in nvmet_tcp_alloc_crypto()
1156 nvmet_tcp_calc_ddgst(queue->rcv_hash, cmd); in nvmet_tcp_prep_recv_ddgst()
/Linux-v6.6/drivers/nvme/host/
Dtcp.c145 struct ahash_request *rcv_hash; member
434 nvme_tcp_hdgst(queue->rcv_hash, pdu, pdu_len); in nvme_tcp_verify_hdgst()
461 crypto_ahash_init(queue->rcv_hash); in nvme_tcp_check_ddgst()
806 &req->iter, recv_len, queue->rcv_hash); in nvme_tcp_recv_data()
824 nvme_tcp_ddgst_final(queue->rcv_hash, &queue->exp_ddgst); in nvme_tcp_recv_data()
1265 struct crypto_ahash *tfm = crypto_ahash_reqtfm(queue->rcv_hash); in nvme_tcp_free_crypto()
1267 ahash_request_free(queue->rcv_hash); in nvme_tcp_free_crypto()
1285 queue->rcv_hash = ahash_request_alloc(tfm, GFP_KERNEL); in nvme_tcp_alloc_crypto()
1286 if (!queue->rcv_hash) in nvme_tcp_alloc_crypto()
1288 ahash_request_set_callback(queue->rcv_hash, 0, NULL, NULL); in nvme_tcp_alloc_crypto()