Hi, 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?
Thanks, Gerd [...] Doing 4096 bit private rsa's for 10s: 64 4096 bit private RSA's in 0.02s RSA verify failure. No RSA verify will be done. 5272:error:2606607A:engine routines:CSWIFT_MOD_EXP:size too large or too small:hw_cswift.c:391: Doing 512 bit sign dsa's for 10s: 1033 512 bit DSA signs in 0.10s Doing 512 bit verify dsa's for 10s: 1802 512 bit DSA verify in 0.20s Doing 1024 bit sign dsa's for 10s: 331 1024 bit DSA signs in 0.02s Doing 1024 bit verify dsa's for 10s: 1152 1024 bit DSA verify in 0.11s DSA sign failure. No DSA sign will be done. 5272:error:2608507A:engine routines:CSWIFT_DSA_SIGN:size too large or too small:hw_cswift.c:637: DSA verify failure. No DSA verify will be done. 5272:error:0D06B078:asn1 encoding routines:ASN1_get_object:header too long:asn1_lib.c:139: 5272:error:0A06E004:dsa routines:d2i_DSA_SIG:nested asn1 error:dsa_asn1.c:92: OpenSSL 0.9.6c [engine] 21 dec 2001 built on: Thu Feb 7 09:55:24 CET 2002 options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) idea(int) blowfish(idx) compiler: gcc -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -m486 -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM [...] -- ------------------------------------------------------ -- Gerd Schering, Email: [EMAIL PROTECTED] -- ------------------------------------------------------ ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]