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

-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

Reply via email to