Searched refs:nkreq (Results 1 – 3 of 3) sorted by relevance
235 struct nitrox_kcrypt_request nkreq; member623 struct se_crypto_request *creq = &nkreq->creq; in alloc_src_req_buf()626 if (!nkreq->src) in alloc_src_req_buf()646 char *iv = nkreq->src; in nitrox_creq_set_src_sg()648 struct se_crypto_request *creq = &nkreq->creq; in nitrox_creq_set_src_sg()670 struct se_crypto_request *creq = &nkreq->creq; in alloc_dst_req_buf()673 if (!nkreq->dst) in alloc_dst_req_buf()683 creq->orh = (u64 *)(nkreq->dst); in nitrox_creq_set_orh()691 creq->comp = (u64 *)(nkreq->dst + ORH_HLEN); in nitrox_creq_set_comp()706 char *iv = nkreq->src; in nitrox_creq_set_dst_sg()[all …]
130 ret = alloc_dst_req_buf(nkreq, nents); in alloc_dst_sglist()134 nitrox_creq_set_orh(nkreq); in alloc_dst_sglist()135 nitrox_creq_set_comp(nkreq); in alloc_dst_sglist()143 kfree(nkreq->src); in free_src_sglist()148 kfree(nkreq->dst); in free_dst_sglist()183 free_src_sglist(&rctx->nkreq); in nitrox_set_creq()195 free_src_sglist(&rctx->nkreq); in nitrox_aead_callback()196 free_dst_sglist(&rctx->nkreq); in nitrox_aead_callback()428 struct nitrox_kcrypt_request *nkreq = &rctx->base.nkreq; in nitrox_rfc4106_callback() local430 free_src_sglist(nkreq); in nitrox_rfc4106_callback()[all …]
55 kfree(nkreq->src); in free_src_sglist()62 kfree(nkreq->dst); in free_dst_sglist()92 if (nkreq->creq.ctrl.s.arg == ENCRYPT) { in nitrox_cbc_cipher_callback()100 memcpy(skreq->iv, nkreq->iv_out, ivsize); in nitrox_cbc_cipher_callback()101 kfree(nkreq->iv_out); in nitrox_cbc_cipher_callback()235 ret = alloc_dst_req_buf(nkreq, nents); in alloc_dst_sglist()239 nitrox_creq_set_orh(nkreq); in alloc_dst_sglist()240 nitrox_creq_set_comp(nkreq); in alloc_dst_sglist()256 creq = &nkreq->creq; in nitrox_skcipher_crypt()302 nkreq->iv_out = kmalloc(ivsize, flags); in nitrox_cbc_decrypt()[all …]
Completed in 17 milliseconds