From: Chris Duncan Date: Sat, 19 Sep 2026 05:47:46 +0000 (-0700) Subject: Add branded point zeroing. X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=34550441038c5f32d082308d7882061de720718a;p=nano25519.git Add branded point zeroing. --- diff --git a/src/assembly/p.ts b/src/assembly/p.ts index b9ea531..7440943 100644 --- a/src/assembly/p.ts +++ b/src/assembly/p.ts @@ -87,6 +87,13 @@ export function ge_p1p1_to_p3 (r: ge_p3, p: ge_p1p1): void { fe_mul(r.T, p.X, p.Y) } +//@ts-expect-error +@inline +export function ge_p1p1_0 (h: ge_p1p1): void { + ge_p2_0(h) + fe_0(h.T) +} + //@ts-expect-error @inline export function ge_p3_0 (h: ge_p3): void {