commit | 8bbc5e9a61b81e6caea66c15a5e3b0836508233d | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@google.com> | Wed Apr 22 18:50:07 2020 -0400 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Thu Apr 23 17:44:57 2020 +0000 |
tree | 8c6a2932bfdf997162e5b9fe2ac8ffd9521d4e36 | |
parent | 1d8ef2c6663f4c3194373930b9ac2d8bc9435ba4 [diff] |
Add missing curve check to ec_hash_to_scalar_p521_xmd_sha512. The bounds on k make this a little tricky to test, so stick an assert(0) as that codepath should be impossible. Change-Id: I03958ed36bff4f0b420a446c6d49eca944f45da2 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/40885 Commit-Queue: David Benjamin <davidben@google.com> Reviewed-by: Steven Valdez <svaldez@google.com>
BoringSSL is a fork of OpenSSL that is designed to meet Google's needs.
Although BoringSSL is an open source project, it is not intended for general use, as OpenSSL is. We don't recommend that third parties depend upon it. Doing so is likely to be frustrating because there are no guarantees of API or ABI stability.
Programs ship their own copies of BoringSSL when they use it and we update everything as needed when deciding to make API changes. This allows us to mostly avoid compromises in the name of compatibility. It works for us, but it may not work for you.
BoringSSL arose because Google used OpenSSL for many years in various ways and, over time, built up a large number of patches that were maintained while tracking upstream OpenSSL. As Google's product portfolio became more complex, more copies of OpenSSL sprung up and the effort involved in maintaining all these patches in multiple places was growing steadily.
Currently BoringSSL is the SSL library in Chrome/Chromium, Android (but it's not part of the NDK) and a number of other apps/programs.
Project links:
There are other files in this directory which might be helpful: