diff options
author | Werner Koch <wk@gnupg.org> | 2013-11-08 10:07:40 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2013-11-08 10:09:34 +0100 |
commit | 9f63c0f7a3b2c15c7e258cd17395cabd0a8f00cc (patch) | |
tree | d735a8284329782accc6e6e4a77b9310dba5a82e /doc | |
parent | ed45fd2e60c88e2f005282e6eadd018b59dcf65b (diff) | |
download | libgcrypt-9f63c0f7a3b2c15c7e258cd17395cabd0a8f00cc.tar.gz |
ecc: Implement the "nocomp" flag for key generation.
* cipher/ecc.c (ecc_generate): Support the "nocomp" flag.
* tests/keygen.c (check_ecc_keys): Add a test for it.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/gcrypt.texi | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/gcrypt.texi b/doc/gcrypt.texi index dd65f9a3..1619f0d4 100644 --- a/doc/gcrypt.texi +++ b/doc/gcrypt.texi @@ -2232,11 +2232,15 @@ are known: @table @code @item comp +@itemx nocomp @cindex comp -If supported and not yet the default return ECC points in compact -(compressed) representation. The compact representation requires a -small overhead before a point can be used but halves the size of a to -be conveyed public key. +@cindex nocomp +If supported by the algorithm and curve the @code{comp} flag requests +that points are returned in compact (compressed) representation. The +@code{nocomp} flag requests that points are returned with full +coordinates. The default depends on the the algorithm and curve. +The compact representation requires a small overhead before a point +can be used but halves the size of a to be conveyed public key. @item pkcs1 @cindex PKCS1 |