diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-04-18 15:50:56 -0700 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2014-04-18 15:50:56 -0700 |
commit | 2a753dee555b2c510bc58814cd21ea4d33892e30 (patch) | |
tree | 1baaed549da78866d17c2595354a35c7c2e93927 /tests/utils.py | |
parent | 9fa31c6353af3ab32edd6f6988725886d0e2aa4c (diff) | |
parent | 39e300f3d9a593547b2240b95258f8b77c519fbf (diff) | |
download | cryptography-2a753dee555b2c510bc58814cd21ea4d33892e30.tar.gz cryptography-2a753dee555b2c510bc58814cd21ea4d33892e30.tar.bz2 cryptography-2a753dee555b2c510bc58814cd21ea4d33892e30.zip |
Merge pull request #937 from public/curve-fix
Fix bad NIST <-> SECG curve name map
Diffstat (limited to 'tests/utils.py')
-rw-r--r-- | tests/utils.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/utils.py b/tests/utils.py index 77999955..4354a472 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -434,15 +434,17 @@ def load_fips_dsa_key_pair_vectors(vector_data): _ECDSA_CURVE_NAMES = { "P-192": "secp192r1", "P-224": "secp224r1", - "P-256": "secp192r1", + "P-256": "secp256r1", "P-384": "secp384r1", "P-521": "secp521r1", + "K-163": "sect163k1", "K-233": "sect233k1", - "K-283": "sect233k1", + "K-283": "sect283k1", "K-409": "sect409k1", "K-571": "sect571k1", - "B-163": "sect163r2", + + "B-163": "sect163r1", "B-233": "sect233r1", "B-283": "sect283r1", "B-409": "sect409r1", |