Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-03-13Route EVP_PKEY_CTRL_GET_RSA_OAEP_LABEL through a CBS.David Benjamin
This is the only EVP_PKEY ctrl hook which returns something other than a boolean. Change-Id: Ic226aef168abdf72e5d30e8264a559ed5039a055 Reviewed-on: https://boringssl-review.googlesource.com/3873 Reviewed-by: Adam Langley <agl@google.com>
2015-03-13Move EVP_R_COMMAND_NOT_SUPPORTED into individual EVP_PKEY ctrl hooks.David Benjamin
This removes another place where we're internally sensitive to the success/failure conditions. Change-Id: I18fecf6457e841ba0afb718397b9b5fd3bbdfe4c Reviewed-on: https://boringssl-review.googlesource.com/3872 Reviewed-by: Adam Langley <agl@google.com>
2015-02-12Reset all the error codes.David Benjamin
This saves about 6-7k of error data. Change-Id: Ic28593d4a1f5454f00fb2399d281c351ee57fb14 Reviewed-on: https://boringssl-review.googlesource.com/3385 Reviewed-by: Adam Langley <agl@google.com>
2015-02-10Precompute sorted array for error strings.Adam Langley
Previously, error strings were kept in arrays for each subdirectory and err.c would iterate over them all and insert them at init time to a hash table. This means that, even if you have a shared library and lots of processes using that, each process has ~30KB of private memory from building that hash table. This this change, all the error strings are built into a sorted list and are thus static data. This means that processes can share the error information and it actually saves binary space because of all the pointer overhead in the old scheme. Also it saves the time taken building the hash table at startup. This removes support for externally-supplied error string data. Change-Id: Ifca04f335c673a048e1a3e76ff2b69c7264635be