fixed argument order for crypto_sign_open
This commit is contained in:
parent
07e1bc4ed6
commit
a04871ed03
2
index.js
2
index.js
@ -1642,7 +1642,7 @@ function unpackneg(r, p) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
function crypto_sign_open(msg, sm, pk) {
|
function crypto_sign_open(sm, msg, pk) {
|
||||||
check(msg, sm.length - crypto_sign_BYTES)
|
check(msg, sm.length - crypto_sign_BYTES)
|
||||||
check(sm, crypto_sign_BYTES)
|
check(sm, crypto_sign_BYTES)
|
||||||
check(pk, crypto_sign_PUBLICKEYBYTES)
|
check(pk, crypto_sign_PUBLICKEYBYTES)
|
||||||
|
Loading…
Reference in New Issue
Block a user