aboutsummaryrefslogtreecommitdiff
path: root/google/auth/crypt/es256.py
diff options
context:
space:
mode:
Diffstat (limited to 'google/auth/crypt/es256.py')
-rw-r--r--google/auth/crypt/es256.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/google/auth/crypt/es256.py b/google/auth/crypt/es256.py
index c6d6176..7465cd6 100644
--- a/google/auth/crypt/es256.py
+++ b/google/auth/crypt/es256.py
@@ -53,8 +53,8 @@ class ES256Verifier(base.Verifier):
sig_bytes = _helpers.to_bytes(signature)
if len(sig_bytes) != 64:
return False
- r = utils.int_from_bytes(sig_bytes[:32], byteorder="big")
- s = utils.int_from_bytes(sig_bytes[32:], byteorder="big")
+ r = int.from_bytes(sig_bytes[:32], byteorder="big")
+ s = int.from_bytes(sig_bytes[32:], byteorder="big")
asn1_sig = encode_dss_signature(r, s)
message = _helpers.to_bytes(message)