Skip to content

Commit

Permalink
New names for return values.
Browse files Browse the repository at this point in the history
  • Loading branch information
jMyles committed Nov 22, 2017
1 parent fce308f commit e34ddef
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nkms/crypto/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ def ecdsa_gen_sig(
:return: bytestring of v, r, and s
"""
v = v.to_bytes(1, byteorder='big')
r = r.to_bytes(32, byteorder='big')
s = s.to_bytes(32, byteorder='big')
return v + r + s
_v = v.to_bytes(1, byteorder='big')
_r = r.to_bytes(32, byteorder='big')
_s = s.to_bytes(32, byteorder='big')
return _v + _r + _s


def ecdsa_load_sig(
Expand Down

0 comments on commit e34ddef

Please sign in to comment.