code audit showed wrong # of params;2 params is OK

the calls are done with 2 params , so we need a dummy to satisfy automatic code audit
This commit is contained in:
sigoa 2017-12-04 06:16:06 +01:00 committed by GitHub
parent 44dd08a228
commit 0171321b34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,7 +57,7 @@ def base10_add(a,b):
y = (m*(a[0]-x)-a[1]) % P
return (x,y)
def base10_double(a):
def base10_double(a, var_unused):
if a == None: return None
m = ((3*a[0]*a[0]+A)*inv(2*a[1],P)) % P
x = (m*m-2*a[0]) % P