aboutsummaryrefslogtreecommitdiffstats
path: root/src/cryptography/hazmat/primitives
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2018-07-04 19:09:04 +0530
committerAlex Gaynor <alex.gaynor@gmail.com>2018-07-04 09:39:04 -0400
commitd2e51f98269b332ed74e306e5f3fd40bdf8b3eb9 (patch)
treed244080d3aae7edca7824abc4670bccf62ded61c /src/cryptography/hazmat/primitives
parentd502a1f1e31c4cfb0294f9672390798778ba950c (diff)
downloadcryptography-d2e51f98269b332ed74e306e5f3fd40bdf8b3eb9.tar.gz
cryptography-d2e51f98269b332ed74e306e5f3fd40bdf8b3eb9.tar.bz2
cryptography-d2e51f98269b332ed74e306e5f3fd40bdf8b3eb9.zip
since the generator order is 570 bits this should be 570 (#4307)
but key_size is nonsense and we'll deprecate it next
Diffstat (limited to 'src/cryptography/hazmat/primitives')
-rw-r--r--src/cryptography/hazmat/primitives/asymmetric/ec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptography/hazmat/primitives/asymmetric/ec.py b/src/cryptography/hazmat/primitives/asymmetric/ec.py
index 83266bb4..6cbfcab4 100644
--- a/src/cryptography/hazmat/primitives/asymmetric/ec.py
+++ b/src/cryptography/hazmat/primitives/asymmetric/ec.py
@@ -135,7 +135,7 @@ EllipticCurvePublicKeyWithSerialization = EllipticCurvePublicKey
@utils.register_interface(EllipticCurve)
class SECT571R1(object):
name = "sect571r1"
- key_size = 571
+ key_size = 570
@utils.register_interface(EllipticCurve)