Lines Matching refs:auth
26 struct crypto_ahash_spawn auth;
32 struct crypto_ahash *auth;
62 struct crypto_ahash *auth = ctx->auth;
70 crypto_ahash_clear_flags(auth, CRYPTO_TFM_REQ_MASK);
71 crypto_ahash_set_flags(auth, crypto_aead_get_flags(authenc_esn) &
73 err = crypto_ahash_setkey(auth, keys.authkey, keys.authkeylen);
92 struct crypto_ahash *auth = ctx->auth;
94 crypto_ahash_alignmask(auth) + 1);
125 struct crypto_ahash *auth = ctx->auth;
127 crypto_ahash_alignmask(auth) + 1);
146 ahash_request_set_tfm(ahreq, auth);
228 struct crypto_ahash *auth = ctx->auth;
230 crypto_ahash_alignmask(auth) + 1);
234 u8 *ihash = ohash + crypto_ahash_digestsize(auth);
277 struct crypto_ahash *auth = ctx->auth;
279 crypto_ahash_alignmask(auth) + 1);
282 u8 *ihash = ohash + crypto_ahash_digestsize(auth);
309 ahash_request_set_tfm(ahreq, auth);
327 struct crypto_ahash *auth;
332 auth = crypto_spawn_ahash(&ictx->auth);
333 if (IS_ERR(auth))
334 return PTR_ERR(auth);
346 ctx->auth = auth;
350 ctx->reqoff = ALIGN(2 * crypto_ahash_digestsize(auth),
351 crypto_ahash_alignmask(auth) + 1);
358 crypto_ahash_reqsize(auth) +
368 crypto_free_ahash(auth);
376 crypto_free_ahash(ctx->auth);
386 crypto_drop_ahash(&ctx->auth);
396 struct hash_alg_common *auth;
410 err = crypto_grab_ahash(&ctx->auth, aead_crypto_instance(inst),
414 auth = crypto_spawn_ahash_alg(&ctx->auth);
415 auth_base = &auth->base;
443 inst->alg.maxauthsize = auth->digestsize;