From: Chris Duncan Date: Sat, 29 Aug 2026 07:29:04 +0000 (-0700) Subject: Update doc comment. X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=d271d35dbb73286440404999e4cce9412c549d95;p=nano25519.git Update doc comment. --- diff --git a/src/assembly/crypto_verify.ts b/src/assembly/crypto_verify.ts index b10df30..f02b589 100644 --- a/src/assembly/crypto_verify.ts +++ b/src/assembly/crypto_verify.ts @@ -38,8 +38,8 @@ export function crypto_verify_decodepubkey (pub: StaticArray): ge_p3 | null * - Skip canonical and small-order checks on public key * - Byte-for-byte comparison of `r` to `s` * - * IMPORTANT: Callers MUST call `crypto_verify_decodepubkey` first in order to - * set `A` for the scalar multiplication step before checking `sB = R + hA`. + * Call `crypto_verify_decodepubkey` first in order to get decode the public key + * to `A` for the scalar multiplication step before checking `sB = R + hA`. * @returns -1 if signature fails to verify, else return 0 if signature is good */ export function crypto_verify_relaxed (s: StaticArray, M: StaticArray, A: ge_p3, pub: StaticArray): i32 {