diff --git a/x86/sha1-compress.asm b/x86/sha1-compress.asm index 27a1e22408c22476f7440d6f5b544a90f94009e4..00d8d83672b495878e04ea7f7a87388ded4a2e93 100644 --- a/x86/sha1-compress.asm +++ b/x86/sha1-compress.asm @@ -101,6 +101,9 @@ define(<ROUND>, < 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