Home GnuPG

ecc: Handle removed zeros at the beginning for Ed25519.

Description

ecc: Handle removed zeros at the beginning for Ed25519.

* cipher/ecc-curves.c (mpi_ec_setup_elliptic_curve): Accept private
key with removed zeros.

We have existing keys of Ed25519, which was created by implementations
before SOS clarification. We should support those keys and
implementations with no SOS support.

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Oct 30 2020, 2:07 AM
Parents
rC24341f58f0d3: random: Allow for a Unicode random seed file on Windows.
Branches
Unknown
Tags
Unknown