I'm using OpenSSL 1.0.1e.
The OpenSSL engine ubsec, requires additional library containing the actual implementation. The implementation library is /usr/lib/libvendor_ubsec.so.
To instruct from ubsec OpenSSL engine what implementation to load we use from code:
ENGINE_ctrl_cmd_string (&engine, "SO_PATH", vendor_ubsec, 0);
I want to run openssl speed test as following:
openssl speed rsa1024 -engine ubsec
But it fails, since openssl doesn't load libvendor_ubsec.so.
I understand that this related to OpenSSL dynamic engines and to load implementation I need to use something like:
openssl engine ubsec -pre SO_PATH:vendor_ubsec
My question how I "combine" two comamnd openssl speed and openssl engine to run speed test for ubsec engine>