Re: Facing issue while using -engine flag for rsa/dsa speed test in openssl-1.1.0b

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux