diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/gcrypt.texi | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/doc/gcrypt.texi b/doc/gcrypt.texi index 5d1be8dd..0590a264 100644 --- a/doc/gcrypt.texi +++ b/doc/gcrypt.texi @@ -4182,10 +4182,16 @@ modified, it is suggested to pass @code{1} to @var{copy}, so that the function guarantees that a modifiable copy of the MPI is returned. If @code{0} is used for @var{copy}, this function may return a constant flagged MPI. In any case @code{gcry_mpi_release} needs to be called -to release the result. For valid names @ref{ecc_keyparam}. If a -point parameter is requested it is returned as an uncompressed encoded -point. If the public key @code{q} is requested but only the private -key @code{d} is available, @code{q} will be recomputed on the fly. +to release the result. For valid names @ref{ecc_keyparam}. If the +public key @code{q} is requested but only the private key @code{d} is +available, @code{q} will be recomputed on the fly. If a point +parameter is requested it is returned as an uncompressed +encoded point unless these special names are used: +@table @var +@item q@@eddsa +Return an EdDSA style compressed point. This is only supported for +Twisted Edwards curves. +@end table @end deftypefun @deftypefun gcry_mpi_point_t gcry_mpi_ec_get_point ( @ |