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

2016-11-18 Thread Matt Caswell
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


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

2016-11-18 Thread Gupta, Saurabh
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

Commands Used: Working
./openssl speed -evp md5 -engine ../engines/dasync.so
engine "dasync" set.
Doing md5 for 3s on 16 size blocks: 9467552 md5's in 3.00s
Doing md5 for 3s on 64 size blocks: 7379943 md5's in 3.00s
Doing md5 for 3s on 256 size blocks: 4213375 md5's in 3.00s
Doing md5 for 3s on 1024 size blocks: 1597182 md5's in 3.00s

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