Lines Matching refs:cryptlen
480 if (req->cryptlen < ivsize)
485 req->cryptlen - ivsize, ivsize, 0);
945 bool use_dma = (req->cryptlen >= ATMEL_AES_DMA_THRESHOLD ||
958 req->cryptlen,
961 return atmel_aes_cpu_start(dd, req->src, req->dst, req->cryptlen,
977 if (ctx->offset >= req->cryptlen)
981 datalen = req->cryptlen - ctx->offset;
1050 req->cryptlen, req->iv);
1064 if (req->cryptlen < XTS_BLOCK_SIZE)
1067 if (!IS_ALIGNED(req->cryptlen, XTS_BLOCK_SIZE))
1076 if (!req->cryptlen && opmode != AES_FLAGS_XTS)
1080 !IS_ALIGNED(req->cryptlen, crypto_skcipher_blocksize(skcipher)))
1093 if (req->cryptlen >= ivsize)
1095 req->cryptlen - ivsize,
1353 ctx->textlen = req->cryptlen - (enc ? 0 : authsize);
1643 bool use_dma = (req->cryptlen >= ATMEL_AES_DMA_THRESHOLD);
1665 req->cryptlen,
1668 return atmel_aes_cpu_start(dd, req->src, req->dst, req->cryptlen,
2000 if (!enc && req->cryptlen < authsize)
2002 rctx->textlen = req->cryptlen - (enc ? 0 : authsize);