diff options
Diffstat (limited to 'src')
| -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 | */ |
