Lines Matching defs:authsize
74 totallen, ctx->authsize, 1);
77 totallen, ctx->authsize, 1);
80 totallen = req->cryptlen + req->assoclen - ctx->authsize;
81 scatterwalk_map_and_copy(tag, req->src, totallen, ctx->authsize, 0);
82 ret = memcmp(result_buf->auth_iv, tag, ctx->authsize);
198 cryptlen = rctx->cryptlen + ctx->authsize;
344 cryptlen = rctx->cryptlen + ctx->authsize;
399 rctx->ccm_nonce[0] |= ((ctx->authsize - 2) / 2) <<
516 rctx->cryptlen = req->cryptlen - ctx->authsize;
651 static int qce_aead_setauthsize(struct crypto_aead *tfm, unsigned int authsize)
657 if (authsize < 4 || authsize > 16 || authsize % 2)
659 if (IS_CCM_RFC4309(flags) && (authsize < 8 || authsize % 4))
662 ctx->authsize = authsize;
664 return crypto_aead_setauthsize(ctx->fallback, authsize);