Lines Matching defs:aead
3 * ESSIV skcipher and aead template for block encryption
17 * we need to instantiate an aead that accepts the same special key format
19 * embedded into the AAD area of the aead request. This means the AEAD
32 #include <crypto/internal/aead.h>
53 struct crypto_aead *aead;
102 crypto_aead_clear_flags(tctx->u.aead, CRYPTO_TFM_REQ_MASK);
103 crypto_aead_set_flags(tctx->u.aead, crypto_aead_get_flags(tfm) &
105 err = crypto_aead_setkey(tctx->u.aead, key, keylen);
131 return crypto_aead_setauthsize(tctx->u.aead, authsize);
246 aead_request_set_tfm(subreq, tctx->u.aead);
327 struct crypto_aead *aead;
334 aead = crypto_spawn_aead(&ictx->u.aead_spawn);
335 if (IS_ERR(aead))
336 return PTR_ERR(aead);
339 crypto_aead_reqsize(aead);
343 crypto_aead_set_reqsize(tfm, tctx->ivoffset + crypto_aead_ivsize(aead));
347 crypto_free_aead(aead);
351 tctx->u.aead = aead;
368 crypto_free_aead(tctx->u.aead);
649 MODULE_DESCRIPTION("ESSIV skcipher/aead wrapper for block encryption");