Lines Matching refs:assoclen
236 areq->cryptlen, areq->assoclen);
736 areq_ctx->assoclen, NS_BIT);
794 * if assoclen is ZERO only IV perform
1089 if (areq_ctx->assoclen > 0)
1317 unsigned int assoclen = areq_ctx->assoclen;
1340 if (!IS_ALIGNED(assoclen, sizeof(u32)))
1351 if (!IS_ALIGNED(assoclen, DES_BLOCK_SIZE))
1476 if (req_ctx->assoclen > 0) {
1568 if (req_ctx->assoclen > 0)
1579 req_ctx->ccm_hdr_size = format_ccm_a0(a0, req_ctx->assoclen);
1818 if (req_ctx->assoclen > 0)
1842 dev_dbg(dev, "%s() cryptlen = %d, req_ctx->assoclen = %d ctx->authsize = %d\n",
1843 __func__, cryptlen, req_ctx->assoclen, ctx->authsize);
1859 temp64 = cpu_to_be64(req_ctx->assoclen * 8);
1869 temp64 = cpu_to_be64((req_ctx->assoclen + cryptlen) * 8);
1913 req->cryptlen, areq_ctx->assoclen);
2029 areq_ctx->assoclen = req->assoclen;
2045 rc = crypto_ipsec_check_assoclen(req->assoclen);
2053 areq_ctx->assoclen = req->assoclen - CCM_BLOCK_IV_SIZE;
2073 areq_ctx->assoclen = req->assoclen;
2087 rc = crypto_ipsec_check_assoclen(req->assoclen);
2095 areq_ctx->assoclen = req->assoclen - CCM_BLOCK_IV_SIZE;
2199 rc = crypto_ipsec_check_assoclen(req->assoclen);
2207 areq_ctx->assoclen = req->assoclen - GCM_BLOCK_RFC4_IV_SIZE;
2223 rc = crypto_ipsec_check_assoclen(req->assoclen);
2234 areq_ctx->assoclen = req->assoclen;
2250 rc = crypto_ipsec_check_assoclen(req->assoclen);
2258 areq_ctx->assoclen = req->assoclen - GCM_BLOCK_RFC4_IV_SIZE;
2274 rc = crypto_ipsec_check_assoclen(req->assoclen);
2285 areq_ctx->assoclen = req->assoclen;