File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 33from cryptography .hazmat .primitives .asymmetric import ec
44from cryptography .hazmat .primitives .asymmetric .utils import decode_dss_signature
55from cryptography .hazmat .primitives .asymmetric .utils import encode_dss_signature
6- from cryptography .utils import int_from_bytes
76from cryptography .utils import int_to_bytes
87
98from ..exception import BadSignature
@@ -102,6 +101,6 @@ def _split_raw_signature(sig):
102101 :return: A 2-tuple
103102 """
104103 c_length = len (sig ) // 2
105- r = int_from_bytes (sig [:c_length ], byteorder = "big" )
106- s = int_from_bytes (sig [c_length :], byteorder = "big" )
104+ r = int . from_bytes (sig [:c_length ], byteorder = "big" )
105+ s = int . from_bytes (sig [c_length :], byteorder = "big" )
107106 return r , s
You can’t perform that action at this time.
0 commit comments