diff options
| author | tb <> | 2019-06-04 18:15:27 +0000 |
|---|---|---|
| committer | tb <> | 2019-06-04 18:15:27 +0000 |
| commit | 0e7fd33f7bc7aca3de1a3bf8f481ae8065fc283b (patch) | |
| tree | 41701fe32fde275ce3b9e28ea96739f932527a01 | |
| parent | 456515ed90f16ab8aa4ced14331060ff27ad4559 (diff) | |
| download | openbsd-0e7fd33f7bc7aca3de1a3bf8f481ae8065fc283b.tar.gz openbsd-0e7fd33f7bc7aca3de1a3bf8f481ae8065fc283b.tar.bz2 openbsd-0e7fd33f7bc7aca3de1a3bf8f481ae8065fc283b.zip | |
Readability tweak in a comment.
Diffstat (limited to '')
| -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 | */ |
