diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2018-08-01 06:53:39 -0400 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2018-08-01 18:53:39 +0800 |
commit | 8d46eafc90793282fb007ed3dde51d761edcf595 (patch) | |
tree | 68e28b2a5cff091e2b1748484c0967847dfea409 /tests/wycheproof/test_ecdh.py | |
parent | c37d11e1ac05d70a75b86fcdac0b46cdeda8d455 (diff) | |
download | cryptography-8d46eafc90793282fb007ed3dde51d761edcf595.tar.gz cryptography-8d46eafc90793282fb007ed3dde51d761edcf595.tar.bz2 cryptography-8d46eafc90793282fb007ed3dde51d761edcf595.zip |
Updated wycheproof tests for new upstream vectors (#4378)
* updated tests for upstream wycheproof changes
* Updated AES tests
* oops, flake8
Diffstat (limited to 'tests/wycheproof/test_ecdh.py')
-rw-r--r-- | tests/wycheproof/test_ecdh.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/wycheproof/test_ecdh.py b/tests/wycheproof/test_ecdh.py index 0850b627..55be04ee 100644 --- a/tests/wycheproof/test_ecdh.py +++ b/tests/wycheproof/test_ecdh.py @@ -50,10 +50,10 @@ _CURVES = { "ecdh_secp521r1_test.json", ) def test_ecdh(backend, wycheproof): - curve = _CURVES[wycheproof.testcase["curve"]] + curve = _CURVES[wycheproof.testgroup["curve"]] if curve is None: pytest.skip( - "Unsupported curve ({})".format(wycheproof.testcase["curve"]) + "Unsupported curve ({})".format(wycheproof.testgroup["curve"]) ) _skip_exchange_algorithm_unsupported(backend, ec.ECDH(), curve) |