commit | 4b040e562e950b168d49c1a1dd453cf460ab81c9 | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@google.com> | Fri Aug 11 15:02:00 2023 -0400 |
committer | Boringssl LUCI CQ <boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Aug 14 18:31:58 2023 +0000 |
tree | 1c75309cee92643ccf5941ef2a5c54fd773c324e | |
parent | 2e1191725f4d291cbaf9d35bb5bcbad3852fc5d2 [diff] |
Document and test DH_generate_key's weird key reuse behavior If the DH object already has a private key, DH_generate_key is actually a function to compute the corresponding public key. This is very weird, but as we don't really care about DH, just document and test it. Change-Id: Idbddfd06839450a198fdf8a34bf2f53b0250c400 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/62225 Reviewed-by: Adam Langley <agl@google.com> Auto-Submit: David Benjamin <davidben@google.com> Commit-Queue: Adam Langley <agl@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: