-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ed448 #1121
base: master
Are you sure you want to change the base?
Add ed448 #1121
Conversation
// The original file was a part of curve25519-dalek. | ||
// Copyright (c) 2016-2019 Isis Lovecruft, Henry de Valence | ||
// Copyright (c) 2020 Kevaundray Wedderburn | ||
// See LICENSE for licensing information. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets add a reference to the actual licnes file from curve25519-dalek
@tarcieri @mikelodder7 I am not seeing much in terms of test vectors or the likes, do you happen to know where to find some? |
working on a pr to update to the current set of rustcrypto deps |
Co authors |
Here's the Ed448 test vectors |
created mikelodder7#1 |
👀 |
what's the status on this? It would be great to see ed448 under the RustCrypto umbrella. |
@dkg waiting on @mikelodder7 to rebase and get the tests passing |
Signed-off-by: Michael Lodder <mike@litprotocol.com>
Signed-off-by: Michael Lodder <mike@litprotocol.com>
Signed-off-by: Michael Lodder <mike@litprotocol.com>
Signed-off-by: Michael Lodder <mike@litprotocol.com>
Signed-off-by: Michael Lodder <mike@litprotocol.com>
Signed-off-by: Michael Lodder <mike@litprotocol.com>
There's a little stuff about my previous contribution that I feel the need to renegotiate before the code gets into a serious place like RustCrypto. |
Signed-off-by: Michael Lodder <mike@litprotocol.com>
homepage = "https://docs.rs/ed448-goldilocks/" | ||
keywords = ["cryptography", "decaf", "ed448", "ed448-goldilocks"] | ||
license = "BSD-3-Clause" | ||
name = "ed448" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we keep the name as ed448-goldilocks
, it will allow the ed448
name to be used for the signature abstraction crate, which would be consistent with the ed25519
crate
(and that also ensures existing users get updates automatically without having to change to a new name)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another option for a name is curve448
. We could extract the EdDSA implementation/instantiation into ed448
at that point, which would follow how curve25519-dalek
/ed25519-dalek
are structured.
This adds the Ed448-Goldilocks curve and signing implementation from the latest commit at Mikelodder7/Ed448-Goldilocks.