diff --git a/crypto/testmgr.c b/crypto/testmgr.c index c31da0f3f680426c3528470193c261d47926e583..b1b8ebb9c3b6c60f3ddbc744365d78be28b85677 100644 --- a/crypto/testmgr.c +++ b/crypto/testmgr.c @@ -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,