Skip to contentSkip to conversation

crypto: testmgr - don't print info about missing test for gcm-aes-aesni

PATCH Superseded Tadeusz Struk 2 participants 3 messages Jun 24, 2015

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto: testmgr - don't print info about missing test for gcm-aes-aesni

Don't print info about missing test for the internal helper __driver-gcm-aes-aesni

---
 crypto/testmgr.c |    3 +++
 1 file changed, 3 insertions(+)
crypto/testmgr.c +3 -0
index 975e1ea..ad4c3e3 100644
@@ -2056,6 +2056,9 @@ static const struct alg_test_desc alg_test_descs[] = {
 		.alg = "__driver-ecb-twofish-avx",
 		.test = alg_test_null,
 	}, {
+		.alg = "__driver-gcm-aes-aesni",
+		.test = alg_test_null,
+	}, {
 		.alg = "__ghash-pclmulqdqni",
 		.test = alg_test_null,
 		.fips_allowed = 1,
#1 lore raw

Am Mittwoch, 24. Juni 2015, 07:14:22 schrieb Tadeusz Struk:

Hi Tadeusz,

Quoted 13 lines

Don't print info about missing test for the internal helper __driver-gcm-aes-aesni

---
crypto/testmgr.c | 3 +++

1 file changed, 3 insertions(+)
crypto/testmgr.c +0 -0
index 975e1ea..ad4c3e3 100644

crypto/testmgr.c static const struct alg_test_desc alg_test_descs[] = { · line 2060

Quoted 5 lines
crypto/testmgr.c +2 -0
@@ -2056,6 +2056,9 @@ static const struct alg_test_desc alg_test_descs[] = {
 		.alg = "__driver-ecb-twofish-avx",
 		.test = alg_test_null,
 	}, {
+		.alg = "__driver-gcm-aes-aesni",
+		.test = alg_test_null,

Wouldn't fips_allowed = 1 be needed here?

Quoted 9 lines
crypto/testmgr.c +1 -1
+	}, {
 		.alg = "__ghash-pclmulqdqni",
 		.test = alg_test_null,
 		.fips_allowed = 1,
 
--

To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Ciao
Stephan

#2 lore raw

Hi Stephan,

Quoted 4 lines · Stephan Mueller
Quoted 3 lines
	}, {

crypto/testmgr.c static const struct alg_test_desc alg_test_descs[] = { · line 2060

Quoted 2 lines
crypto/testmgr.c +2 -0
+		.alg = "__driver-gcm-aes-aesni",
+		.test = alg_test_null,

Wouldn't fips_allowed = 1 be needed here?

Yes, you are right. I will send a v2 soon.