Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/nvme/target/
Dtcp.c129 struct ahash_request *rcv_hash; member
270 nvmet_tcp_hdgst(queue->rcv_hash, pdu, len); in nvmet_tcp_verify_hdgst()
791 struct crypto_ahash *tfm = crypto_ahash_reqtfm(queue->rcv_hash); in nvmet_tcp_free_crypto()
793 ahash_request_free(queue->rcv_hash); in nvmet_tcp_free_crypto()
811 queue->rcv_hash = ahash_request_alloc(tfm, GFP_KERNEL); in nvmet_tcp_alloc_crypto()
812 if (!queue->rcv_hash) in nvmet_tcp_alloc_crypto()
814 ahash_request_set_callback(queue->rcv_hash, 0, NULL, NULL); in nvmet_tcp_alloc_crypto()
1121 nvmet_tcp_calc_ddgst(queue->rcv_hash, cmd); in nvmet_tcp_prep_recv_ddgst()
/Linux-v6.1/drivers/nvme/host/
Dtcp.c144 struct ahash_request *rcv_hash; member
421 nvme_tcp_hdgst(queue->rcv_hash, pdu, pdu_len); in nvme_tcp_verify_hdgst()
448 crypto_ahash_init(queue->rcv_hash); in nvme_tcp_check_ddgst()
793 &req->iter, recv_len, queue->rcv_hash); in nvme_tcp_recv_data()
811 nvme_tcp_ddgst_final(queue->rcv_hash, &queue->exp_ddgst); in nvme_tcp_recv_data()
1242 struct crypto_ahash *tfm = crypto_ahash_reqtfm(queue->rcv_hash); in nvme_tcp_free_crypto()
1244 ahash_request_free(queue->rcv_hash); in nvme_tcp_free_crypto()
1262 queue->rcv_hash = ahash_request_alloc(tfm, GFP_KERNEL); in nvme_tcp_alloc_crypto()
1263 if (!queue->rcv_hash) in nvme_tcp_alloc_crypto()
1265 ahash_request_set_callback(queue->rcv_hash, 0, NULL, NULL); in nvme_tcp_alloc_crypto()