From 4e3e7c294460b90f30b712a4eb3937fff84f7aa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Tue, 8 Jul 2014 13:05:49 +0200 Subject: [PATCH] Clarify comment in program --- programs/pkey/ecdsa.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/programs/pkey/ecdsa.c b/programs/pkey/ecdsa.c index 0b4f8c42b8..40d67da9c9 100644 --- a/programs/pkey/ecdsa.c +++ b/programs/pkey/ecdsa.c @@ -182,6 +182,10 @@ int main( int argc, char *argv[] ) /* * Transfer public information to verifying context + * + * We could use the same context for verification and signatures, but we + * chose to use a new one in order to make it clear that the verifying + * context only needs the public key (Q), and not the private key (d). */ printf( " . Preparing verification context..." ); fflush( stdout );