]> git.codecow.com Git - nano25519.git/commitdiff
Fix staged verify byte comparison.
authorChris Duncan <chris@zoso.dev>
Sat, 19 Sep 2026 05:45:15 +0000 (22:45 -0700)
committerChris Duncan <chris@zoso.dev>
Sat, 19 Sep 2026 05:45:15 +0000 (22:45 -0700)
src/assembly/crypto_verify.ts

index ccd1965064d81c424a29d0584025cc7f7eab1bc5..639ed6a2e73b40472a6f8a6514cce5c973fd20f0 100644 (file)
@@ -101,5 +101,5 @@ export function crypto_verify_sodium (sig: StaticArray<u8>, M: StaticArray<u8>,
        return ge_has_small_order(check)
 
        // ge_p3_tobytes(check_r, sb_ah)
-       // return equalbytes(s, check_r, 32) - 1
+       // return equalbytes(sig, check_r, 32)
 }