Lines Matching refs:aead

9 #include <crypto/internal/aead.h>
44 struct crypto_aead_spawn aead;
92 static int crypto_gcm_setkey(struct crypto_aead *aead, const u8 *key,
95 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(aead);
110 crypto_skcipher_set_flags(ctr, crypto_aead_get_flags(aead) &
138 crypto_ahash_set_flags(ghash, crypto_aead_get_flags(aead) &
180 struct crypto_aead *aead = crypto_aead_reqtfm(req);
181 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(aead);
412 struct crypto_aead *aead = crypto_aead_reqtfm(req);
418 crypto_aead_authsize(aead), 1);
466 struct crypto_aead *aead = crypto_aead_reqtfm(req);
469 unsigned int authsize = crypto_aead_authsize(aead);
501 struct crypto_aead *aead = crypto_aead_reqtfm(req);
504 unsigned int authsize = crypto_aead_authsize(aead);
723 struct crypto_aead *aead = crypto_aead_reqtfm(req);
724 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(aead);
792 struct crypto_aead *aead;
795 aead = crypto_spawn_aead(spawn);
796 if (IS_ERR(aead))
797 return PTR_ERR(aead);
799 ctx->child = aead;
801 align = crypto_aead_alignmask(aead);
806 ALIGN(crypto_aead_reqsize(aead), crypto_tfm_ctx_alignment()) +
928 struct crypto_aead *aead = crypto_aead_reqtfm(req);
929 struct crypto_rfc4543_ctx *ctx = crypto_aead_ctx(aead);
932 unsigned int authsize = crypto_aead_authsize(aead);
959 struct crypto_aead *aead = crypto_aead_reqtfm(req);
960 struct crypto_rfc4543_ctx *ctx = crypto_aead_ctx(aead);
961 unsigned int authsize = crypto_aead_authsize(aead);
989 struct crypto_aead_spawn *spawn = &ictx->aead;
991 struct crypto_aead *aead;
996 aead = crypto_spawn_aead(spawn);
997 if (IS_ERR(aead))
998 return PTR_ERR(aead);
1005 ctx->child = aead;
1008 align = crypto_aead_alignmask(aead);
1013 ALIGN(crypto_aead_reqsize(aead), crypto_tfm_ctx_alignment()) +
1019 crypto_free_aead(aead);
1035 crypto_drop_aead(&ctx->aead);
1058 err = crypto_grab_aead(&ctx->aead, aead_crypto_instance(inst),
1063 alg = crypto_spawn_aead_alg(&ctx->aead);