commit | e1068b76bd1d7f6ea06c90faa523ad8d562ec11b | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@google.com> | Thu Oct 12 23:07:45 2017 -0400 |
committer | David Benjamin <davidben@google.com> | Fri Oct 13 18:22:58 2017 +0000 |
tree | 8c59efaf62b0408268570b83feeecce27d5d97ad | |
parent | 168fb2e98c2ce82b7653ad62b573b748e2f6298f [diff] |
Test RSA premaster unpad better. RSABadValueTooLong should have the true one as a suffix, not a prefix, so that the version check still works. Also do the padding manually to catch a few other bad padding cases. This is sufficient coverage so that disabling any one comparison in the padding check flags some failure. Change-Id: Ibcad284e5ecee3e995f43101c09e4cf7694391e9 Reviewed-on: https://boringssl-review.googlesource.com/21904 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.
There are other files in this directory which might be helpful: