commit | 2cb7b337d00e6b7106b2fec84f4b2c90e2baa484 | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@google.com> | Wed Dec 28 19:31:26 2022 -0500 |
committer | Boringssl LUCI CQ <boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Mar 16 22:13:42 2023 +0000 |
tree | 42c72731369965b641992552456f2ecc92e25e01 | |
parent | cc575425302e35700848358be85166ff2c5e832e [diff] |
Rewrite ASN1_OBJECT and ASN1_BOOLEAN d2i/i2d functions. These functions already don't go through tasn_*.c. Rewrite them to use CBS and CBB. This removes some dependencies on ASN1_get_object and ASN1_put_object. Update-Note: d2i_ASN1_OBJECT and d2i_ASN1_BOOLEAN will no longer accept non-minimal length prefixes (forbidden in DER). d2i_ASN1_BOOLEAN will also no longer accept non-canonical representations of TRUE (also forbidden in DER). This does not affect certificate parsing, as that still goes through the old template system, though we will make a similar change to those functions later. Bug: 354, 548 Change-Id: I0b7aa96f47aca5c31ec4f702e27108b4106311f2 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/58145 Commit-Queue: David Benjamin <davidben@google.com> Reviewed-by: Bob Beck <bbe@google.com> Commit-Queue: Bob Beck <bbe@google.com> Auto-Submit: David Benjamin <davidben@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: