Skip to content

Commit

Permalink
crypto: testmgr - Disable authenc test and convert test vectors
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
herbertx committed Aug 4, 2015
1 parent 1d6669f commit 7079ce6
Show file tree
Hide file tree
Showing 2 changed files with 109 additions and 39 deletions.
26 changes: 13 additions & 13 deletions crypto/testmgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -2090,7 +2090,7 @@ static const struct alg_test_desc alg_test_descs[] = {
}
}
}, {
.alg = "authenc(hmac(sha1),cbc(aes))",
.alg = "authenc(hmac(sha1),cbc(aes))-disabled",
.test = alg_test_aead,
.fips_allowed = 1,
.suite = {
Expand All @@ -2104,7 +2104,7 @@ static const struct alg_test_desc alg_test_descs[] = {
}
}
}, {
.alg = "authenc(hmac(sha1),cbc(des))",
.alg = "authenc(hmac(sha1),cbc(des))-disabled",
.test = alg_test_aead,
.fips_allowed = 1,
.suite = {
Expand All @@ -2118,7 +2118,7 @@ static const struct alg_test_desc alg_test_descs[] = {
}
}
}, {
.alg = "authenc(hmac(sha1),cbc(des3_ede))",
.alg = "authenc(hmac(sha1),cbc(des3_ede))-disabled",
.test = alg_test_aead,
.fips_allowed = 1,
.suite = {
Expand Down Expand Up @@ -2152,7 +2152,7 @@ static const struct alg_test_desc alg_test_descs[] = {
}
}
}, {
.alg = "authenc(hmac(sha224),cbc(des))",
.alg = "authenc(hmac(sha224),cbc(des))-disabled",
.test = alg_test_aead,
.fips_allowed = 1,
.suite = {
Expand All @@ -2166,7 +2166,7 @@ static const struct alg_test_desc alg_test_descs[] = {
}
}
}, {
.alg = "authenc(hmac(sha224),cbc(des3_ede))",
.alg = "authenc(hmac(sha224),cbc(des3_ede))-disabled",
.test = alg_test_aead,
.fips_allowed = 1,
.suite = {
Expand All @@ -2180,7 +2180,7 @@ static const struct alg_test_desc alg_test_descs[] = {
}
}
}, {
.alg = "authenc(hmac(sha256),cbc(aes))",
.alg = "authenc(hmac(sha256),cbc(aes))-disabled",
.test = alg_test_aead,
.fips_allowed = 1,
.suite = {
Expand All @@ -2194,7 +2194,7 @@ static const struct alg_test_desc alg_test_descs[] = {
}
}
}, {
.alg = "authenc(hmac(sha256),cbc(des))",
.alg = "authenc(hmac(sha256),cbc(des))-disabled",
.test = alg_test_aead,
.fips_allowed = 1,
.suite = {
Expand All @@ -2208,7 +2208,7 @@ static const struct alg_test_desc alg_test_descs[] = {
}
}
}, {
.alg = "authenc(hmac(sha256),cbc(des3_ede))",
.alg = "authenc(hmac(sha256),cbc(des3_ede))-disabled",
.test = alg_test_aead,
.fips_allowed = 1,
.suite = {
Expand All @@ -2222,7 +2222,7 @@ static const struct alg_test_desc alg_test_descs[] = {
}
}
}, {
.alg = "authenc(hmac(sha384),cbc(des))",
.alg = "authenc(hmac(sha384),cbc(des))-disabled",
.test = alg_test_aead,
.fips_allowed = 1,
.suite = {
Expand All @@ -2236,7 +2236,7 @@ static const struct alg_test_desc alg_test_descs[] = {
}
}
}, {
.alg = "authenc(hmac(sha384),cbc(des3_ede))",
.alg = "authenc(hmac(sha384),cbc(des3_ede))-disabled",
.test = alg_test_aead,
.fips_allowed = 1,
.suite = {
Expand All @@ -2250,7 +2250,7 @@ static const struct alg_test_desc alg_test_descs[] = {
}
}
}, {
.alg = "authenc(hmac(sha512),cbc(aes))",
.alg = "authenc(hmac(sha512),cbc(aes))-disabled",
.test = alg_test_aead,
.fips_allowed = 1,
.suite = {
Expand All @@ -2264,7 +2264,7 @@ static const struct alg_test_desc alg_test_descs[] = {
}
}
}, {
.alg = "authenc(hmac(sha512),cbc(des))",
.alg = "authenc(hmac(sha512),cbc(des))-disabled",
.test = alg_test_aead,
.fips_allowed = 1,
.suite = {
Expand All @@ -2278,7 +2278,7 @@ static const struct alg_test_desc alg_test_descs[] = {
}
}
}, {
.alg = "authenc(hmac(sha512),cbc(des3_ede))",
.alg = "authenc(hmac(sha512),cbc(des3_ede))-disabled",
.test = alg_test_aead,
.fips_allowed = 1,
.suite = {
Expand Down
Loading

0 comments on commit 7079ce6

Please sign in to comment.