From: Chris Duncan Date: Fri, 30 Oct 2026 21:51:07 +0000 (-0700) Subject: Fix doc comment. X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=9f02dbcf14cb6895a800b287fbfea2e9b39f6fa1;p=nano25519.git Fix doc comment. --- diff --git a/src/assembly/crypto_verify.ts b/src/assembly/crypto_verify.ts index d57fe8b..25ed7dd 100644 --- a/src/assembly/crypto_verify.ts +++ b/src/assembly/crypto_verify.ts @@ -35,8 +35,9 @@ const t_p3 = new p3() const t_u8x32 = new StaticArray(32) /** - * Verify public key `pub` can be decoded. - * @returns null if public key fails to decode, else return pointer to A + * Verify public key `pub` can be decoded to point `A`. If so, builds a cache + * table of odd multiples of `A` and stores it to an array of points `Ai`. + * @returns null if public key fails to decode, else return pointer to Ai */ export function crypto_verify_decodepubkey (pub: StaticArray): StaticArray | null { const b = ge_frombytes_negate(A, pub, t_fe_0, t_fe_1, t_fe_2, t_u8x32)