aboutsummaryrefslogtreecommitdiff
path: root/openssl/ms/do_masm.bat
blob: a8575321f9b8a7b322428665cb205a97c40ddb79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
@SET ASMOPTS=-DOPENSSL_IA32_SSE2
@echo Generating x86 for MASM assember

@echo Bignum
@cd crypto\bn\asm
@perl bn-586.pl win32 %ASMOPTS% > bn_win32.asm
@perl co-586.pl win32 %ASMOPTS% > co_win32.asm
@perl mo-586.pl win32 %ASMOPTS% > mt_win32.asm
@cd ..\..\..

@echo AES
@cd crypto\aes\asm
@perl aes-586.pl win32 %ASMOPTS% > a_win32.asm
@cd ..\..\..

@echo DES
@cd crypto\des\asm
@perl des-586.pl win32 %ASMOPTS% > d_win32.asm
@cd ..\..\..

@echo "crypt(3)"

@cd crypto\des\asm
@perl crypt586.pl win32 %ASMOPTS% > y_win32.asm
@cd ..\..\..

@echo Blowfish

@cd crypto\bf\asm
@perl bf-586.pl win32 %ASMOPTS% > b_win32.asm
@cd ..\..\..

@echo CAST5
@cd crypto\cast\asm
@perl cast-586.pl win32 %ASMOPTS% > c_win32.asm
@cd ..\..\..

@echo RC4
@cd crypto\rc4\asm
@perl rc4-586.pl win32 %ASMOPTS% > r4_win32.asm
@cd ..\..\..

@echo MD5
@cd crypto\md5\asm
@perl md5-586.pl win32 %ASMOPTS% > m5_win32.asm
@cd ..\..\..

@echo SHA1
@cd crypto\sha\asm
@perl sha1-586.pl win32 %ASMOPTS% > s1_win32.asm
@perl sha512-sse2.pl win32 %ASMOPTS% > sha512-sse2.asm
@cd ..\..\..

@echo RIPEMD160
@cd crypto\ripemd\asm
@perl rmd-586.pl win32 %ASMOPTS% > rm_win32.asm
@cd ..\..\..

@echo RC5\32
@cd crypto\rc5\asm
@perl rc5-586.pl win32 %ASMOPTS% > r5_win32.asm
@cd ..\..\..

@echo CPU-ID
@cd crypto
@perl x86cpuid.pl win32 %ASMOPTS% > cpu_win32.asm
@cd ..

perl util\mkfiles.pl >MINFO
perl util\mk1mf.pl VC-WIN32 >ms\nt.mak
perl util\mk1mf.pl dll VC-WIN32 >ms\ntdll.mak

perl util\mkdef.pl 32 libeay > ms\libeay32.def
perl util\mkdef.pl 32 ssleay > ms\ssleay32.def