Lines Matching defs:auth
25 struct crypto_ahash_spawn auth;
31 struct crypto_ahash *auth;
60 struct crypto_ahash *auth = ctx->auth;
68 crypto_ahash_clear_flags(auth, CRYPTO_TFM_REQ_MASK);
69 crypto_ahash_set_flags(auth, crypto_aead_get_flags(authenc_esn) &
71 err = crypto_ahash_setkey(auth, keys.authkey, keys.authkeylen);
119 struct crypto_ahash *auth = ctx->auth;
139 ahash_request_set_tfm(ahreq, auth);
206 struct crypto_ahash *auth = ctx->auth;
212 u8 *ihash = ohash + crypto_ahash_digestsize(auth);
260 struct crypto_ahash *auth = ctx->auth;
264 u8 *ihash = ohash + crypto_ahash_digestsize(auth);
295 ahash_request_set_tfm(ahreq, auth);
313 struct crypto_ahash *auth;
317 auth = crypto_spawn_ahash(&ictx->auth);
318 if (IS_ERR(auth))
319 return PTR_ERR(auth);
326 ctx->auth = auth;
329 ctx->reqoff = 2 * crypto_ahash_digestsize(auth);
336 crypto_ahash_reqsize(auth) +
344 crypto_free_ahash(auth);
352 crypto_free_ahash(ctx->auth);
361 crypto_drop_ahash(&ctx->auth);
372 struct hash_alg_common *auth;
385 err = crypto_grab_ahash(&ctx->auth, aead_crypto_instance(inst),
389 auth = crypto_spawn_ahash_alg(&ctx->auth);
390 auth_base = &auth->base;
392 if (auth->digestsize > 0 && auth->digestsize < 4) {
422 inst->alg.maxauthsize = auth->digestsize;