Lines Matching refs:cryptlen
91 int alen, clen, cryptlen, assoclen, ret; in omap_aes_gcm_copy_buffers() local
99 cryptlen = req->cryptlen; in omap_aes_gcm_copy_buffers()
105 cryptlen -= authlen; in omap_aes_gcm_copy_buffers()
108 clen = ALIGN(cryptlen, AES_BLOCK_SIZE); in omap_aes_gcm_copy_buffers()
110 nsg = !!(assoclen && cryptlen); in omap_aes_gcm_copy_buffers()
128 if (cryptlen) { in omap_aes_gcm_copy_buffers()
134 ret = omap_crypto_align_sg(&tmp, cryptlen, in omap_aes_gcm_copy_buffers()
146 dd->total = cryptlen; in omap_aes_gcm_copy_buffers()
159 if (cryptlen) { in omap_aes_gcm_copy_buffers()
160 ret = omap_crypto_align_sg(&dd->out_sg, cryptlen, in omap_aes_gcm_copy_buffers()
258 if (assoclen + req->cryptlen == 0) { in omap_aes_gcm_crypt()