commit | ba20a754ed2d128d446b28d7871d1d708a38a006 | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@google.com> | Thu Nov 04 14:53:20 2021 -0400 |
committer | Boringssl LUCI CQ <boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Nov 04 19:12:39 2021 +0000 |
tree | ea99b03d73b36cba63ceb809db2ac75a11e62a35 | |
parent | 703cb721edd1f556245af4b361057aedfd77936e [diff] |
Remove outdated comment in ECDSA implementation. As of https://boringssl-review.googlesource.com/26968, digest_to_scalar should output a fully-reduced value. Change-Id: I9fccc62413b17184eb3aa6fa5cd87d7e7849e2eb Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/50325 Reviewed-by: Adam Langley <agl@google.com> Commit-Queue: David Benjamin <davidben@google.com>
diff --git a/crypto/fipsmodule/ecdsa/ecdsa.c b/crypto/fipsmodule/ecdsa/ecdsa.c index 591f1bc..5d99903 100644 --- a/crypto/fipsmodule/ecdsa/ecdsa.c +++ b/crypto/fipsmodule/ecdsa/ecdsa.c
@@ -68,8 +68,7 @@ // digest_to_scalar interprets |digest_len| bytes from |digest| as a scalar for -// ECDSA. Note this value is not fully reduced modulo the order, only the -// correct number of bits. +// ECDSA. static void digest_to_scalar(const EC_GROUP *group, EC_SCALAR *out, const uint8_t *digest, size_t digest_len) { const BIGNUM *order = &group->order;