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 3
3
from cryptography .hazmat .primitives .asymmetric import ec
4
4
from cryptography .hazmat .primitives .asymmetric .utils import decode_dss_signature
5
5
from cryptography .hazmat .primitives .asymmetric .utils import encode_dss_signature
6
- from cryptography .utils import int_from_bytes
7
6
from cryptography .utils import int_to_bytes
8
7
9
8
from ..exception import BadSignature
@@ -102,6 +101,6 @@ def _split_raw_signature(sig):
102
101
:return: A 2-tuple
103
102
"""
104
103
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" )
107
106
return r , s
You can’t perform that action at this time.
0 commit comments