Lines Matching refs:assoclen

236 				       areq->cryptlen, areq->assoclen);  in cc_aead_complete()
736 areq_ctx->assoclen, NS_BIT); in cc_set_assoc_desc()
1089 if (areq_ctx->assoclen > 0) in cc_proc_header_desc()
1317 unsigned int assoclen = areq_ctx->assoclen; in validate_data_size() local
1340 if (!IS_ALIGNED(assoclen, sizeof(u32))) in validate_data_size()
1351 if (!IS_ALIGNED(assoclen, DES_BLOCK_SIZE)) in validate_data_size()
1476 if (req_ctx->assoclen > 0) { in cc_ccm()
1568 if (req_ctx->assoclen > 0) in config_ccm_adata()
1579 req_ctx->ccm_hdr_size = format_ccm_a0(a0, req_ctx->assoclen); in config_ccm_adata()
1818 if (req_ctx->assoclen > 0) in cc_gcm()
1843 __func__, cryptlen, req_ctx->assoclen, ctx->authsize); in config_gcm_context()
1859 temp64 = cpu_to_be64(req_ctx->assoclen * 8); in config_gcm_context()
1869 temp64 = cpu_to_be64((req_ctx->assoclen + cryptlen) * 8); in config_gcm_context()
1913 req->cryptlen, areq_ctx->assoclen); in cc_proc_aead()
2029 areq_ctx->assoclen = req->assoclen; in cc_aead_encrypt()
2045 rc = crypto_ipsec_check_assoclen(req->assoclen); in cc_rfc4309_ccm_encrypt()
2053 areq_ctx->assoclen = req->assoclen - CCM_BLOCK_IV_SIZE; in cc_rfc4309_ccm_encrypt()
2073 areq_ctx->assoclen = req->assoclen; in cc_aead_decrypt()
2087 rc = crypto_ipsec_check_assoclen(req->assoclen); in cc_rfc4309_ccm_decrypt()
2095 areq_ctx->assoclen = req->assoclen - CCM_BLOCK_IV_SIZE; in cc_rfc4309_ccm_decrypt()
2199 rc = crypto_ipsec_check_assoclen(req->assoclen); in cc_rfc4106_gcm_encrypt()
2207 areq_ctx->assoclen = req->assoclen - GCM_BLOCK_RFC4_IV_SIZE; in cc_rfc4106_gcm_encrypt()
2223 rc = crypto_ipsec_check_assoclen(req->assoclen); in cc_rfc4543_gcm_encrypt()
2234 areq_ctx->assoclen = req->assoclen; in cc_rfc4543_gcm_encrypt()
2250 rc = crypto_ipsec_check_assoclen(req->assoclen); in cc_rfc4106_gcm_decrypt()
2258 areq_ctx->assoclen = req->assoclen - GCM_BLOCK_RFC4_IV_SIZE; in cc_rfc4106_gcm_decrypt()
2274 rc = crypto_ipsec_check_assoclen(req->assoclen); in cc_rfc4543_gcm_decrypt()
2285 areq_ctx->assoclen = req->assoclen; in cc_rfc4543_gcm_decrypt()