Hi, Piotr Skwarna wrote: >>> bash-2.03# ./openssl speed rsa512 -engine chil >>> can't use that engine >>> 17391:error:84067072:CHIL engine:HWCRHK_INIT:locking >>> missing:e_chil.c:594:You HAVE to add dynamic locking callbacks via >>> CRYPTO_set_dynlock_{create,lock,destroy}_callback() >>> 17391:error:260B806D:engine routines:ENGINE_TABLE_REGISTER:init >>> failed:eng_table.c:161:
if memory serves me right, i ran into this error and fixed it by adding the following lines to openssl.cnf: ----8<---- openssl_conf = openssl_init [ openssl_init ] engines = engine_section [ engine_section ] chil = chil_section [ chil_section ] dynamic_path=/path/to/openssl/lib/engines/libchil.so SO_PATH=/path/to/nfast/toolkits/hwcrhk/libnfhwcrhk.so THREAD_LOCKING=1 ---->8---- HTH Jan -- Jan Klever (PKI Team), Phone +49 40 808077-619 DFN-CERT Services GmbH, https://www.dfn-cert.de, Phone +49 40 808077-555 Sitz / Register: Hamburg, AG Hamburg, HRB 88805, Ust-IdNr.: DE 232129737 Heidenkampsweg 41, 20097 Hamburg/Germany, CEO: Dr. Klaus-Peter Kossakowski
smime.p7s
Description: S/MIME Cryptographic Signature