openssl speed -engine chil error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

openssl speed -engine chil error

ahmad mirzakhaani
Hi,
I installed openssl 0.9.8a from www.sunfreeware.com for my solaris 10 server.
I have a nfast's www.nChiper.com Crypto device.
This version can make use of nfast module using the CHIL(Cryptographic Hardware Interface Library), because following command says:
#openssl engine chil
CHIL hardware engine supoort
Am I right?
After, I run speed test with following command:
# openssl engine chil -pre SO_PATH:/opt/nfast/toolkits/hwcrhk
(chil) CHIL hardware engine support
[Success]: SO_PATH:/opt/nfast/toolkits/hwcrhk

#openssl speed -engine chil
and i get following errors:
 
can't use that engine
1523:error:80067072:CHIL engine:HWCRHK_INIT:locking missing:e_chil.c:594:You HAVE to add dynamic locking callbacks via CRYPTO_set_dynlock_{create,lock,destroy}_callback()
1523:error:260B806D:engine routines:ENGINE_TABLE_REGISTER:init failed:eng_table.c:161:
Doing md2 for 3s on 16 size blocks: 79767 md2's in 3.03s
Doing md2 for 3s on 64 size blocks: ^C
Please Help me!
 
Thanks


24 FIFA World Cup tickets to be won with Yahoo! Mail. Learn more
Reply | Threaded
Open this post in threaded view
|

RE: openssl speed -engine chil error

Mark-62
Hi,

> can't use that engine
> 1523:error:80067072:CHIL engine:HWCRHK_INIT:locking
> missing:e_chil.c:594:You HAVE to add dynamic locking
> callbacks via CRYPTO_set_dynlock_{create,lock,destroy}_callback()
> 1523:error:260B806D:engine
> routines:ENGINE_TABLE_REGISTER:init failed:eng_table.c:161:
> Doing md2 for 3s on 16 size blocks: 79767 md2's in 3.03s
> Doing md2 for 3s on 64 size blocks: ^C

I haven't seen this problem - but this error message is fairly helpful.
I guess you need to add the dynamic locking callbacks.  Details of
these are documented in the OpenSSL book
http://www.opensslbook.com/index.html

Also see man pages of the CRYPTO_set_dynlock_*_callback functions.

Best Regards,
Mark Williams
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]