crypto: testmgr - reorder paes test lexicographically
Due to a snafu "paes" testmgr tests were not ordered
lexicographically, which led to boot time warnings.
Reorder the tests as needed.
Fixes: a794d8d
("crypto: ccree - enable support for hardware keys")
Reported-by: Abdul Haleem <abdhalee@linux.vnet.ibm.com>
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Tested-by: Abdul Haleem <abdhalee@linux.vnet.ibm.com>
Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Родитель
4c826fed67
Коммит
15f47ce575
|
@ -3011,13 +3011,6 @@ static const struct alg_test_desc alg_test_descs[] = {
|
|||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
/* Same as ecb(aes) except the key is stored in
|
||||
* hardware secure memory which we reference by index
|
||||
*/
|
||||
.alg = "ecb(paes)",
|
||||
.test = alg_test_null,
|
||||
.fips_allowed = 1,
|
||||
}, {
|
||||
.alg = "ecb(khazad)",
|
||||
.test = alg_test_skcipher,
|
||||
|
@ -3027,6 +3020,13 @@ static const struct alg_test_desc alg_test_descs[] = {
|
|||
.dec = __VECS(khazad_dec_tv_template)
|
||||
}
|
||||
}
|
||||
}, {
|
||||
/* Same as ecb(aes) except the key is stored in
|
||||
* hardware secure memory which we reference by index
|
||||
*/
|
||||
.alg = "ecb(paes)",
|
||||
.test = alg_test_null,
|
||||
.fips_allowed = 1,
|
||||
}, {
|
||||
.alg = "ecb(seed)",
|
||||
.test = alg_test_skcipher,
|
||||
|
@ -3609,21 +3609,6 @@ static const struct alg_test_desc alg_test_descs[] = {
|
|||
.dec = __VECS(aes_xts_dec_tv_template)
|
||||
}
|
||||
}
|
||||
}, {
|
||||
/* Same as xts(aes) except the key is stored in
|
||||
* hardware secure memory which we reference by index
|
||||
*/
|
||||
.alg = "xts(paes)",
|
||||
.test = alg_test_null,
|
||||
.fips_allowed = 1,
|
||||
}, {
|
||||
.alg = "xts4096(paes)",
|
||||
.test = alg_test_null,
|
||||
.fips_allowed = 1,
|
||||
}, {
|
||||
.alg = "xts512(paes)",
|
||||
.test = alg_test_null,
|
||||
.fips_allowed = 1,
|
||||
}, {
|
||||
.alg = "xts(camellia)",
|
||||
.test = alg_test_skcipher,
|
||||
|
@ -3642,6 +3627,13 @@ static const struct alg_test_desc alg_test_descs[] = {
|
|||
.dec = __VECS(cast6_xts_dec_tv_template)
|
||||
}
|
||||
}
|
||||
}, {
|
||||
/* Same as xts(aes) except the key is stored in
|
||||
* hardware secure memory which we reference by index
|
||||
*/
|
||||
.alg = "xts(paes)",
|
||||
.test = alg_test_null,
|
||||
.fips_allowed = 1,
|
||||
}, {
|
||||
.alg = "xts(serpent)",
|
||||
.test = alg_test_skcipher,
|
||||
|
@ -3678,6 +3670,14 @@ static const struct alg_test_desc alg_test_descs[] = {
|
|||
.dec = __VECS(tf_xts_dec_tv_template)
|
||||
}
|
||||
}
|
||||
}, {
|
||||
.alg = "xts4096(paes)",
|
||||
.test = alg_test_null,
|
||||
.fips_allowed = 1,
|
||||
}, {
|
||||
.alg = "xts512(paes)",
|
||||
.test = alg_test_null,
|
||||
.fips_allowed = 1,
|
||||
}, {
|
||||
.alg = "zlib-deflate",
|
||||
.test = alg_test_comp,
|
||||
|
|
Загрузка…
Ссылка в новой задаче