boringssl/crypto/err/pkcs8.errordata
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

48 lines
1.7 KiB
Plaintext

PKCS8,function,102,EVP_PKCS82PKEY
PKCS8,function,101,EVP_PKEY2PKCS8
PKCS8,function,120,PKCS12_get_key_and_certs
PKCS8,function,118,PKCS12_handle_content_info
PKCS8,function,119,PKCS12_handle_content_infos
PKCS8,function,117,PKCS12_parse
PKCS8,function,112,PKCS5_pbe2_set_iv
PKCS8,function,106,PKCS5_pbe_set
PKCS8,function,103,PKCS5_pbe_set0_algor
PKCS8,function,113,PKCS5_pbkdf2_set
PKCS8,function,115,PKCS8_decrypt
PKCS8,function,100,PKCS8_encrypt
PKCS8,function,116,PKCS8_encrypt_pbe
PKCS8,function,110,pbe_cipher_init
PKCS8,function,104,pbe_crypt
PKCS8,function,105,pkcs12_item_decrypt_d2i
PKCS8,function,111,pkcs12_item_i2d_encrypt
PKCS8,function,108,pkcs12_key_gen_asc
PKCS8,function,114,pkcs12_key_gen_raw
PKCS8,function,107,pkcs12_key_gen_uni
PKCS8,function,109,pkcs12_pbe_keyivgen
PKCS8,reason,123,BAD_MAC
PKCS8,reason,117,BAD_PKCS12_DATA
PKCS8,reason,119,BAD_PKCS12_VERSION
PKCS8,reason,115,CIPHER_HAS_NO_OBJECT_IDENTIFIER
PKCS8,reason,113,CRYPT_ERROR
PKCS8,reason,106,DECODE_ERROR
PKCS8,reason,105,ENCODE_ERROR
PKCS8,reason,107,ENCRYPT_ERROR
PKCS8,reason,100,ERROR_SETTING_CIPHER_PARAMS
PKCS8,reason,125,INCORRECT_PASSWORD
PKCS8,reason,111,KEYGEN_FAILURE
PKCS8,reason,116,KEY_GEN_ERROR
PKCS8,reason,114,METHOD_NOT_SUPPORTED
PKCS8,reason,124,MISSING_MAC
PKCS8,reason,121,MULTIPLE_PRIVATE_KEYS_IN_PKCS12
PKCS8,reason,118,PKCS12_PUBLIC_KEY_INTEGRITY_NOT_SUPPORTED
PKCS8,reason,120,PKCS12_TOO_DEEPLY_NESTED
PKCS8,reason,109,PRIVATE_KEY_DECODE_ERROR
PKCS8,reason,101,PRIVATE_KEY_ENCODE_ERROR
PKCS8,reason,112,TOO_LONG
PKCS8,reason,102,UNKNOWN_ALGORITHM
PKCS8,reason,103,UNKNOWN_CIPHER
PKCS8,reason,110,UNKNOWN_CIPHER_ALGORITHM
PKCS8,reason,104,UNKNOWN_DIGEST
PKCS8,reason,122,UNKNOWN_HASH
PKCS8,reason,108,UNSUPPORTED_PRIVATE_KEY_ALGORITHM