suggested change for cipher/sha1.c's M(i) macro

Werner Koch wk at
Tue Sep 19 11:51:59 CEST 2000

On Sun, 17 Sep 2000, Jim Meyering wrote:

> Please consider using `rol( tm, 1 )' in place of the functionally
> equivalent `(tm << 1) | (tm >> 31)'.

Okay, I can do so.  However, at least gcc 2.95.2 does optimize this
construct to rol() anyway.  I benchmarked both versions and there is
no difference.


Werner Koch				GnuPG key:  621CC013
OpenIT GmbH                   

More information about the Gnupg-devel mailing list