From: Andy Polyakov Date: Fri, 10 Dec 2004 13:15:55 +0000 (+0000) Subject: Solaris x86 assembler update. X-Git-Tag: BEN_FIPS_TEST_6~4 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a4a88eea039609c9090c363c5fdecaac39136f3c;p=oweals%2Fopenssl.git Solaris x86 assembler update. --- diff --git a/fips/sha1/asm/sx86-elf.s b/fips/sha1/asm/sx86-elf.s index a9799688a9..2a4d98791d 100644 --- a/fips/sha1/asm/sx86-elf.s +++ b/fips/sha1/asm/sx86-elf.s @@ -32,97 +32,97 @@ sha1_block_asm_data_order: movl (%esi), %eax movl 4(%esi), %ecx - xchg %al, %ah + xchgb %al, %ah rorl $16, %eax - xchg %al, %ah + xchgb %al, %ah - xchg %cl, %ch + xchgb %cl, %ch rorl $16, %ecx - xchg %cl, %ch + xchgb %cl, %ch movl %eax, (%esp) movl %ecx, 4(%esp) movl 8(%esi), %eax movl 12(%esi), %ecx - xchg %al, %ah + xchgb %al, %ah rorl $16, %eax - xchg %al, %ah + xchgb %al, %ah - xchg %cl, %ch + xchgb %cl, %ch rorl $16, %ecx - xchg %cl, %ch + xchgb %cl, %ch movl %eax, 8(%esp) movl %ecx, 12(%esp) movl 16(%esi), %eax movl 20(%esi), %ecx - xchg %al, %ah + xchgb %al, %ah rorl $16, %eax - xchg %al, %ah + xchgb %al, %ah - xchg %cl, %ch + xchgb %cl, %ch rorl $16, %ecx - xchg %cl, %ch + xchgb %cl, %ch movl %eax, 16(%esp) movl %ecx, 20(%esp) movl 24(%esi), %eax movl 28(%esi), %ecx - xchg %al, %ah + xchgb %al, %ah rorl $16, %eax - xchg %al, %ah + xchgb %al, %ah - xchg %cl, %ch + xchgb %cl, %ch rorl $16, %ecx - xchg %cl, %ch + xchgb %cl, %ch movl %eax, 24(%esp) movl %ecx, 28(%esp) movl 32(%esi), %eax movl 36(%esi), %ecx - xchg %al, %ah + xchgb %al, %ah rorl $16, %eax - xchg %al, %ah + xchgb %al, %ah - xchg %cl, %ch + xchgb %cl, %ch rorl $16, %ecx - xchg %cl, %ch + xchgb %cl, %ch movl %eax, 32(%esp) movl %ecx, 36(%esp) movl 40(%esi), %eax movl 44(%esi), %ecx - xchg %al, %ah + xchgb %al, %ah rorl $16, %eax - xchg %al, %ah + xchgb %al, %ah - xchg %cl, %ch + xchgb %cl, %ch rorl $16, %ecx - xchg %cl, %ch + xchgb %cl, %ch movl %eax, 40(%esp) movl %ecx, 44(%esp) movl 48(%esi), %eax movl 52(%esi), %ecx - xchg %al, %ah + xchgb %al, %ah rorl $16, %eax - xchg %al, %ah + xchgb %al, %ah - xchg %cl, %ch + xchgb %cl, %ch rorl $16, %ecx - xchg %cl, %ch + xchgb %cl, %ch movl %eax, 48(%esp) movl %ecx, 52(%esp) movl 56(%esi), %eax movl 60(%esi), %ecx - xchg %al, %ah + xchgb %al, %ah rorl $16, %eax - xchg %al, %ah + xchgb %al, %ah - xchg %cl, %ch + xchgb %cl, %ch rorl $16, %ecx - xchg %cl, %ch + xchgb %cl, %ch movl %eax, 56(%esp) movl %ecx, 60(%esp) diff --git a/fips/sha1/fingerprint.sha1 b/fips/sha1/fingerprint.sha1 index 2f2d0896c0..92225550a4 100644 --- a/fips/sha1/fingerprint.sha1 +++ b/fips/sha1/fingerprint.sha1 @@ -1,5 +1,5 @@ HMAC-SHA1(fips_sha1dgst.c)= 10575600a9540eb15188a7d3b0b031e60aedbc18 HMAC-SHA1(fips_sha1_selftest.c)= 98910a0c85eff1688bd7adb23e738dc75b39546e -HMAC-SHA1(asm/sx86-elf.s)= cb91f86229e31e8093174604a3191321b23aac33 +HMAC-SHA1(asm/sx86-elf.s)= ae66fb23ab8e1a2287e87a0a2dd30a4b9039fe63 HMAC-SHA1(fips_sha_locl.h)= 4a83a6c5181483244e0f44a902225425835f54bc HMAC-SHA1(fips_md32_common.h)= 1c7e761db430067391b1b7b86da5d2bf6df92834 diff --git a/fips/sha1/standalone.sha1 b/fips/sha1/standalone.sha1 index 075b150b93..819654a886 100644 --- a/fips/sha1/standalone.sha1 +++ b/fips/sha1/standalone.sha1 @@ -1,6 +1,6 @@ HMAC-SHA1(fips_sha1dgst.c)= 10575600a9540eb15188a7d3b0b031e60aedbc18 HMAC-SHA1(fips_sha1_selftest.c)= 98910a0c85eff1688bd7adb23e738dc75b39546e -HMAC-SHA1(asm/sx86-elf.s)= cb91f86229e31e8093174604a3191321b23aac33 +HMAC-SHA1(asm/sx86-elf.s)= ae66fb23ab8e1a2287e87a0a2dd30a4b9039fe63 HMAC-SHA1(fips_standalone_sha1.c)= 93203c569097189b47a0085bc9fc55193867d4ce HMAC-SHA1(fips_sha_locl.h)= 4a83a6c5181483244e0f44a902225425835f54bc HMAC-SHA1(fips_md32_common.h)= 1c7e761db430067391b1b7b86da5d2bf6df92834