Lines Matching defs:authenc

58 #include <crypto/authenc.h>
121 return gctx->ctx->authenc;
3546 static int chcr_authenc_setkey(struct crypto_aead *authenc, const u8 *key,
3549 struct chcr_aead_ctx *aeadctx = AEAD_CTX(a_ctx(authenc));
3554 unsigned int max_authsize = crypto_aead_alg(authenc)->maxauthsize;
3564 crypto_aead_set_flags(aeadctx->sw_cipher, crypto_aead_get_flags(authenc)
3577 subtype = get_aead_subtype(authenc);
3674 static int chcr_aead_digest_null_setkey(struct crypto_aead *authenc,
3677 struct chcr_aead_ctx *aeadctx = AEAD_CTX(a_ctx(authenc));
3687 crypto_aead_set_flags(aeadctx->sw_cipher, crypto_aead_get_flags(authenc)
3696 subtype = get_aead_subtype(authenc);
4132 .cra_name = "authenc(hmac(sha1),cbc(aes))",
4134 "authenc-hmac-sha1-cbc-aes-chcr",
4154 .cra_name = "authenc(hmac(sha256),cbc(aes))",
4156 "authenc-hmac-sha256-cbc-aes-chcr",
4175 .cra_name = "authenc(hmac(sha224),cbc(aes))",
4177 "authenc-hmac-sha224-cbc-aes-chcr",
4195 .cra_name = "authenc(hmac(sha384),cbc(aes))",
4197 "authenc-hmac-sha384-cbc-aes-chcr",
4216 .cra_name = "authenc(hmac(sha512),cbc(aes))",
4218 "authenc-hmac-sha512-cbc-aes-chcr",
4237 .cra_name = "authenc(digest_null,cbc(aes))",
4239 "authenc-digest_null-cbc-aes-chcr",
4258 .cra_name = "authenc(hmac(sha1),rfc3686(ctr(aes)))",
4260 "authenc-hmac-sha1-rfc3686-ctr-aes-chcr",
4280 .cra_name = "authenc(hmac(sha256),rfc3686(ctr(aes)))",
4282 "authenc-hmac-sha256-rfc3686-ctr-aes-chcr",
4301 .cra_name = "authenc(hmac(sha224),rfc3686(ctr(aes)))",
4303 "authenc-hmac-sha224-rfc3686-ctr-aes-chcr",
4321 .cra_name = "authenc(hmac(sha384),rfc3686(ctr(aes)))",
4323 "authenc-hmac-sha384-rfc3686-ctr-aes-chcr",
4342 .cra_name = "authenc(hmac(sha512),rfc3686(ctr(aes)))",
4344 "authenc-hmac-sha512-rfc3686-ctr-aes-chcr",
4363 .cra_name = "authenc(digest_null,rfc3686(ctr(aes)))",
4365 "authenc-digest_null-rfc3686-ctr-aes-chcr",