diff options
author | tb <> | 2019-06-04 18:15:27 +0000 |
---|---|---|
committer | tb <> | 2019-06-04 18:15:27 +0000 |
commit | b31a62d089dde48119b22b2dc6bc6f83c833dd4d (patch) | |
tree | 41701fe32fde275ce3b9e28ea96739f932527a01 /src/lib/libcrypto/ecdsa | |
parent | 071792528ca0cae75abd5ab411ce3728c0729158 (diff) | |
download | openbsd-b31a62d089dde48119b22b2dc6bc6f83c833dd4d.tar.gz openbsd-b31a62d089dde48119b22b2dc6bc6f83c833dd4d.tar.bz2 openbsd-b31a62d089dde48119b22b2dc6bc6f83c833dd4d.zip |
Readability tweak in a comment.
Diffstat (limited to 'src/lib/libcrypto/ecdsa')
-rw-r--r-- | src/lib/libcrypto/ecdsa/ecs_ossl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ecdsa/ecs_ossl.c b/src/lib/libcrypto/ecdsa/ecs_ossl.c index c9d23013a9..8a6685de58 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.19 2019/06/04 18:13:44 tb Exp $ */ | 1 | /* $OpenBSD: ecs_ossl.c,v 1.20 2019/06/04 18:15:27 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Nils Larsch for the OpenSSL project | 3 | * Written by Nils Larsch for the OpenSSL project |
4 | */ | 4 | */ |
@@ -329,7 +329,7 @@ ecdsa_do_sign(const unsigned char *dgst, int dgst_len, | |||
329 | * In order to reduce the possibility of a side-channel attack, | 329 | * In order to reduce the possibility of a side-channel attack, |
330 | * the following is calculated using a blinding value: | 330 | * the following is calculated using a blinding value: |
331 | * | 331 | * |
332 | * s = inv(k)inv(b)(bm + bxr) mod order | 332 | * s = inv(b)(bm + bxr)inv(k) mod order |
333 | * | 333 | * |
334 | * where b is a random value in the range [1, order-1]. | 334 | * where b is a random value in the range [1, order-1]. |
335 | */ | 335 | */ |