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);
121 struct crypto_ahash *auth = ctx->auth;
141 ahash_request_set_tfm(ahreq, auth);
222 struct crypto_ahash *auth = ctx->auth;
227 u8 *ihash = ohash + crypto_ahash_digestsize(auth);
269 struct crypto_ahash *auth = ctx->auth;
273 u8 *ihash = ohash + crypto_ahash_digestsize(auth);
300 ahash_request_set_tfm(ahreq, auth);
318 struct crypto_ahash *auth;
323 auth = crypto_spawn_ahash(&ictx->auth);
324 if (IS_ERR(auth))
325 return PTR_ERR(auth);
337 ctx->auth = auth;
341 ctx->reqoff = 2 * crypto_ahash_digestsize(auth);
348 crypto_ahash_reqsize(auth) +
358 crypto_free_ahash(auth);
366 crypto_free_ahash(ctx->auth);
376 crypto_drop_ahash(&ctx->auth);
387 struct hash_alg_common *auth;
400 err = crypto_grab_ahash(&ctx->auth, aead_crypto_instance(inst),
404 auth = crypto_spawn_ahash_alg(&ctx->auth);
405 auth_base = &auth->base;
432 inst->alg.maxauthsize = auth->digestsize;