From fcf4358a7a7ba8d32bf385ea99ced5f47cbd3ae2 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Wed, 16 Mar 2016 12:49:26 +0100 Subject: 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 --- cipher/ecc.c | 4 ++-- 1 file 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 ) * (p ) * (a ) * (b ) @@ -1664,8 +1665,7 @@ ecc_decrypt_raw (gcry_sexp_t *r_plain, gcry_sexp_t s_data, gcry_sexp_t keyparms) * (n ) * (q )) * - * 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) -- cgit v1.2.1