Skip to content

Commit 7079ce6

Browse files
committed
crypto: testmgr - Disable authenc test and convert test vectors
This patch disables the authenc tests while the conversion to the new IV calling convention takes place. It also replaces the authenc test vectors with ones that will work with the new IV convention. Signed-off-by: Herbert Xu <[email protected]>
1 parent 1d6669f commit 7079ce6

File tree

2 files changed

+109
-39
lines changed

2 files changed

+109
-39
lines changed

crypto/testmgr.c

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2090,7 +2090,7 @@ static const struct alg_test_desc alg_test_descs[] = {
20902090
}
20912091
}
20922092
}, {
2093-
.alg = "authenc(hmac(sha1),cbc(aes))",
2093+
.alg = "authenc(hmac(sha1),cbc(aes))-disabled",
20942094
.test = alg_test_aead,
20952095
.fips_allowed = 1,
20962096
.suite = {
@@ -2104,7 +2104,7 @@ static const struct alg_test_desc alg_test_descs[] = {
21042104
}
21052105
}
21062106
}, {
2107-
.alg = "authenc(hmac(sha1),cbc(des))",
2107+
.alg = "authenc(hmac(sha1),cbc(des))-disabled",
21082108
.test = alg_test_aead,
21092109
.fips_allowed = 1,
21102110
.suite = {
@@ -2118,7 +2118,7 @@ static const struct alg_test_desc alg_test_descs[] = {
21182118
}
21192119
}
21202120
}, {
2121-
.alg = "authenc(hmac(sha1),cbc(des3_ede))",
2121+
.alg = "authenc(hmac(sha1),cbc(des3_ede))-disabled",
21222122
.test = alg_test_aead,
21232123
.fips_allowed = 1,
21242124
.suite = {
@@ -2152,7 +2152,7 @@ static const struct alg_test_desc alg_test_descs[] = {
21522152
}
21532153
}
21542154
}, {
2155-
.alg = "authenc(hmac(sha224),cbc(des))",
2155+
.alg = "authenc(hmac(sha224),cbc(des))-disabled",
21562156
.test = alg_test_aead,
21572157
.fips_allowed = 1,
21582158
.suite = {
@@ -2166,7 +2166,7 @@ static const struct alg_test_desc alg_test_descs[] = {
21662166
}
21672167
}
21682168
}, {
2169-
.alg = "authenc(hmac(sha224),cbc(des3_ede))",
2169+
.alg = "authenc(hmac(sha224),cbc(des3_ede))-disabled",
21702170
.test = alg_test_aead,
21712171
.fips_allowed = 1,
21722172
.suite = {
@@ -2180,7 +2180,7 @@ static const struct alg_test_desc alg_test_descs[] = {
21802180
}
21812181
}
21822182
}, {
2183-
.alg = "authenc(hmac(sha256),cbc(aes))",
2183+
.alg = "authenc(hmac(sha256),cbc(aes))-disabled",
21842184
.test = alg_test_aead,
21852185
.fips_allowed = 1,
21862186
.suite = {
@@ -2194,7 +2194,7 @@ static const struct alg_test_desc alg_test_descs[] = {
21942194
}
21952195
}
21962196
}, {
2197-
.alg = "authenc(hmac(sha256),cbc(des))",
2197+
.alg = "authenc(hmac(sha256),cbc(des))-disabled",
21982198
.test = alg_test_aead,
21992199
.fips_allowed = 1,
22002200
.suite = {
@@ -2208,7 +2208,7 @@ static const struct alg_test_desc alg_test_descs[] = {
22082208
}
22092209
}
22102210
}, {
2211-
.alg = "authenc(hmac(sha256),cbc(des3_ede))",
2211+
.alg = "authenc(hmac(sha256),cbc(des3_ede))-disabled",
22122212
.test = alg_test_aead,
22132213
.fips_allowed = 1,
22142214
.suite = {
@@ -2222,7 +2222,7 @@ static const struct alg_test_desc alg_test_descs[] = {
22222222
}
22232223
}
22242224
}, {
2225-
.alg = "authenc(hmac(sha384),cbc(des))",
2225+
.alg = "authenc(hmac(sha384),cbc(des))-disabled",
22262226
.test = alg_test_aead,
22272227
.fips_allowed = 1,
22282228
.suite = {
@@ -2236,7 +2236,7 @@ static const struct alg_test_desc alg_test_descs[] = {
22362236
}
22372237
}
22382238
}, {
2239-
.alg = "authenc(hmac(sha384),cbc(des3_ede))",
2239+
.alg = "authenc(hmac(sha384),cbc(des3_ede))-disabled",
22402240
.test = alg_test_aead,
22412241
.fips_allowed = 1,
22422242
.suite = {
@@ -2250,7 +2250,7 @@ static const struct alg_test_desc alg_test_descs[] = {
22502250
}
22512251
}
22522252
}, {
2253-
.alg = "authenc(hmac(sha512),cbc(aes))",
2253+
.alg = "authenc(hmac(sha512),cbc(aes))-disabled",
22542254
.test = alg_test_aead,
22552255
.fips_allowed = 1,
22562256
.suite = {
@@ -2264,7 +2264,7 @@ static const struct alg_test_desc alg_test_descs[] = {
22642264
}
22652265
}
22662266
}, {
2267-
.alg = "authenc(hmac(sha512),cbc(des))",
2267+
.alg = "authenc(hmac(sha512),cbc(des))-disabled",
22682268
.test = alg_test_aead,
22692269
.fips_allowed = 1,
22702270
.suite = {
@@ -2278,7 +2278,7 @@ static const struct alg_test_desc alg_test_descs[] = {
22782278
}
22792279
}
22802280
}, {
2281-
.alg = "authenc(hmac(sha512),cbc(des3_ede))",
2281+
.alg = "authenc(hmac(sha512),cbc(des3_ede))-disabled",
22822282
.test = alg_test_aead,
22832283
.fips_allowed = 1,
22842284
.suite = {

0 commit comments

Comments
 (0)