summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2018-06-16 08:11:33 +0000
committertb <tb@openbsd.org>2018-06-16 08:11:33 +0000
commit59f6aa454b52e0a931201ed927872e65a7e43d2c (patch)
tree61f64ff83cd89b1a2d215e092b1da79bcae0a8ca
parentOops, turned on forceukbd during testing of eager FPU work and it slipped (diff)
downloadwireguard-openbsd-59f6aa454b52e0a931201ed927872e65a7e43d2c.tar.xz
wireguard-openbsd-59f6aa454b52e0a931201ed927872e65a7e43d2c.zip
Tiny tweak to the blinding comment.
-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: