File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 20
20
from cryptography .hazmat .primitives .keywrap import aes_key_wrap , aes_key_unwrap , InvalidUnwrap
21
21
from cryptography .hazmat .primitives .padding import PKCS7
22
22
from cryptography .hazmat .primitives .serialization import load_pem_private_key , load_pem_public_key
23
- from cryptography .utils import int_from_bytes , int_to_bytes
23
+ from cryptography .utils import int_to_bytes
24
24
from cryptography .x509 import load_pem_x509_certificate
25
25
26
26
_binding = None
@@ -145,8 +145,8 @@ def _raw_to_der(self, raw_signature):
145
145
146
146
r_bytes = raw_signature [:component_length ]
147
147
s_bytes = raw_signature [component_length :]
148
- r = int_from_bytes (r_bytes , "big" )
149
- s = int_from_bytes (s_bytes , "big" )
148
+ r = int . from_bytes (r_bytes , "big" )
149
+ s = int . from_bytes (s_bytes , "big" )
150
150
return encode_dss_signature (r , s )
151
151
152
152
def sign (self , msg ):
You can’t perform that action at this time.
0 commit comments