From cf5f2268fb716f9fa5b0ee937ea5b14ecc5c2e68 Mon Sep 17 00:00:00 2001 From: Paul Miller Date: Sun, 27 Aug 2023 16:49:50 +0000 Subject: [PATCH] ed448: add todo comment --- src/ed448.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ed448.ts b/src/ed448.ts index 0e5477a..64fb347 100644 --- a/src/ed448.ts +++ b/src/ed448.ts @@ -165,6 +165,7 @@ export function edwardsToMontgomeryPub(edwardsPub: string | Uint8Array): Uint8Ar return Fp.toBytes(Fp.create((y - _1n) * Fp.inv(y + _1n))); } export const edwardsToMontgomery = edwardsToMontgomeryPub; // deprecated +// TODO: add edwardsToMontgomeryPriv, similar to ed25519 version // Hash To Curve Elligator2 Map const ELL2_C1 = (Fp.ORDER - BigInt(3)) / BigInt(4); // 1. c1 = (q - 3) / 4 # Integer arithmetic