summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2004-04-11 16:53:43 +0000
committerBen Laurie <ben@openssl.org>2004-04-11 16:53:43 +0000
commite68eff14659b6d0dbe569724b24e8c8e84cb94a1 (patch)
tree58c5c9be2c45b6999d9424de6f36f1b2360b7647
parent43a6d78bccef244103ae076d934b8c7bed5d4589 (diff)
Fingerprint SHA-1 asm.
-rwxr-xr-xfips/fips_make_sha14
-rw-r--r--fips/sha1/Makefile2
-rw-r--r--fips/sha1/fingerprint.sha11
-rw-r--r--fips/sha1/standalone.sha11
4 files changed, 5 insertions, 3 deletions
diff --git a/fips/fips_make_sha1 b/fips/fips_make_sha1
index e7ccd7759e..3139d9f528 100755
--- a/fips/fips_make_sha1
+++ b/fips/fips_make_sha1
@@ -3,7 +3,7 @@
S=`pwd`/fips/sha1/fips_standalone_sha1
cd fips/sha1
-$S fips_sha1dgst.c fips_sha1_selftest.c fips_standalone_sha1.c fips_sha_locl.h fips_md32_common.h > standalone.sha1
+$S fips_sha1dgst.c fips_sha1_selftest.c asm/sx86-elf.s fips_standalone_sha1.c fips_sha_locl.h fips_md32_common.h > standalone.sha1
cd ..
$S fips.c fips_err_wrapper.c fips.h fips_err.h > fingerprint.sha1
@@ -12,7 +12,7 @@ cd rand
$S fips_rand.c fips_rand.h > fingerprint.sha1
cd ../sha1
-$S fips_sha1dgst.c fips_sha1_selftest.c fips_sha_locl.h fips_md32_common.h > fingerprint.sha1
+$S fips_sha1dgst.c fips_sha1_selftest.c asm/sx86-elf.s fips_sha_locl.h fips_md32_common.h > fingerprint.sha1
cd ../aes
$S fips_aes_core.c fips_aes_selftest.c fips_aes_locl.h > fingerprint.sha1
diff --git a/fips/sha1/Makefile b/fips/sha1/Makefile
index 2d56960df6..922897cc79 100644
--- a/fips/sha1/Makefile
+++ b/fips/sha1/Makefile
@@ -24,7 +24,7 @@ APPS=
EXE= fips_standalone_sha1
LIB=$(TOP)/libcrypto.a
-LIBSRC=fips_sha1dgst.c fips_sha1_selftest.c
+LIBSRC=fips_sha1dgst.c fips_sha1_selftest.c asm/sx86-elf.s
LIBOBJ=fips_sha1dgst.o fips_sha1_selftest.o $(FIPS_SHA1_ASM_OBJ)
SRC= $(LIBSRC) fips_standalone_sha1.c
diff --git a/fips/sha1/fingerprint.sha1 b/fips/sha1/fingerprint.sha1
index 9528c639df..e0ea1f1709 100644
--- a/fips/sha1/fingerprint.sha1
+++ b/fips/sha1/fingerprint.sha1
@@ -1,4 +1,5 @@
HMAC-SHA1(fips_sha1dgst.c)= 10575600a9540eb15188a7d3b0b031e60aedbc18
HMAC-SHA1(fips_sha1_selftest.c)= 9719f7e68950250ce4b7726be3e560c24cd72a32
+HMAC-SHA1(asm/sx86-elf.s)= 6286cba0ea3b071e67ab5c1e607d1387de6a871d
HMAC-SHA1(fips_sha_locl.h)= 199ceca9016ba5514997ce1fcd22be7d4f66e9b5
HMAC-SHA1(fips_md32_common.h)= 4dd5d27e9bedbbaab6c6c5536b254e040137471e
diff --git a/fips/sha1/standalone.sha1 b/fips/sha1/standalone.sha1
index 63a1b37539..9d6e631874 100644
--- a/fips/sha1/standalone.sha1
+++ b/fips/sha1/standalone.sha1
@@ -1,5 +1,6 @@
HMAC-SHA1(fips_sha1dgst.c)= 10575600a9540eb15188a7d3b0b031e60aedbc18
HMAC-SHA1(fips_sha1_selftest.c)= 9719f7e68950250ce4b7726be3e560c24cd72a32
+HMAC-SHA1(asm/sx86-elf.s)= 6286cba0ea3b071e67ab5c1e607d1387de6a871d
HMAC-SHA1(fips_standalone_sha1.c)= c17f83ccfe601558b33b6df27d2d82887b8c9dc2
HMAC-SHA1(fips_sha_locl.h)= 199ceca9016ba5514997ce1fcd22be7d4f66e9b5
HMAC-SHA1(fips_md32_common.h)= 4dd5d27e9bedbbaab6c6c5536b254e040137471e