From e1bb57b2d85c0268feab9b07dd5ecbdb8402de58 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Wed, 28 Sep 2005 15:57:21 +0200
Subject: [PATCH] New comment.

Rev: src/nettle/x86/sha1-compress.asm:1.7
---
 x86/sha1-compress.asm | 3 +++
 1 file changed, 3 insertions(+)

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(<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
-- 
GitLab