Skip to contentSkip to conversation

crypto: testmgr - Fix stale references to aes-generic

PATCH Applied Eric Biggers 2 participants 3 messages Mar 2 – Mar 3

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto: testmgr - Fix stale references to aes-generic

Due to commit a2484474272e ("crypto: aes - Replace aes-generic with wrapper around lib"), the "aes-generic" driver name has been replaced with "aes-lib". Update a couple testmgr entries that were added concurrently with this change.

Fixes a22d48cbe558 ("crypto: testmgr - Add test vectors for authenc(hmac(sha224),cbc(aes))")
Fixes 030218dedee2 ("crypto: testmgr - Add test vectors for authenc(hmac(sha384),cbc(aes))")
Cc Aleksander Jan Bajkowski <[email protected]>

---

This patch is targeting libcrypto-fixes for v7.0

 crypto/testmgr.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
crypto/testmgr.c +2 -2
index 49b607f65f636..4985411dedaec 100644
@@ -4130,11 +4130,11 @@ static const struct alg_test_desc alg_test_descs[] = {
 		.alg = "authenc(hmac(sha1),rfc3686(ctr(aes)))",
 		.test = alg_test_null,
 		.fips_allowed = 1,
 	}, {
 		.alg = "authenc(hmac(sha224),cbc(aes))",
-		.generic_driver = "authenc(hmac-sha224-lib,cbc(aes-generic))",
+		.generic_driver = "authenc(hmac-sha224-lib,cbc(aes-lib))",
 		.test = alg_test_aead,
 		.suite = {
 			.aead = __VECS(hmac_sha224_aes_cbc_tv_temp)
 		}
 	}, {
@@ -4192,11 +4192,11 @@ static const struct alg_test_desc alg_test_descs[] = {
 		.alg = "authenc(hmac(sha256),rfc3686(ctr(aes)))",
 		.test = alg_test_null,
 		.fips_allowed = 1,
 	}, {
 		.alg = "authenc(hmac(sha384),cbc(aes))",
-		.generic_driver = "authenc(hmac-sha384-lib,cbc(aes-generic))",
+		.generic_driver = "authenc(hmac-sha384-lib,cbc(aes-lib))",
 		.test = alg_test_aead,
 		.suite = {
 			.aead = __VECS(hmac_sha384_aes_cbc_tv_temp)
 		}
 	}, {

base-commit: f33ac74f9cc1cdadd3921246832b2084a5dec53a

Signature · 1 line
2.53.0
Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · Eric Biggers

Due to commit a2484474272e ("crypto: aes - Replace aes-generic with wrapper around lib"), the "aes-generic" driver name has been replaced with "aes-lib". Update a couple testmgr entries that were added concurrently with this change.

Fixes a22d48cbe558 ("crypto: testmgr - Add test vectors for authenc(hmac(sha224),cbc(aes))")
Fixes 030218dedee2 ("crypto: testmgr - Add test vectors for authenc(hmac(sha384),cbc(aes))")
Cc Aleksander Jan Bajkowski <[email protected]>
Quoted 39 lines

---

This patch is targeting libcrypto-fixes for v7.0

  crypto/testmgr.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
crypto/testmgr.c +2 -2
index 49b607f65f636..4985411dedaec 100644
@@ -4130,11 +4130,11 @@ static const struct alg_test_desc alg_test_descs[] = {
  		.alg = "authenc(hmac(sha1),rfc3686(ctr(aes)))",
  		.test = alg_test_null,
  		.fips_allowed = 1,
  	}, {
  		.alg = "authenc(hmac(sha224),cbc(aes))",
-		.generic_driver = "authenc(hmac-sha224-lib,cbc(aes-generic))",
+		.generic_driver = "authenc(hmac-sha224-lib,cbc(aes-lib))",
  		.test = alg_test_aead,
  		.suite = {
  			.aead = __VECS(hmac_sha224_aes_cbc_tv_temp)
  		}
  	}, {
@@ -4192,11 +4192,11 @@ static const struct alg_test_desc alg_test_descs[] = {
  		.alg = "authenc(hmac(sha256),rfc3686(ctr(aes)))",
  		.test = alg_test_null,
  		.fips_allowed = 1,
  	}, {
  		.alg = "authenc(hmac(sha384),cbc(aes))",
-		.generic_driver = "authenc(hmac-sha384-lib,cbc(aes-generic))",
+		.generic_driver = "authenc(hmac-sha384-lib,cbc(aes-lib))",
  		.test = alg_test_aead,
  		.suite = {
  			.aead = __VECS(hmac_sha384_aes_cbc_tv_temp)
  		}
  	}, {

base-commit: f33ac74f9cc1cdadd3921246832b2084a5dec53a

author Applied
#2 lore raw
In reply to Eric Biggers
Quoted 5 lines · Eric Biggers

Due to commit a2484474272e ("crypto: aes - Replace aes-generic with wrapper around lib"), the "aes-generic" driver name has been replaced with "aes-lib". Update a couple testmgr entries that were added concurrently with this change.

Quoted 8 lines
Fixes a22d48cbe558 ("crypto: testmgr - Add test vectors for authenc(hmac(sha224),cbc(aes))")
Fixes 030218dedee2 ("crypto: testmgr - Add test vectors for authenc(hmac(sha384),cbc(aes))")
Cc Aleksander Jan Bajkowski <[email protected]>

---

This patch is targeting libcrypto-fixes for v7.0

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=libcrypto-fixes

- Eric