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);
124 struct crypto_ahash *auth = ctx->auth;
126 crypto_ahash_alignmask(auth) + 1);
145 ahash_request_set_tfm(ahreq, auth);
226 struct crypto_ahash *auth = ctx->auth;
228 crypto_ahash_alignmask(auth) + 1);
232 u8 *ihash = ohash + crypto_ahash_digestsize(auth);
274 struct crypto_ahash *auth = ctx->auth;
276 crypto_ahash_alignmask(auth) + 1);
279 u8 *ihash = ohash + crypto_ahash_digestsize(auth);
306 ahash_request_set_tfm(ahreq, auth);
324 struct crypto_ahash *auth;
329 auth = crypto_spawn_ahash(&ictx->auth);
330 if (IS_ERR(auth))
331 return PTR_ERR(auth);
343 ctx->auth = auth;
347 ctx->reqoff = ALIGN(2 * crypto_ahash_digestsize(auth),
348 crypto_ahash_alignmask(auth) + 1);
355 crypto_ahash_reqsize(auth) +
365 crypto_free_ahash(auth);
373 crypto_free_ahash(ctx->auth);
383 crypto_drop_ahash(&ctx->auth);
393 struct hash_alg_common *auth;
407 err = crypto_grab_ahash(&ctx->auth, aead_crypto_instance(inst),
411 auth = crypto_spawn_ahash_alg(&ctx->auth);
412 auth_base = &auth->base;
440 inst->alg.maxauthsize = auth->digestsize;