]> git.codecow.com Git - nano25519.git/commitdiff
Fix staged byte comparison.
authorChris Duncan <chris@codecow.com>
Fri, 28 Aug 2026 01:55:19 +0000 (18:55 -0700)
committerChris Duncan <chris@codecow.com>
Fri, 28 Aug 2026 01:55:19 +0000 (18:55 -0700)
src/assembly/crypto_verify.ts

index 7bbfe9fd5db146a394200ebf524cc0ab853c284d..b903b140e9737c077856360cc66fc57e2d3710dc 100644 (file)
@@ -104,6 +104,6 @@ export function crypto_verify_strict (s: StaticArray<u8>, M: StaticArray<u8>, ml
 
        return ge_has_small_order(check) - 1
 
-       // if (ge_has_small_order(check) == 0) return -1
-       // return equalbytes(s, check, KEY_BYTELENGTH) - 1
+       // ge_p3_tobytes(check_r, sb_ah)
+       // return equalbytes(s, check_r, KEY_BYTELENGTH) - 1
 }