Hi there, > I use openssl-engine-0.9.6.c in conjunction with a cryptoswift card. > To test it, I did a "openssl speed -engine cswift". > First everything seemed to work fine - astonishingly most operations > were performed in exactly 2.99 secs - but then errors occured. > I include the relevant lines of output below. > Maybe someone could explain to me what happened?
The first error line tells you; > 5272:error:2606607A:engine routines:CSWIFT_MOD_EXP:size too large or too > small:hw_cswift.c:391: The cryptoswift engine implementation doesn't support the use of keys that large. Try specifying "rsa1024"/"rsa512" etc when using "speed". Also for timing hardware crypto, you may want to use the "-elapsed" switch. The more accurate timing method measures CPU usage to calculate the rate of operations, eg. in case the system does something else while you're running benchmarks. The problem with hardware is that the process calling the crypto operation is often sleeping waiting for the device to respond and that time isn't counted, so the rate appears much higher than the actual rate of crypto operations per second. Cheers, Geoff ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]