boringssl/include/openssl
Adam Langley 29b186736c Precompute sorted array for error strings.
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
2015-02-09 17:35:31 -08:00
..
aead.h More documentation fixes. 2015-01-22 19:22:33 +00:00
aes.h Add visibility rules. 2014-07-31 22:03:11 +00:00
asn1_mac.h Add visibility rules. 2014-07-31 22:03:11 +00:00
asn1.h Tag a number of globals as const. 2015-01-14 21:53:00 +00:00
asn1t.h Fix Windows shared library build. 2014-10-01 02:01:53 +00:00
base64.h Various documentation fixes. 2015-01-14 21:50:50 +00:00
base.h Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
bio.h Cleanup of setting external buffer 2014-11-24 17:46:00 +00:00
bn.h Add declarations for Android compatibility funcs. 2015-01-08 00:22:22 +00:00
buf.h Various documentation fixes. 2015-01-14 21:50:50 +00:00
bytestring.h Don't accept tag number 31 (long form identifier octets) in CBB_add_asn1. 2015-02-03 11:03:59 -08:00
chacha.h Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
cipher.h Implement SSLv3 ciphers with stateful AEADs. 2015-01-14 20:55:58 +00:00
conf.h Fix segfault with empty fields as last in the config. 2015-01-26 18:37:47 +00:00
cpu.h aarch64 support. 2015-01-14 23:38:11 +00:00
crypto.h Add a CRYPTO_library_init and static-initializer-less build option. 2014-09-12 00:10:53 +00:00
des.h Various documentation fixes. 2015-01-14 21:50:50 +00:00
dh.h Windows build fixes. 2014-08-11 22:10:02 +00:00
digest.h Various documentation fixes. 2015-01-14 21:50:50 +00:00
dsa.h Fix DER checks for DSA_check_signature and add tests. 2015-01-12 22:29:10 +00:00
dtls1.h Simplify DTLS epoch rewind. 2015-02-03 20:34:06 +00:00
ec_key.h Add visibility rules. 2014-07-31 22:03:11 +00:00
ec.h Various documentation fixes. 2015-01-14 21:50:50 +00:00
ecdh.h Remove ECDH_KDF_X9_62 and associated EVP glue. 2015-01-14 21:52:52 +00:00
ecdsa.h Various documentation fixes. 2015-01-14 21:50:50 +00:00
engine.h Remove support for dynamic METHODs. 2015-02-06 20:56:10 +00:00
err.h Precompute sorted array for error strings. 2015-02-09 17:35:31 -08:00
evp.h Remove support for passing a C-String to PKCS5_PBKDF2_HMAC*(). 2015-01-20 23:44:05 +00:00
ex_data.h Add visibility rules. 2014-07-31 22:03:11 +00:00
hkdf.h Implement HKDF. 2014-12-18 20:13:06 +00:00
hmac.h Introduce HMAC_CTX_copy_ex and deprecate HMAC_CTX_copy. 2015-01-14 20:35:47 +00:00
lhash_macros.h Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
lhash.h s/comparision/comparison/. 2015-01-06 10:49:48 -08:00
md4.h Add digest_test with tests for all existing EVP_MDs. 2014-11-06 01:49:03 +00:00
md5.h Readd MD4. 2014-08-26 21:51:48 +00:00
mem.h Various documentation fixes. 2015-01-14 21:50:50 +00:00
modes.h Add visibility rules. 2014-07-31 22:03:11 +00:00
obj_mac.h Renegerate OID outputs. 2014-12-04 22:13:50 +00:00
obj.h Clarify a comment. 2014-08-14 09:42:46 -07:00
objects.h Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
opensslfeatures.h Readd MD4. 2014-08-26 21:51:48 +00:00
opensslv.h Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
ossl_typ.h Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
pem.h unifdef OPENSSL_NO_BIO. 2014-12-02 19:27:19 +00:00
pkcs7.h Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
pkcs8.h Add void in place of empty function arguments. 2015-01-06 00:27:07 +00:00
pkcs12.h Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
poly1305.h Always write the Poly1305 tag to an aligned buffer. 2015-01-14 23:38:25 +00:00
pqueue.h Export pqueue functions. 2014-09-03 21:38:19 +00:00
rand.h Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
rc4.h Various documentation fixes. 2015-01-14 21:50:50 +00:00
rsa.h Define the error case's output in RSA_message_index_PKCS1_type_2. 2015-01-14 21:52:36 +00:00
safe_stack.h Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
sha.h Various documentation fixes. 2015-01-14 21:50:50 +00:00
srtp.h Store SRTP_PROTECTION_PROFILES as const. 2015-01-14 22:10:08 +00:00
ssl2.h Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
ssl3.h Revise SSL_cutthrough_complete and SSL_in_init. 2015-02-09 20:00:43 +00:00
ssl23.h Reformat SSL/TLS headers. 2015-01-26 20:23:09 +00:00
ssl.h Add SSL_CIPHER_get_rfc_name. 2015-02-09 17:31:28 -08:00
stack_macros.h Store SRTP_PROTECTION_PROFILES as const. 2015-01-14 22:10:08 +00:00
stack.h Store SRTP_PROTECTION_PROFILES as const. 2015-01-14 22:10:08 +00:00
thread.h Also export some deprecated functions. 2014-08-01 10:33:29 -07:00
time_support.h Various documentation fixes. 2015-01-14 21:50:50 +00:00
tls1.h Reformat SSL/TLS headers. 2015-01-26 20:23:09 +00:00
type_check.h Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
x509_vfy.h Add visibility rules. 2014-07-31 22:03:11 +00:00
x509.h Tag a number of globals as const. 2015-01-14 21:53:00 +00:00
x509v3.h Tag a number of globals as const. 2015-01-14 21:53:00 +00:00