From 06ac56113eebe754114fa1da9334bcdc261165c2 Mon Sep 17 00:00:00 2001 From: lloyd Date: Sun, 13 Aug 2006 15:23:48 +0000 Subject: Minor formatting changes, reorder one instruction --- modules/alg_ia32/sha1core.S | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/alg_ia32/sha1core.S b/modules/alg_ia32/sha1core.S index 7dc86fa0d..45f95947d 100644 --- a/modules/alg_ia32/sha1core.S +++ b/modules/alg_ia32/sha1core.S @@ -36,7 +36,6 @@ START_LOOP(.LOAD_INPUT) ASSIGN(ARRAY4_INDIRECT(EDI,ESI,-3), EBX) ASSIGN(ARRAY4_INDIRECT(EDI,ESI,-2), ECX) ASSIGN(ARRAY4_INDIRECT(EDI,ESI,-1), EDX) - LOOP_UNTIL(ESI, IMM(16), .LOAD_INPUT) ADD2_IMM(EBP, EDI, 64) @@ -45,7 +44,6 @@ START_LOOP(.EXPANSION) ADD_IMM(ESI, 4) ZEROIZE(EAX) - ASSIGN(EBX, ARRAY4(EBP, -1)) ASSIGN(ECX, ARRAY4(EBP, -2)) ASSIGN(EDX, ARRAY4(EBP, -3)) @@ -119,8 +117,8 @@ LOOP_UNTIL(ESI, IMM(80), .EXPANSION) ADD(E, ARRAY4(EDI, MSG)) ; \ ASSIGN(T, B) ; \ OR(T, C) ; \ - ASSIGN(ARRAY4(EDI, MSG), B) ; \ AND(T, D) ; \ + ASSIGN(ARRAY4(EDI, MSG), B) ; \ AND(ARRAY4(EDI, MSG), C) ; \ OR(T, ARRAY4(EDI, MSG)) ; \ ROTR_IMM(B, 2) ; \ -- cgit v1.2.3