Re: openssl with accelerator

2007-08-14 Thread Piotr Skwarna
2007/8/14, Marek Marcola <[EMAIL PROTECTED]>: > > Hello, > > > > bash-2.03# echo $LD_LIBRARY_PATH > > > :/usr/local/firebird/lib:/usr/local/firebird/intl:/usr/local/lib:/opt/nfast/toolkits/hwcrhk/ > > > > > > > > bash-2.03# ./openssl speed rsa512 -engine chil > > can't use that engine > > 1:error:8

Re: openssl with accelerator

2007-08-14 Thread Marek Marcola
Hello, > > bash-2.03# echo $LD_LIBRARY_PATH > :/usr/local/firebird/lib:/usr/local/firebird/intl:/usr/local/lib:/opt/nfast/toolkits/hwcrhk/ > > > > > bash-2.03# ./openssl speed rsa512 -engine chil > can't use that engine > 1:error:84067071:CHIL engine:HWCRHK_INIT:unit failure:e_chil.c:604: > 1

Re: openssl with accelerator

2007-08-14 Thread Piotr Skwarna
Hi 2007/8/13, Marek Marcola <[EMAIL PROTECTED]>: > > Hello, > > > I have add this piece of code in apps/openssl.c > > > > recompile and problem is the same > Did you add in main() code to activate this callbacks ? > Something like that: > > { > int i; >/* static locks area */ > mutex_b

Re: openssl with accelerator

2007-08-13 Thread Jan Klever
Hi, Piotr Skwarna wrote: >>> bash-2.03# ./openssl speed rsa512 -engine chil >>> can't use that engine >>> 17391:error:84067072: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() >>> 17391:er

Re: openssl with accelerator

2007-08-13 Thread Sander Temme
On Aug 7, 2007, at 11:24 PM, Piotr Skwarna wrote: bash-2.03# uname -a SunOS sun250 5.8 Generic_117350-35 sun4u sparc SUNW,Ultra-250 bash-2.03# ./openssl speed rsa -engine ubsec can't use that engine 28137:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dl

Re: openssl with accelerator

2007-08-13 Thread Marek Marcola
Hello, > I have add this piece of code in apps/openssl.c > > recompile and problem is the same Did you add in main() code to activate this callbacks ? Something like that: { int i; /* static locks area */ mutex_buf = malloc(CRYPTO_num_locks() * sizeof(pthread_mutex_t)); if (mute

Re: openssl with accelerator

2007-08-13 Thread Piotr Skwarna
> > > > simmilar problem :( > > > > bash-2.03# ./openssl speed rsa512 -engine chil > > can't use that engine > > 17391:error:84067072: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() > > 17

Re: openssl with accelerator

2007-08-09 Thread Marek Marcola
Hello, > > > I have problem with openssl cooperating with nCipher > (nShield F3) engine > > > > bash-2.03# uname -a > > SunOS sun250 5.8 Generic_117350-35 sun4u sparc > SUNW,Ultra-250 > > > > bash-2.03# ./openssl speed rsa -e

Re: openssl with accelerator

2007-08-09 Thread Piotr Skwarna
2007/8/8, Goetz Babin-Ebell <[EMAIL PROTECTED]>: > > > > > I have problem with openssl cooperating with nCipher (nShield F3) > engine > > > > bash-2.03# uname -a > > SunOS sun250 5.8 Generic_117350-35 sun4u sparc SUNW,Ultra-250 > > > > bash-2.03# ./openssl speed rsa -engine ubsec > > can't use tha

Re: openssl with accelerator

2007-08-08 Thread Goetz Babin-Ebell
--On August 08, 2007 08:24:10 +0200 Piotr Skwarna <[EMAIL PROTECTED]> wrote: Hello Hello Piotr, I have problem with openssl cooperating with nCipher (nShield F3) engine bash-2.03# uname -a SunOS sun250 5.8 Generic_117350-35 sun4u sparc SUNW,Ultra-250 bash-2.03# ./openssl speed rsa -eng

openssl with accelerator

2007-08-07 Thread Piotr Skwarna
Hello I have problem with openssl cooperating with nCipher (nShield F3) engine bash-2.03# uname -a SunOS sun250 5.8 Generic_117350-35 sun4u sparc SUNW,Ultra-250 bash-2.03# ./openssl speed rsa -engine ubsec can't use that engine 28137:error:25066067:DSO support routines:DLFCN_LOAD:could not l