Lines Matching defs:aead
20 #include <crypto/aead.h>
327 struct crypto_aead *aead = crypto_aead_reqtfm(req);
330 if (aead->authsize & 3)
356 aead_request_set_tfm(subreq, ctx->sw_cipher.aead);
371 crypto_aead_clear_flags(ctx->sw_cipher.aead, CRYPTO_TFM_REQ_MASK);
372 crypto_aead_set_flags(ctx->sw_cipher.aead,
374 return crypto_aead_setkey(ctx->sw_cipher.aead, key, keylen);
445 struct crypto_aead *aead = crypto_aead_reqtfm(req);
452 len -= crypto_aead_authsize(aead);
458 sa->sa_command_0.bf.digest_len = crypto_aead_authsize(aead) >> 2;
489 return crypto_aead_setauthsize(ctx->sw_cipher.aead, authsize);