Lines Matching refs:authenc
16 #include <crypto/authenc.h>
55 static int crypto_authenc_setkey(struct crypto_aead *authenc, const u8 *key,
60 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc);
86 crypto_ahash_set_flags(auth, crypto_aead_get_flags(authenc) &
89 crypto_aead_set_flags(authenc, crypto_ahash_get_flags(auth) &
96 crypto_ablkcipher_set_flags(enc, crypto_aead_get_flags(authenc) &
99 crypto_aead_set_flags(authenc, crypto_ablkcipher_get_flags(enc) &
106 crypto_aead_set_flags(authenc, CRYPTO_TFM_RES_BAD_KEY_LEN);
128 struct crypto_aead *authenc = crypto_aead_reqtfm(req);
129 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc);
148 crypto_aead_authsize(authenc), 1);
157 struct crypto_aead *authenc = crypto_aead_reqtfm(req);
158 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc);
167 crypto_aead_authsize(authenc), 1);
180 struct crypto_aead *authenc = crypto_aead_reqtfm(req);
181 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc);
199 authsize = crypto_aead_authsize(authenc);
229 struct crypto_aead *authenc = crypto_aead_reqtfm(req);
230 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc);
238 authsize = crypto_aead_authsize(authenc);
263 struct crypto_aead *authenc = crypto_aead_reqtfm(req);
264 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc);
302 struct crypto_aead *authenc = crypto_aead_reqtfm(req);
303 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc);
329 struct crypto_aead *authenc = crypto_aead_reqtfm(req);
335 unsigned int ivsize = crypto_aead_ivsize(authenc);
373 crypto_aead_authsize(authenc), 1);
383 struct crypto_aead *authenc = crypto_aead_reqtfm(areq);
384 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc);
397 struct crypto_aead *authenc = crypto_aead_reqtfm(req);
398 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc);
413 memcpy(iv, req->iv, crypto_aead_ivsize(authenc));
438 struct crypto_aead *authenc = aead_givcrypt_reqtfm(req);
439 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc);
462 struct crypto_aead *authenc = crypto_aead_reqtfm(req);
475 authsize = crypto_aead_authsize(authenc);
485 struct crypto_aead *authenc = crypto_aead_reqtfm(req);
491 unsigned int ivsize = crypto_aead_ivsize(authenc);
524 struct crypto_aead *authenc = crypto_aead_reqtfm(req);
525 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc);
528 unsigned int authsize = crypto_aead_authsize(authenc);
650 "authenc(%s,%s)", auth_base->cra_name, enc->cra_name) >=
655 "authenc(%s,%s)", auth_base->cra_driver_name,
705 .name = "authenc",