29b186736c
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
12 lines
396 B
Plaintext
12 lines
396 B
Plaintext
ECDSA,function,103,ECDSA_do_sign_ex
|
|
ECDSA,function,101,ECDSA_do_verify
|
|
ECDSA,function,104,ECDSA_sign_ex
|
|
ECDSA,function,102,ECDSA_sign_setup
|
|
ECDSA,function,100,digest_to_bn
|
|
ECDSA,function,105,ecdsa_sign_setup
|
|
ECDSA,reason,103,BAD_SIGNATURE
|
|
ECDSA,reason,102,MISSING_PARAMETERS
|
|
ECDSA,reason,101,NEED_NEW_SETUP_VALUES
|
|
ECDSA,reason,104,NOT_IMPLEMENTED
|
|
ECDSA,reason,100,RANDOM_NUMBER_GENERATION_FAILED
|