Adding support of Ed448 with no-prefix encoding of point representation and fixed little endian for scalar.
Details
- Reviewers
- None
- Commits
- rKLEOPATRA5e9d402be380: Yet another place with deprecated API
Add test cases and make check.
Diff Detail
- Repository
- rG GnuPG
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
The changes just follow the existing practice of Ed25519, which does:
(1) Has (flags eddsa) in key in SEXP.
(2) Has (flags eddsa) and (hash-algo shake256) in data to be signed in SEXP.
(3) Has (flags eddsa) and (hash-algo shake256) in data to be verified in SEXP.
(4) Uses SHA256 for hashing of OpenPGP data
It is possible for libgcrypt to allow no flags of eddsa and no specified hash-algo, defaults to eddsa and shake256 when Ed448 is using.
It will be cleaner, but if we want to use no flags and no hash-algo for Ed448 (to be minimum), we need to change our patch of this.
(1) Has no (flags eddsa) in key in SEXP.
(2) Has no (flags eddsa) and no (hash-algo shake256) in data to be signed in SEXP.
(3) Has no (flags eddsa) and no (hash-algo shake256) in data to be verified in SEXP.
(4) Uses SHA256 for hashing of OpenPGP data