Skip to content

Commit

Permalink
ed448: add todo comment
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmillr committed Aug 27, 2023
1 parent 1d5286f commit cf5f226
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ed448.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cf5f226

Please sign in to comment.