Lines Matching refs:cryptlen
94 int alen, clen, cryptlen, assoclen, ret; in omap_aes_gcm_copy_buffers() local
102 cryptlen = req->cryptlen; in omap_aes_gcm_copy_buffers()
108 cryptlen -= authlen; in omap_aes_gcm_copy_buffers()
111 clen = ALIGN(cryptlen, AES_BLOCK_SIZE); in omap_aes_gcm_copy_buffers()
113 nsg = !!(assoclen && cryptlen); in omap_aes_gcm_copy_buffers()
131 if (cryptlen) { in omap_aes_gcm_copy_buffers()
137 ret = omap_crypto_align_sg(&tmp, cryptlen, in omap_aes_gcm_copy_buffers()
149 dd->total = cryptlen; in omap_aes_gcm_copy_buffers()
162 if (cryptlen) { in omap_aes_gcm_copy_buffers()
163 ret = omap_crypto_align_sg(&dd->out_sg, cryptlen, in omap_aes_gcm_copy_buffers()
259 if (assoclen + req->cryptlen == 0) { in omap_aes_gcm_crypt()