From: [EMAIL PROTECTED] levitte> The test results show a performance that very closely levitte> matches the original code from before my constification. levitte> This may seem like a very small win from a performance levitte> point of view, but if one remembers that the variants of levitte> bn_cmp_words(), bn_add_words() and bn_sub_words() are not levitte> at all optimized for the moment (and there's no levitte> corresponding assembler code), and that their use may be levitte> just as non-optimal, I'm pretty confident there are levitte> possibilities... If you're interested in numbers, this is the final result of 'openssl speed rsa' in the ASN1 branch (it contains the non-constified BIGNUM code): sign verify sign/s verify/s rsa 512 bits 0.0052s 0.0005s 191.9 1951.7 rsa 1024 bits 0.0282s 0.0015s 35.4 654.8 rsa 2048 bits 0.1739s 0.0052s 5.7 192.8 rsa 4096 bits 1.1811s 0.0181s 0.8 55.1 and this is with the code that I just commited: sign verify sign/s verify/s rsa 512 bits 0.0052s 0.0005s 193.4 1955.7 rsa 1024 bits 0.0280s 0.0015s 35.7 654.0 rsa 2048 bits 0.1733s 0.0052s 5.8 193.5 rsa 4096 bits 1.1811s 0.0181s 0.8 55.2 -- Richard Levitte \ Spannvägen 38, II \ [EMAIL PROTECTED] Chairman@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47 Redakteur@Stacken \ SWEDEN \ or +46-709-50 36 10 Procurator Odiosus Ex Infernis -- [EMAIL PROTECTED] Member of the OpenSSL development team: http://www.openssl.org/ Software Engineer, Celo Communications: http://www.celocom.com/ Unsolicited commercial email is subject to an archival fee of $400. See <http://www.stacken.kth.se/~levitte/mail/> for more info. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: cvs commit: openssl/crypto/bn bn_mul.c
Richard Levitte - VMS Whacker Sat, 18 Nov 2000 15:13:04 -0800
- Re: cvs commit: openssl/crypto/bn bn_mul.c Richard Levitte - VMS Whacker
- Re: cvs commit: openssl/crypto/bn bn_mu... Richard Levitte - VMS Whacker
- Re: cvs commit: openssl/crypto/bn b... Mads Toftum
- Re: cvs commit: openssl/crypto/bn b... Sean O'Riordain