[openssl-users] Facing issue while using -engine flag for rsa/dsa speed test in openssl-1.1.0b

Matt Caswell matt at openssl.org
Fri Nov 18 10:25:11 UTC 2016


When using the openssl command line you should put options (i.e. those
with a "-" at the front) first, followed by any other arguments.

On 18/11/16 10:18, Gupta, Saurabh wrote:
> Facing issue while using -engine flag for rsa/dsa speed test in
> openssl-1.1.0b but It's working for digest or symmetric apis.
> 
> 
> Commands Used: Not Working
> 
> ./openssl speed rsa -engine ../engines/dasync.so
> Error:
> speed: Unknown algorithm -engine

rsa isn't an option just a normal command line argument so try:


./openssl speed -engine ../engines/dasync.so rsa


> Commands Used: Working
> ./openssl speed -evp md5 -engine ../engines/dasync.so

This works because "md5" is a parameter to the "-evp" option. So you
have obeyed the rule of putting the options before any other arguments
(because there are no other arguments in this case).

Matt



More information about the openssl-users mailing list