From: Niels Möller Date: Wed, 28 Sep 2005 13:57:21 +0000 (+0200) Subject: New comment. X-Git-Tag: nettle_1.13_release_20051006~33 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e1bb57b2d85c0268feab9b07dd5ecbdb8402de58;p=thirdparty%2Fnettle.git New comment. Rev: src/nettle/x86/sha1-compress.asm:1.7 --- diff --git a/x86/sha1-compress.asm b/x86/sha1-compress.asm index 27a1e224..00d8d836 100644 --- a/x86/sha1-compress.asm +++ b/x86/sha1-compress.asm @@ -101,6 +101,9 @@ define(, < addl $7, $5 $6($2,$3,$4) addl TMP, $5 + +C Using the TMP register can be avoided, by rotating $1 in place, +C adding, and then rotating back. movl $1, TMP roll <$>5, TMP addl TMP, $5