dim*_*mba 6 linux performance ssl openssl cryptography
我正在使用OpenSSL 1.0.1e.
OpenSSL引擎ubsec需要包含实际实现的附加库.实现库是/usr/lib/libvendor_ubsec.so.
要从ubsec OpenSSL引擎中指示我们从代码中加载哪些实现:
ENGINE_ctrl_cmd_string (&engine, "SO_PATH", vendor_ubsec, 0);
Run Code Online (Sandbox Code Playgroud)
我想运行openssl速度测试如下:
openssl speed rsa1024 -engine ubsec
Run Code Online (Sandbox Code Playgroud)
但它失败了,因为openssl不加载libvendor_ubsec.so.
我知道这与OpenSSL 动态引擎有关,并且加载实现我需要使用类似的东西:
openssl engine ubsec -pre SO_PATH:vendor_ubsec
我的问题是如何"结合"两个comamnd openssl speed和openssl引擎来运行ubsec引擎的速度测试>
以交互方式使用 openssl 命令解释器,而不是发送单个命令,这样,在相同的执行上下文中,您可以加载引擎,然后运行命令。该站点还提供有关定义库加载路径的有用信息
gmurphy@interloper:~$ openssl
OpenSSL> engine dynamic
(dynamic) Dynamic engine loading support
OpenSSL> speed rsa1024
Doing 1024 bit private rsa's for 10s: 32226 1024 bit private RSA's in 9.96s
Doing 1024 bit public rsa's for 10s: 542409 1024 bit public RSA's in 9.96s
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
1513 次 |
最近记录: |