On Thu, 25 May 2006, Alex Dubov wrote:

> > > Hello.
> > > I was working on apache project using openssl and
> > > found that using larger integers in cfb128 xor
> > > improves performance by more than 50% in most
> > cases.
> > > There are no drawbacks whatsoever, except the look.
...
--- aes_cfb.c.prev      2006-05-25 15:34:04.000000000 +1000
+++ aes_cfb.c   2006-05-26 14:27:43.000000000 +1000
@@ -125,34 +125,69 @@
        const unsigned long length, const AES_KEY *key,
        unsigned char *ivec, int *num, const int enc) {
 
+#define u64 unsigned long long
...

What about the platforms that don't have "long long"?

-- 
Tim Rice                                Multitalents    (707) 887-1469
[EMAIL PROTECTED]


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to