Home GnuPG

ecc: Fix recomputing of Q for Ed25519.
c325adb8f509Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

ecc: Fix recomputing of Q for Ed25519.

* cipher/ecc-misc.c (reverse_buffer): New.
(_gcry_ecc_compute_public): Add ED255519 specific code.
* cipher/ecc.c (sign_eddsa): Allocate DIGEST in secure memory.  Get
rid of HASH_D.
* tests/t-mpi-point.c (context_param): Test recomputing of Q for
Ed25519.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Sep 30 2013, 8:17 PM
Parents
rCd69a13d3d1c1: log: Try to print s-expressions in a more compact format.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rCc325adb8f509: ecc: Fix recomputing of Q for Ed25519. (authored by Werner Koch <wk@gnupg.org>).Sep 30 2013, 8:44 PM