Lines Matching refs:cryptlen

71 		totallen = req->cryptlen + req->assoclen;  in qce_aead_done()
80 totallen = req->cryptlen + req->assoclen - ctx->authsize; in qce_aead_done()
124 totallen = rctx->cryptlen + assoclen; in qce_aead_prepare_dst_buf()
152 sg = qce_sgtable_add(&rctx->dst_tbl, msg_sg, rctx->cryptlen); in qce_aead_prepare_dst_buf()
157 totallen = rctx->cryptlen + rctx->assoclen; in qce_aead_prepare_dst_buf()
192 unsigned int adata_header_len, cryptlen, totallen; in qce_aead_ccm_prepare_buf_assoclen() local
198 cryptlen = rctx->cryptlen + ctx->authsize; in qce_aead_ccm_prepare_buf_assoclen()
200 cryptlen = rctx->cryptlen; in qce_aead_ccm_prepare_buf_assoclen()
201 totallen = cryptlen + req->assoclen; in qce_aead_ccm_prepare_buf_assoclen()
257 sg = qce_sgtable_add(&rctx->src_tbl, msg_sg, cryptlen); in qce_aead_ccm_prepare_buf_assoclen()
278 totallen = cryptlen + rctx->assoclen; in qce_aead_ccm_prepare_buf_assoclen()
310 totallen = rctx->cryptlen + rctx->assoclen; in qce_aead_prepare_buf()
336 unsigned int cryptlen; in qce_aead_ccm_prepare_buf() local
344 cryptlen = rctx->cryptlen + ctx->authsize; in qce_aead_ccm_prepare_buf()
346 rctx->src_nents = sg_nents_for_len(req->src, cryptlen); in qce_aead_ccm_prepare_buf()
352 rctx->src_nents = sg_nents_for_len(req->src, cryptlen); in qce_aead_ccm_prepare_buf()
394 memcpy(&msg_len[0], &rctx->cryptlen, 4); in qce_aead_create_ccm_nonce()
514 rctx->cryptlen = req->cryptlen; in qce_aead_crypt()
516 rctx->cryptlen = req->cryptlen - ctx->authsize; in qce_aead_crypt()
519 if (!rctx->cryptlen) { in qce_aead_crypt()
533 req->dst, req->cryptlen, req->iv); in qce_aead_crypt()
544 if (IS_CBC(rctx->flags) && !IS_ALIGNED(rctx->cryptlen, blocksize)) in qce_aead_crypt()