aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-01-05 00:45:27 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-01-05 00:45:27 +0000
commit9911b7496ff652e27a0bcba6a61dcd82498e524a (patch)
tree642985abf30fef02dff6f5eef958ab61f8ddf1a5
parent3dbd453f41109e79d201e068ec9e54070a7b0a4f (diff)
downloadopenssl-9911b7496ff652e27a0bcba6a61dcd82498e524a.tar.gz
Include Mont asm files in WIN32 build.
-rwxr-xr-xms/do_nasm.bat1
-rw-r--r--util/pl/VC-32.pl8
2 files changed, 5 insertions, 4 deletions
diff --git a/ms/do_nasm.bat b/ms/do_nasm.bat
index c76d4b8ee2..7cceea023a 100755
--- a/ms/do_nasm.bat
+++ b/ms/do_nasm.bat
@@ -8,6 +8,7 @@ echo Bignum
cd crypto\bn\asm
perl bn-586.pl win32n %ASMOPTS% > bn_win32.asm
perl co-586.pl win32n %ASMOPTS% > co_win32.asm
+perl x86-mont.pl win32n %ASMOPTS% > mo_win32.asm
cd ..\..\..
echo AES
diff --git a/util/pl/VC-32.pl b/util/pl/VC-32.pl
index b92e8fa205..5cdf62264f 100644
--- a/util/pl/VC-32.pl
+++ b/util/pl/VC-32.pl
@@ -185,8 +185,8 @@ if (!$no_asm)
{
$aes_asm_obj='crypto\aes\asm\a_win32.obj';
$aes_asm_src='crypto\aes\asm\a_win32.asm';
- $bn_asm_obj='crypto\bn\asm\bn_win32.obj';
- $bn_asm_src='crypto\bn\asm\bn_win32.asm';
+ $bn_asm_obj='crypto\bn\asm\bn_win32.obj crypto\bn\asm\mo_win32.obj';
+ $bn_asm_src='crypto\bn\asm\bn_win32.asm crypto\bn\asm\mo_win32.asm';
$bnco_asm_obj='crypto\bn\asm\co_win32.obj';
$bnco_asm_src='crypto\bn\asm\co_win32.asm';
$des_enc_obj='crypto\des\asm\d_win32.obj crypto\des\asm\y_win32.obj';
@@ -210,8 +210,8 @@ if (!$no_asm)
$cpuid_asm_obj='crypto\cpu_win32.obj';
$cpuid_asm_src='crypto\cpu_win32.asm';
$cflags.=" -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2";
- $cflags.=" -DAES_ASM -DOPENSSL_BN_ASM_PART_WORDS -DBN_ASM -DMD5_ASM";
- $cflags.=" -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM";
+ $cflags.=" -DOPENSSL_BN_ASM_PART_WORDS -DBN_ASM -DOPENSSL_BN_ASM_MONT";
+ $cflags.=" -DAES_ASM -DMD5_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM";
$cflags.=" -DRMD160_ASM -DWHIRLPOOL_ASM";
}