summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: