Lines Matching defs:authenc

8 #include <crypto/authenc.h>
379 case DRV_HASH_NULL: /* Not authenc (e.g., CCM) - no auth_key) */
557 if (ctx->auth_mode != DRV_HASH_NULL) { /* authenc() alg. */
581 } else { /* non-authenc - has just one key */
617 case DRV_HASH_NULL: /* non-authenc modes, e.g., CCM */
620 dev_err(dev, "Unsupported authenc (%d)\n", ctx->auth_mode);
669 static int cc_aead_setauthsize(struct crypto_aead *authenc,
672 struct cc_aead_ctx *ctx = crypto_aead_ctx(authenc);
677 authsize > crypto_aead_maxauthsize(authenc)) {
687 static int cc_rfc4309_ccm_setauthsize(struct crypto_aead *authenc,
699 return cc_aead_setauthsize(authenc, authsize);
702 static int cc_ccm_setauthsize(struct crypto_aead *authenc,
718 return cc_aead_setauthsize(authenc, authsize);
1242 /* authenc after..*/
1249 /* authenc first..*/
1294 /* authenc after.. */
1299 /* authenc first.. */
2001 dev_err(dev, "Unsupported authenc (%d)\n", ctx->auth_mode);
2141 static int cc_gcm_setauthsize(struct crypto_aead *authenc,
2157 return cc_aead_setauthsize(authenc, authsize);
2160 static int cc_rfc4106_gcm_setauthsize(struct crypto_aead *authenc,
2163 struct cc_aead_ctx *ctx = crypto_aead_ctx(authenc);
2177 return cc_aead_setauthsize(authenc, authsize);
2180 static int cc_rfc4543_gcm_setauthsize(struct crypto_aead *authenc,
2183 struct cc_aead_ctx *ctx = crypto_aead_ctx(authenc);
2191 return cc_aead_setauthsize(authenc, authsize);
2299 .name = "authenc(hmac(sha1),cbc(aes))",
2300 .driver_name = "authenc-hmac-sha1-cbc-aes-ccree",
2319 .name = "authenc(hmac(sha1),cbc(des3_ede))",
2320 .driver_name = "authenc-hmac-sha1-cbc-des3-ccree",
2339 .name = "authenc(hmac(sha256),cbc(aes))",
2340 .driver_name = "authenc-hmac-sha256-cbc-aes-ccree",
2359 .name = "authenc(hmac(sha256),cbc(des3_ede))",
2360 .driver_name = "authenc-hmac-sha256-cbc-des3-ccree",
2379 .name = "authenc(xcbc(aes),cbc(aes))",
2380 .driver_name = "authenc-xcbc-aes-cbc-aes-ccree",
2399 .name = "authenc(hmac(sha1),rfc3686(ctr(aes)))",
2400 .driver_name = "authenc-hmac-sha1-rfc3686-ctr-aes-ccree",
2419 .name = "authenc(hmac(sha256),rfc3686(ctr(aes)))",
2420 .driver_name = "authenc-hmac-sha256-rfc3686-ctr-aes-ccree",
2439 .name = "authenc(xcbc(aes),rfc3686(ctr(aes)))",
2440 .driver_name = "authenc-xcbc-aes-rfc3686-ctr-aes-ccree",