I thought all major compilers have sort of long long,
didn't them? After all, emulated long long is still
only two integer xors as opposed to 8 with char.

--- Tim Rice <[EMAIL PROTECTED]> wrote:

> 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                      
> [email protected]
> Automated List Manager                          
> [EMAIL PROTECTED]
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to