summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2018-06-16 08:11:33 +0000
committertb <>2018-06-16 08:11:33 +0000
commitf231a23a52f827006044138f5036875c97799bc3 (patch)
tree5b2d7b0da7c0d71e9b39d22dba64dddc9b709803
parenta3ae248d6e35515f29a8a97a956d678a5cf9bb30 (diff)
downloadopenbsd-f231a23a52f827006044138f5036875c97799bc3.tar.gz
openbsd-f231a23a52f827006044138f5036875c97799bc3.tar.bz2
openbsd-f231a23a52f827006044138f5036875c97799bc3.zip
Tiny tweak to the blinding comment.
-rw-r--r--src/lib/libcrypto/ecdsa/ecs_ossl.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ecdsa/ecs_ossl.c b/src/lib/libcrypto/ecdsa/ecs_ossl.c
index eff2a5022d..720fa1f741 100644
--- a/src/lib/libcrypto/ecdsa/ecs_ossl.c
+++ b/src/lib/libcrypto/ecdsa/ecs_ossl.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ecs_ossl.c,v 1.14 2018/06/15 19:24:13 tb Exp $ */ 1/* $OpenBSD: ecs_ossl.c,v 1.15 2018/06/16 08:11:33 tb Exp $ */
2/* 2/*
3 * Written by Nils Larsch for the OpenSSL project 3 * Written by Nils Larsch for the OpenSSL project
4 */ 4 */
@@ -282,7 +282,9 @@ ecdsa_do_sign(const unsigned char *dgst, int dgst_len,
282 } 282 }
283 283
284 /* 284 /*
285 * Compute s = inv(k)(m + xr) mod order. 285 * Compute:
286 *
287 * s = inv(k)(m + xr) mod order
286 * 288 *
287 * In order to reduce the possibility of a side-channel attack, 289 * In order to reduce the possibility of a side-channel attack,
288 * the following is calculated using a blinding value: 290 * the following is calculated using a blinding value: