diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/ec/ecp_smpl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ec/ecp_smpl.c b/src/lib/libcrypto/ec/ecp_smpl.c index 9aa9af11f3..3388b99143 100644 --- a/src/lib/libcrypto/ec/ecp_smpl.c +++ b/src/lib/libcrypto/ec/ecp_smpl.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ecp_smpl.c,v 1.46 2023/07/07 13:54:45 beck Exp $ */ | 1 | /* $OpenBSD: ecp_smpl.c,v 1.47 2023/07/25 08:10:30 tb Exp $ */ |
| 2 | /* Includes code written by Lenka Fibikova <fibikova@exp-math.uni-essen.de> | 2 | /* Includes code written by Lenka Fibikova <fibikova@exp-math.uni-essen.de> |
| 3 | * for the OpenSSL project. | 3 | * for the OpenSSL project. |
| 4 | * Includes code written by Bodo Moeller for the OpenSSL project. | 4 | * Includes code written by Bodo Moeller for the OpenSSL project. |
| @@ -1273,7 +1273,7 @@ ec_GFp_simple_blind_coordinates(const EC_GROUP *group, EC_POINT *p, BN_CTX *ctx) | |||
| 1273 | if ((tmp = BN_CTX_get(ctx)) == NULL) | 1273 | if ((tmp = BN_CTX_get(ctx)) == NULL) |
| 1274 | goto err; | 1274 | goto err; |
| 1275 | 1275 | ||
| 1276 | /* Generate lambda in [1, group->field - 1] */ | 1276 | /* Generate lambda in [1, group->field). */ |
| 1277 | if (!bn_rand_interval(lambda, BN_value_one(), &group->field)) | 1277 | if (!bn_rand_interval(lambda, BN_value_one(), &group->field)) |
| 1278 | goto err; | 1278 | goto err; |
| 1279 | 1279 | ||
