Lines Matching defs:authenc
57 #include <crypto/authenc.h>
120 return gctx->ctx->authenc;
3550 static int chcr_authenc_setkey(struct crypto_aead *authenc, const u8 *key,
3553 struct chcr_aead_ctx *aeadctx = AEAD_CTX(a_ctx(authenc));
3558 unsigned int max_authsize = crypto_aead_alg(authenc)->maxauthsize;
3568 crypto_aead_set_flags(aeadctx->sw_cipher, crypto_aead_get_flags(authenc)
3581 subtype = get_aead_subtype(authenc);
3678 static int chcr_aead_digest_null_setkey(struct crypto_aead *authenc,
3681 struct chcr_aead_ctx *aeadctx = AEAD_CTX(a_ctx(authenc));
3691 crypto_aead_set_flags(aeadctx->sw_cipher, crypto_aead_get_flags(authenc)
3700 subtype = get_aead_subtype(authenc);
4136 .cra_name = "authenc(hmac(sha1),cbc(aes))",
4138 "authenc-hmac-sha1-cbc-aes-chcr",
4158 .cra_name = "authenc(hmac(sha256),cbc(aes))",
4160 "authenc-hmac-sha256-cbc-aes-chcr",
4179 .cra_name = "authenc(hmac(sha224),cbc(aes))",
4181 "authenc-hmac-sha224-cbc-aes-chcr",
4199 .cra_name = "authenc(hmac(sha384),cbc(aes))",
4201 "authenc-hmac-sha384-cbc-aes-chcr",
4220 .cra_name = "authenc(hmac(sha512),cbc(aes))",
4222 "authenc-hmac-sha512-cbc-aes-chcr",
4241 .cra_name = "authenc(digest_null,cbc(aes))",
4243 "authenc-digest_null-cbc-aes-chcr",
4262 .cra_name = "authenc(hmac(sha1),rfc3686(ctr(aes)))",
4264 "authenc-hmac-sha1-rfc3686-ctr-aes-chcr",
4284 .cra_name = "authenc(hmac(sha256),rfc3686(ctr(aes)))",
4286 "authenc-hmac-sha256-rfc3686-ctr-aes-chcr",
4305 .cra_name = "authenc(hmac(sha224),rfc3686(ctr(aes)))",
4307 "authenc-hmac-sha224-rfc3686-ctr-aes-chcr",
4325 .cra_name = "authenc(hmac(sha384),rfc3686(ctr(aes)))",
4327 "authenc-hmac-sha384-rfc3686-ctr-aes-chcr",
4346 .cra_name = "authenc(hmac(sha512),rfc3686(ctr(aes)))",
4348 "authenc-hmac-sha512-rfc3686-ctr-aes-chcr",
4367 .cra_name = "authenc(digest_null,rfc3686(ctr(aes)))",
4369 "authenc-digest_null-rfc3686-ctr-aes-chcr",