Lines Matching refs:assoclen
207 sg = scatterwalk_ffwd(pctx->src + 1, req->src, req->assoclen); in crypto_gcm_init_common()
214 sg = scatterwalk_ffwd(pctx->dst + 1, req->dst, req->assoclen); in crypto_gcm_init_common()
273 lengths.a = cpu_to_be64(req->assoclen * 8); in gcm_hash_len()
392 remain = gcm_remain(req->assoclen); in gcm_hash_assoc_continue()
418 if (req->assoclen) in gcm_hash_init_continue()
420 req->src, req->assoclen, flags) ?: in gcm_hash_init_continue()
462 req->assoclen + req->cryptlen, in gcm_enc_copy_hash()
519 req->assoclen + cryptlen, authsize, 0); in crypto_gcm_verify()
834 scatterwalk_map_and_copy(iv + 12, req->src, 0, req->assoclen - 8, 0); in crypto_rfc4106_crypt()
840 sg_set_buf(rctx->src, iv + 12, req->assoclen - 8); in crypto_rfc4106_crypt()
841 sg = scatterwalk_ffwd(rctx->src + 1, req->src, req->assoclen); in crypto_rfc4106_crypt()
847 sg_set_buf(rctx->dst, iv + 12, req->assoclen - 8); in crypto_rfc4106_crypt()
848 sg = scatterwalk_ffwd(rctx->dst + 1, req->dst, req->assoclen); in crypto_rfc4106_crypt()
859 aead_request_set_ad(subreq, req->assoclen - 8); in crypto_rfc4106_crypt()
866 if (req->assoclen != 16 && req->assoclen != 20) in crypto_rfc4106_encrypt()
876 if (req->assoclen != 16 && req->assoclen != 20) in crypto_rfc4106_decrypt()
1074 aead_request_set_ad(subreq, req->assoclen + req->cryptlen - in crypto_rfc4543_crypt()
1085 unsigned int nbytes = req->assoclen + req->cryptlen - in crypto_rfc4543_copy_src_to_dst()