Skip to content

Commit

Permalink
Disable MD5 ASM
Browse files Browse the repository at this point in the history
  • Loading branch information
botovq committed Jan 24, 2025
1 parent 49aacfc commit 7428e55
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 17 deletions.
8 changes: 0 additions & 8 deletions crypto/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ if(HOST_ASM_ELF_X86_64)
bn/modexp512-elf-x86_64.S
bn/mont-elf-x86_64.S
bn/mont5-elf-x86_64.S
md5/md5-elf-x86_64.S
modes/ghash-elf-x86_64.S
rc4/rc4-elf-x86_64.S

Expand All @@ -55,7 +54,6 @@ if(HOST_ASM_ELF_X86_64)
add_definitions(-DOPENSSL_IA32_SSE2)
add_definitions(-DOPENSSL_BN_ASM_MONT)
add_definitions(-DOPENSSL_BN_ASM_MONT5)
add_definitions(-DMD5_ASM)
add_definitions(-DGHASH_ASM)
add_definitions(-DRSA_ASM)
set(CRYPTO_SRC ${CRYPTO_SRC} ${ASM_X86_64_ELF_SRC})
Expand All @@ -71,7 +69,6 @@ if(HOST_ASM_MACOSX_X86_64)
bn/modexp512-macosx-x86_64.S
bn/mont-macosx-x86_64.S
bn/mont5-macosx-x86_64.S
md5/md5-macosx-x86_64.S
modes/ghash-macosx-x86_64.S
rc4/rc4-macosx-x86_64.S

Expand All @@ -94,7 +91,6 @@ if(HOST_ASM_MACOSX_X86_64)
add_definitions(-DOPENSSL_IA32_SSE2)
add_definitions(-DOPENSSL_BN_ASM_MONT)
add_definitions(-DOPENSSL_BN_ASM_MONT5)
add_definitions(-DMD5_ASM)
add_definitions(-DGHASH_ASM)
add_definitions(-DRSA_ASM)
set(CRYPTO_SRC ${CRYPTO_SRC} ${ASM_X86_64_MACOSX_SRC})
Expand All @@ -111,7 +107,6 @@ if(HOST_ASM_MASM_X86_64)
#bn/modexp512-masm-x86_64.S
#bn/mont-masm-x86_64.S
#bn/mont5-masm-x86_64.S
md5/md5-masm-x86_64.S
modes/ghash-masm-x86_64.S
rc4/rc4-masm-x86_64.S
)
Expand All @@ -122,7 +117,6 @@ if(HOST_ASM_MASM_X86_64)
add_definitions(-DOPENSSL_IA32_SSE2)
#add_definitions(-DOPENSSL_BN_ASM_MONT)
#add_definitions(-DOPENSSL_BN_ASM_MONT5)
add_definitions(-DMD5_ASM)
add_definitions(-DGHASH_ASM)
add_definitions(-DRSA_ASM)
set(CRYPTO_SRC ${CRYPTO_SRC} ${ASM_X86_64_MASM_SRC})
Expand All @@ -139,7 +133,6 @@ if(HOST_ASM_MINGW64_X86_64)
#bn/modexp512-mingw64-x86_64.S
#bn/mont-mingw64-x86_64.S
#bn/mont5-mingw64-x86_64.S
md5/md5-mingw64-x86_64.S
modes/ghash-mingw64-x86_64.S
rc4/rc4-mingw64-x86_64.S
)
Expand All @@ -150,7 +143,6 @@ if(HOST_ASM_MINGW64_X86_64)
add_definitions(-DOPENSSL_IA32_SSE2)
#add_definitions(-DOPENSSL_BN_ASM_MONT)
#add_definitions(-DOPENSSL_BN_ASM_MONT5)
add_definitions(-DMD5_ASM)
add_definitions(-DGHASH_ASM)
add_definitions(-DRSA_ASM)
set(CRYPTO_SRC ${CRYPTO_SRC} ${ASM_X86_64_MINGW64_SRC})
Expand Down
2 changes: 0 additions & 2 deletions crypto/Makefile.am.elf-x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ ASM_X86_64_ELF += aes/aesni-elf-x86_64.S
ASM_X86_64_ELF += bn/modexp512-elf-x86_64.S
ASM_X86_64_ELF += bn/mont-elf-x86_64.S
ASM_X86_64_ELF += bn/mont5-elf-x86_64.S
ASM_X86_64_ELF += md5/md5-elf-x86_64.S
ASM_X86_64_ELF += modes/ghash-elf-x86_64.S
ASM_X86_64_ELF += rc4/rc4-elf-x86_64.S

