summaryrefslogtreecommitdiff
path: root/ms
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-01-04 00:48:14 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-01-04 00:48:14 +0000
commit4664eb52301d01dab5208eeb27d1c9e29accc312 (patch)
tree2734eb438b805da42755a80913c4471b841bf0ac /ms
parent744ecaa5b6c024c4dfb9036e5efb65f7fec4f784 (diff)
downloadopenssl-new-4664eb52301d01dab5208eeb27d1c9e29accc312.tar.gz
Update WIN32 nasm build to use new asm files.
Diffstat (limited to 'ms')
-rwxr-xr-xms/do_nasm.bat34
1 files changed, 22 insertions, 12 deletions
diff --git a/ms/do_nasm.bat b/ms/do_nasm.bat
index 2ec17a3488..c76d4b8ee2 100755
--- a/ms/do_nasm.bat
+++ b/ms/do_nasm.bat
@@ -1,67 +1,77 @@
@echo off
+
+SET ASMOPTS=-DOPENSSL_IA32_SSE2
echo Generating x86 for NASM assember
echo Bignum
cd crypto\bn\asm
-perl x86.pl win32n > bn_win32.asm
+perl bn-586.pl win32n %ASMOPTS% > bn_win32.asm
+perl co-586.pl win32n %ASMOPTS% > co_win32.asm
+cd ..\..\..
+
+echo AES
+cd crypto\aes\asm
+perl aes-586.pl win32n %ASMOPTS% > a_win32.asm
cd ..\..\..
echo DES
cd crypto\des\asm
-perl des-586.pl win32n > d_win32.asm
+perl des-586.pl win32n %ASMOPTS% > d_win32.asm
cd ..\..\..
echo "crypt(3)"
cd crypto\des\asm
-perl crypt586.pl win32n > y_win32.asm
+perl crypt586.pl win32n %ASMOPTS% > y_win32.asm
cd ..\..\..
echo Blowfish
cd crypto\bf\asm
-perl bf-586.pl win32n > b_win32.asm
+perl bf-586.pl win32n %ASMOPTS% > b_win32.asm
cd ..\..\..
echo CAST5
cd crypto\cast\asm
-perl cast-586.pl win32n > c_win32.asm
+perl cast-586.pl win32n %ASMOPTS% > c_win32.asm
cd ..\..\..
echo RC4
cd crypto\rc4\asm
-perl rc4-586.pl win32n > r4_win32.asm
+perl rc4-586.pl win32n %ASMOPTS% > r4_win32.asm
cd ..\..\..
echo MD5
cd crypto\md5\asm
-perl md5-586.pl win32n > m5_win32.asm
+perl md5-586.pl win32n %ASMOPTS% > m5_win32.asm
cd ..\..\..
echo SHA1
cd crypto\sha\asm
-perl sha1-586.pl win32n > s1_win32.asm
+perl sha1-586.pl win32n %ASMOPTS% > s1_win32.asm
+perl sha256-586.pl win32n %ASMOPTS% > sha256_win32.asm
+perl sha512-586.pl win32n %ASMOPTS% > sha512_win32.asm
cd ..\..\..
echo RIPEMD160
cd crypto\ripemd\asm
-perl rmd-586.pl win32n > rm_win32.asm
+perl rmd-586.pl win32n %ASMOPTS% > rm_win32.asm
cd ..\..\..
echo RC5\32
cd crypto\rc5\asm
-perl rc5-586.pl win32n > r5_win32.asm
+perl rc5-586.pl win32n %ASMOPTS% > r5_win32.asm
cd ..\..\..
echo Whirlpool
cd crypto\whrlpool\asm
-perl wp-mmx.pl win32n > wp_win32.asm
+perl wp-mmx.pl win32n %ASMOPTS% > wp_win32.asm
cd ..\..\..
echo CPU-ID
cd crypto
-perl x86cpuid.pl win32n > cpu_win32.asm
+perl x86cpuid.pl win32n %ASMOPTS% > cpu_win32.asm
cd ..
echo on