Lines Matching refs:assoclen
64 dd->aead_req->assoclen, dd->total, in omap_aes_gcm_done_task()
70 dd->total + dd->aead_req->assoclen, in omap_aes_gcm_done_task()
94 int alen, clen, cryptlen, assoclen, ret; in omap_aes_gcm_copy_buffers() local
101 assoclen = req->assoclen; in omap_aes_gcm_copy_buffers()
105 assoclen -= 8; in omap_aes_gcm_copy_buffers()
110 alen = ALIGN(assoclen, AES_BLOCK_SIZE); in omap_aes_gcm_copy_buffers()
113 nsg = !!(assoclen && cryptlen); in omap_aes_gcm_copy_buffers()
118 if (assoclen) { in omap_aes_gcm_copy_buffers()
120 ret = omap_crypto_align_sg(&tmp, assoclen, in omap_aes_gcm_copy_buffers()
132 tmp = scatterwalk_ffwd(sg_arr, req->src, req->assoclen); in omap_aes_gcm_copy_buffers()
150 dd->assoc_len = assoclen; in omap_aes_gcm_copy_buffers()
156 dd->out_sg = scatterwalk_ffwd(sg_arr, req->dst, req->assoclen); in omap_aes_gcm_copy_buffers()
194 dd->total + dd->aead_req->assoclen, in omap_aes_gcm_dma_out_callback()
246 int err, assoclen; in omap_aes_gcm_crypt() local
256 assoclen = req->assoclen - 8; in omap_aes_gcm_crypt()
258 assoclen = req->assoclen; in omap_aes_gcm_crypt()
259 if (assoclen + req->cryptlen == 0) { in omap_aes_gcm_crypt()
296 return crypto_ipsec_check_assoclen(req->assoclen) ?: in omap_aes_4106gcm_encrypt()
308 return crypto_ipsec_check_assoclen(req->assoclen) ?: in omap_aes_4106gcm_decrypt()