diff options
author | Justus Winter <justus@g10code.com> | 2016-03-16 12:49:26 +0100 |
---|---|---|
committer | Justus Winter <justus@g10code.com> | 2016-03-16 13:40:21 +0100 |
commit | fcf4358a7a7ba8d32bf385ea99ced5f47cbd3ae2 (patch) | |
tree | 3ffd6678b928274686e309f60e50a2bae590bc47 | |
parent | 5d601dd57fcb41aa2015ab655fd6fc51537da667 (diff) | |
download | libgcrypt-fcf4358a7a7ba8d32bf385ea99ced5f47cbd3ae2.tar.gz |
cipher: Update comment.
* cipher/ecc.c (ecc_get_nbits): Update comment to reflect the fact
that a curve parameter can be given.
Signed-off-by: Justus Winter <justus@g10code.com>
-rw-r--r-- | cipher/ecc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cipher/ecc.c b/cipher/ecc.c index 4cdbb149..f65203f5 100644 --- a/cipher/ecc.c +++ b/cipher/ecc.c @@ -1657,6 +1657,7 @@ ecc_decrypt_raw (gcry_sexp_t *r_plain, gcry_sexp_t s_data, gcry_sexp_t keyparms) * for example: * * (ecc + * (curve <name>) * (p <mpi>) * (a <mpi>) * (b <mpi>) @@ -1664,8 +1665,7 @@ ecc_decrypt_raw (gcry_sexp_t *r_plain, gcry_sexp_t s_data, gcry_sexp_t keyparms) * (n <mpi>) * (q <mpi>)) * - * More parameters may be given currently P is needed. FIXME: We - * need allow for a "curve" parameter. + * More parameters may be given. Either P or CURVE is needed. */ static unsigned int ecc_get_nbits (gcry_sexp_t parms) |