Skip to content

Is possible to create a custom curve like Curve448/Ed448 in Botan? #4472

Answered by randombit
gb-jose asked this question in Q&A
Discussion options

You must be logged in to vote

Ed448 and X448 are already supported, but not through EC_Group - that interface is exclusively used for Weierstrass curves. If you just need signatures and key exchange, the dedicated interfaces (eg Ed448_PrivateKey) is certainly the preferred approach.

It is possible to map Edwards and Montgomery curves to Weierstrass coordinates; see https://crypto.stackexchange.com/questions/27842/edwards-montgomery-ecc-with-weierstrass-implementation and https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-186.pdf (specifically the specifications of W-25519 and W-448) and this should work with EC_Group and related types, but this has not been tested by me or AFAIK anyone else.

Do you actu…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by gb-jose
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants