summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2018-06-16 08:11:34 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2018-06-16 08:11:34 +0000
commit992c606f6a98294307ebd42f7c6e021c5c2167ed (patch)
tree4165126da00ee5db5de5b5286f6e16659ebddc45 /lib
parent1243c2b2f34a4291e1484115a3dbb034b83faf93 (diff)
Tiny tweak to the blinding comment.
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/ecdsa/ecs_ossl.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libcrypto/ecdsa/ecs_ossl.c b/lib/libcrypto/ecdsa/ecs_ossl.c
index eff2a5022df..720fa1f7412 100644
--- a/lib/libcrypto/ecdsa/ecs_ossl.c
+++ b/lib/libcrypto/ecdsa/ecs_ossl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ecs_ossl.c,v 1.14 2018/06/15 19:24:13 tb Exp $ */
+/* $OpenBSD: ecs_ossl.c,v 1.15 2018/06/16 08:11:33 tb Exp $ */
/*
* Written by Nils Larsch for the OpenSSL project
*/
@@ -282,7 +282,9 @@ ecdsa_do_sign(const unsigned char *dgst, int dgst_len,
}
/*
- * Compute s = inv(k)(m + xr) mod order.
+ * Compute:
+ *
+ * s = inv(k)(m + xr) mod order
*
* In order to reduce the possibility of a side-channel attack,
* the following is calculated using a blinding value: