diff options
author | Horia Geantă <horia.geanta@nxp.com> | 2022-01-14 14:14:00 +0200 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2022-01-21 20:07:04 +0800 |
commit | a4d5176ad1a2d886ec9e79f85ccd63dc598fd3e8 (patch) | |
tree | d58610988783a359a4b0812909eb88de804f5e74 /crypto | |
parent | dc156685a57ef7da5226642bafbcba848c6fe590 (diff) |
LF-5170 crypto: testmgr - fix tls11, tls12 tests
Fix the typo in tls11 and tls12 tests:
-tls11 uses tls12 test vectors
-tls12 uses tls11 test vectors
Fixes: d6299c231b2e ("Added the self-test for the TLS1.2 algorithms offload")
Reviewed-by: Pankaj Gupta <pankaj.gupta@nxp.com>
Tested-by: Pankaj Gupta <pankaj.gupta@nxp.com>
Reviewed-by: Gaurav Jain <gaurav.jain@nxp.com>
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/testmgr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c index 029ef61ddd9c..8b3d2aca1f6b 100644 --- a/crypto/testmgr.c +++ b/crypto/testmgr.c @@ -5655,8 +5655,8 @@ static const struct alg_test_desc alg_test_descs[] = { .test = alg_test_tls, .suite = { .tls = { - .enc = __VECS(tls12_enc_tv_template), - .dec = __VECS(tls12_dec_tv_template) + .enc = __VECS(tls_enc_tv_template), + .dec = __VECS(tls_dec_tv_template) } } }, { @@ -5664,8 +5664,8 @@ static const struct alg_test_desc alg_test_descs[] = { .test = alg_test_tls, .suite = { .tls = { - .enc = __VECS(tls_enc_tv_template), - .dec = __VECS(tls_dec_tv_template) + .enc = __VECS(tls12_enc_tv_template), + .dec = __VECS(tls12_dec_tv_template) } } }, { |