Expand All @@ -32,7 +31,6 @@ libcrypto_la_CPPFLAGS += -DVPAES_ASM
libcrypto_la_CPPFLAGS += -DOPENSSL_IA32_SSE2
libcrypto_la_CPPFLAGS += -DOPENSSL_BN_ASM_MONT
libcrypto_la_CPPFLAGS += -DOPENSSL_BN_ASM_MONT5
libcrypto_la_CPPFLAGS += -DMD5_ASM
libcrypto_la_CPPFLAGS += -DGHASH_ASM
libcrypto_la_CPPFLAGS += -DRSA_ASM
libcrypto_la_SOURCES += $(ASM_X86_64_ELF)
Expand Down
2 changes: 0 additions & 2 deletions crypto/Makefile.am.macosx-x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ ASM_X86_64_MACOSX += aes/aesni-macosx-x86_64.S
ASM_X86_64_MACOSX += bn/modexp512-macosx-x86_64.S
ASM_X86_64_MACOSX += bn/mont-macosx-x86_64.S
ASM_X86_64_MACOSX += bn/mont5-macosx-x86_64.S
ASM_X86_64_MACOSX += md5/md5-macosx-x86_64.S
ASM_X86_64_MACOSX += modes/ghash-macosx-x86_64.S
ASM_X86_64_MACOSX += rc4/rc4-macosx-x86_64.S

Expand All @@ -32,7 +31,6 @@ libcrypto_la_CPPFLAGS += -DVPAES_ASM
libcrypto_la_CPPFLAGS += -DOPENSSL_IA32_SSE2
libcrypto_la_CPPFLAGS += -DOPENSSL_BN_ASM_MONT
libcrypto_la_CPPFLAGS += -DOPENSSL_BN_ASM_MONT5
libcrypto_la_CPPFLAGS += -DMD5_ASM
libcrypto_la_CPPFLAGS += -DGHASH_ASM
libcrypto_la_CPPFLAGS += -DRSA_ASM
libcrypto_la_SOURCES += $(ASM_X86_64_MACOSX)
Expand Down
2 changes: 0 additions & 2 deletions crypto/Makefile.am.masm-x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ ASM_X86_64_MASM += aes/aesni-masm-x86_64.S
ASM_X86_64_MASM += bn/modexp512-masm-x86_64.S
ASM_X86_64_MASM += bn/mont-masm-x86_64.S
ASM_X86_64_MASM += bn/mont5-masm-x86_64.S
ASM_X86_64_MASM += md5/md5-masm-x86_64.S
ASM_X86_64_MASM += modes/ghash-masm-x86_64.S
ASM_X86_64_MASM += rc4/rc4-masm-x86_64.S

Expand All @@ -19,7 +18,6 @@ libcrypto_la_CPPFLAGS += -DVPAES_ASM
libcrypto_la_CPPFLAGS += -DOPENSSL_IA32_SSE2
libcrypto_la_CPPFLAGS += -DOPENSSL_BN_ASM_MONT
libcrypto_la_CPPFLAGS += -DOPENSSL_BN_ASM_MONT5
libcrypto_la_CPPFLAGS += -DMD5_ASM
libcrypto_la_CPPFLAGS += -DGHASH_ASM
libcrypto_la_CPPFLAGS += -DRSA_ASM
libcrypto_la_SOURCES += $(ASM_X86_64_MASM)
Expand Down
2 changes: 0 additions & 2 deletions crypto/Makefile.am.mingw64-x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ ASM_X86_64_MINGW64 += aes/aesni-mingw64-x86_64.S
#ASM_X86_64_MINGW64 += bn/modexp512-mingw64-x86_64.S
#ASM_X86_64_MINGW64 += bn/mont-mingw64-x86_64.S
#ASM_X86_64_MINGW64 += bn/mont5-mingw64-x86_64.S
ASM_X86_64_MINGW64 += md5/md5-mingw64-x86_64.S
ASM_X86_64_MINGW64 += modes/ghash-mingw64-x86_64.S
ASM_X86_64_MINGW64 += rc4/rc4-mingw64-x86_64.S

Expand All @@ -20,7 +19,6 @@ libcrypto_la_CPPFLAGS += -DVPAES_ASM
libcrypto_la_CPPFLAGS += -DOPENSSL_IA32_SSE2
#libcrypto_la_CPPFLAGS += -DOPENSSL_BN_ASM_MONT
#libcrypto_la_CPPFLAGS += -DOPENSSL_BN_ASM_MONT5
libcrypto_la_CPPFLAGS += -DMD5_ASM
libcrypto_la_CPPFLAGS += -DGHASH_ASM
libcrypto_la_CPPFLAGS += -DRSA_ASM
libcrypto_la_SOURCES += $(ASM_X86_64_MINGW64)
Expand Down
1 change: 0 additions & 1 deletion update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,6 @@ for abi in elf macosx masm mingw64; do
gen_asm_stdout $abi bn/asm/modexp512-x86_64.pl bn/modexp512-$abi-x86_64.S
gen_asm_stdout $abi bn/asm/x86_64-mont.pl bn/mont-$abi-x86_64.S
gen_asm_stdout $abi bn/asm/x86_64-mont5.pl bn/mont5-$abi-x86_64.S
gen_asm_stdout $abi md5/asm/md5-x86_64.pl md5/md5-$abi-x86_64.S
gen_asm_stdout $abi modes/asm/ghash-x86_64.pl modes/ghash-$abi-x86_64.S
gen_asm_stdout $abi rc4/asm/rc4-x86_64.pl rc4/rc4-$abi-x86_64.S
done
Expand Down

0 comments on commit 7428e55

Please sign in to comment.