diff options
author | Werner Koch <wk@gnupg.org> | 2013-11-05 17:25:02 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2013-11-05 17:26:52 +0100 |
commit | f09ffe8a4802af65a116e79eceeb1cb4ed4fa2f4 (patch) | |
tree | 294ee667a0c27bd20c333eab4fb69bb04b8c8de3 /doc | |
parent | 630aca794ddf057fb7265b7dc346374743036af4 (diff) | |
download | libgcrypt-f09ffe8a4802af65a116e79eceeb1cb4ed4fa2f4.tar.gz |
ecc: Fully implement Ed25519 compression in ECDSA mode.
* src/ec-context.h (mpi_ec_ctx_s): Add field FLAGS.
* mpi/ec.c (ec_p_init): Add arg FLAGS. Change all callers to pass it.
* cipher/ecc-curves.c (point_from_keyparam): Add arg EC, parse as
opaque mpi and use eddsa decoding depending on the flag.
(_gcry_mpi_ec_new): Rearrange to parse Q and D after knowing the
curve.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/gcrypt.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/gcrypt.texi b/doc/gcrypt.texi index 76cf0bdb..9c695e02 100644 --- a/doc/gcrypt.texi +++ b/doc/gcrypt.texi @@ -2278,7 +2278,7 @@ For ECC key generation do not return the domain parameters but only the name of the curve. For ECC signing and verification ignore any provided domain parameters of the public or private key and use only the curve name. It is more secure to rely on the curve name and thus -use the curve parameters as known by Libgcrypt. This option shouild +use the curve parameters as known by Libgcrypt. This option should have been the default but for backward compatibility reasons this is not possible. It is best to always use this flag with ECC keys. |