diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2015-05-08 19:51:37 -0400 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2015-05-08 19:51:37 -0400 |
commit | b1fca70e16fa5c6ed92835203ded14d9f58a6aeb (patch) | |
tree | 66af82b25194e3a818fa8efdb6ab2fc1ebfd60ca /tests/hazmat/primitives/test_ec.py | |
parent | 51f4cd4c7aa0886ab73256bddf1f2b2d038e4627 (diff) | |
parent | ebbeedfd5d0e98e3e47d6d3af90161225a8a3e4a (diff) | |
download | cryptography-b1fca70e16fa5c6ed92835203ded14d9f58a6aeb.tar.gz cryptography-b1fca70e16fa5c6ed92835203ded14d9f58a6aeb.tar.bz2 cryptography-b1fca70e16fa5c6ed92835203ded14d9f58a6aeb.zip |
Merge pull request #1913 from reaperhulk/secp256k1-support
add support for secp256k1
Diffstat (limited to 'tests/hazmat/primitives/test_ec.py')
-rw-r--r-- | tests/hazmat/primitives/test_ec.py | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/tests/hazmat/primitives/test_ec.py b/tests/hazmat/primitives/test_ec.py index 3273fe63..82b5b3a1 100644 --- a/tests/hazmat/primitives/test_ec.py +++ b/tests/hazmat/primitives/test_ec.py @@ -305,10 +305,17 @@ class TestECDSAVectors(object): @pytest.mark.parametrize( "vector", - load_vectors_from_file( - os.path.join( - "asymmetric", "ECDSA", "FIPS_186-3", "SigGen.txt"), - load_fips_ecdsa_signing_vectors + itertools.chain( + load_vectors_from_file( + os.path.join( + "asymmetric", "ECDSA", "FIPS_186-3", "SigGen.txt"), + load_fips_ecdsa_signing_vectors + ), + load_vectors_from_file( + os.path.join( + "asymmetric", "ECDSA", "SECP256K1", "SigGen.txt"), + load_fips_ecdsa_signing_vectors + ), ) ) def test_signatures(self, backend, vector): |