Lines Matching refs:assoclen
170 sg = scatterwalk_ffwd(pctx->src + 1, req->src, req->assoclen); in crypto_gcm_init_common()
177 sg = scatterwalk_ffwd(pctx->dst + 1, req->dst, req->assoclen); in crypto_gcm_init_common()
236 lengths.a = cpu_to_be64(req->assoclen * 8); in gcm_hash_len()
355 remain = gcm_remain(req->assoclen); in gcm_hash_assoc_continue()
381 if (req->assoclen) in gcm_hash_init_continue()
383 req->src, req->assoclen, flags) ?: in gcm_hash_init_continue()
425 req->assoclen + req->cryptlen, in gcm_enc_copy_hash()
482 req->assoclen + cryptlen, authsize, 0); in crypto_gcm_verify()
772 scatterwalk_map_and_copy(iv + GCM_AES_IV_SIZE, req->src, 0, req->assoclen - 8, 0); in crypto_rfc4106_crypt()
778 sg_set_buf(rctx->src, iv + GCM_AES_IV_SIZE, req->assoclen - 8); in crypto_rfc4106_crypt()
779 sg = scatterwalk_ffwd(rctx->src + 1, req->src, req->assoclen); in crypto_rfc4106_crypt()
785 sg_set_buf(rctx->dst, iv + GCM_AES_IV_SIZE, req->assoclen - 8); in crypto_rfc4106_crypt()
786 sg = scatterwalk_ffwd(rctx->dst + 1, req->dst, req->assoclen); in crypto_rfc4106_crypt()
797 aead_request_set_ad(subreq, req->assoclen - 8); in crypto_rfc4106_crypt()
806 err = crypto_ipsec_check_assoclen(req->assoclen); in crypto_rfc4106_encrypt()
819 err = crypto_ipsec_check_assoclen(req->assoclen); in crypto_rfc4106_decrypt()
1013 aead_request_set_ad(subreq, req->assoclen + req->cryptlen - in crypto_rfc4543_crypt()
1024 unsigned int nbytes = req->assoclen + req->cryptlen - in crypto_rfc4543_copy_src_to_dst()
1037 return crypto_ipsec_check_assoclen(req->assoclen) ?: in crypto_rfc4543_encrypt()
1043 return crypto_ipsec_check_assoclen(req->assoclen) ?: in crypto_rfc4543_decrypt()