diff options
author | tb <> | 2018-06-16 08:11:33 +0000 |
---|---|---|
committer | tb <> | 2018-06-16 08:11:33 +0000 |
commit | f231a23a52f827006044138f5036875c97799bc3 (patch) | |
tree | 5b2d7b0da7c0d71e9b39d22dba64dddc9b709803 | |
parent | a3ae248d6e35515f29a8a97a956d678a5cf9bb30 (diff) | |
download | openbsd-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.c | 6 |
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: |