diff options
author | Theo Buehler <tb@openbsd.org> | 2024-08-06 14:55:33 +0200 |
---|---|---|
committer | Theo Buehler <tb@openbsd.org> | 2024-08-11 15:32:32 +0200 |
commit | aa83ac48e48bb3977413e87a366e216615b0afbf (patch) | |
tree | bb22623169b15d35c1d8f62924bf7ae2d87063cb /crypto | |
parent | 2a907257f95af20d7d94d1a8e3889a4df8d5a126 (diff) | |
download | portable-aa83ac48e48bb3977413e87a366e216615b0afbf.tar.gz portable-aa83ac48e48bb3977413e87a366e216615b0afbf.tar.bz2 portable-aa83ac48e48bb3977413e87a366e216615b0afbf.zip |
Initial cut for crypto_arch.h
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/CMakeLists.txt | 30 | ||||
-rw-r--r-- | crypto/Makefile.am | 21 | ||||
-rw-r--r-- | crypto/Makefile.am.elf-x86_64 | 5 | ||||
-rw-r--r-- | crypto/Makefile.am.macosx-x86_64 | 5 | ||||
-rw-r--r-- | crypto/Makefile.am.masm-x86_64 | 5 | ||||
-rw-r--r-- | crypto/Makefile.am.mingw64-x86_64 | 5 |
6 files changed, 30 insertions, 41 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt index 7d4ff70..4492360 100644 --- a/crypto/CMakeLists.txt +++ b/crypto/CMakeLists.txt | |||
@@ -57,11 +57,6 @@ if(HOST_ASM_ELF_X86_64) | |||
57 | add_definitions(-DAES_ASM) | 57 | add_definitions(-DAES_ASM) |
58 | add_definitions(-DBSAES_ASM) | 58 | add_definitions(-DBSAES_ASM) |
59 | add_definitions(-DVPAES_ASM) | 59 | add_definitions(-DVPAES_ASM) |
60 | add_definitions(-DHAVE_AES_CBC_ENCRYPT_INTERNAL) | ||
61 | add_definitions(-DHAVE_AES_SET_ENCRYPT_KEY_INTERNAL) | ||
62 | add_definitions(-DHAVE_AES_SET_DECRYPT_KEY_INTERNAL) | ||
63 | add_definitions(-DHAVE_AES_ENCRYPT_INTERNAL) | ||
64 | add_definitions(-DHAVE_AES_DECRYPT_INTERNAL) | ||
65 | add_definitions(-DOPENSSL_IA32_SSE2) | 60 | add_definitions(-DOPENSSL_IA32_SSE2) |
66 | add_definitions(-DOPENSSL_BN_ASM_MONT) | 61 | add_definitions(-DOPENSSL_BN_ASM_MONT) |
67 | add_definitions(-DOPENSSL_BN_ASM_MONT5) | 62 | add_definitions(-DOPENSSL_BN_ASM_MONT5) |
@@ -111,11 +106,6 @@ if(HOST_ASM_MACOSX_X86_64) | |||
111 | add_definitions(-DAES_ASM) | 106 | add_definitions(-DAES_ASM) |
112 | add_definitions(-DBSAES_ASM) | 107 | add_definitions(-DBSAES_ASM) |
113 | add_definitions(-DVPAES_ASM) | 108 | add_definitions(-DVPAES_ASM) |
114 | add_definitions(-DHAVE_AES_CBC_ENCRYPT_INTERNAL) | ||
115 | add_definitions(-DHAVE_AES_SET_ENCRYPT_KEY_INTERNAL) | ||
116 | add_definitions(-DHAVE_AES_SET_DECRYPT_KEY_INTERNAL) | ||
117 | add_definitions(-DHAVE_AES_ENCRYPT_INTERNAL) | ||
118 | add_definitions(-DHAVE_AES_DECRYPT_INTERNAL) | ||
119 | add_definitions(-DOPENSSL_IA32_SSE2) | 109 | add_definitions(-DOPENSSL_IA32_SSE2) |
120 | add_definitions(-DOPENSSL_BN_ASM_MONT) | 110 | add_definitions(-DOPENSSL_BN_ASM_MONT) |
121 | add_definitions(-DOPENSSL_BN_ASM_MONT5) | 111 | add_definitions(-DOPENSSL_BN_ASM_MONT5) |
@@ -154,11 +144,6 @@ if(HOST_ASM_MASM_X86_64) | |||
154 | add_definitions(-DAES_ASM) | 144 | add_definitions(-DAES_ASM) |
155 | add_definitions(-DBSAES_ASM) | 145 | add_definitions(-DBSAES_ASM) |
156 | add_definitions(-DVPAES_ASM) | 146 | add_definitions(-DVPAES_ASM) |
157 | add_definitions(-DHAVE_AES_CBC_ENCRYPT_INTERNAL) | ||
158 | add_definitions(-DHAVE_AES_SET_ENCRYPT_KEY_INTERNAL) | ||
159 | add_definitions(-DHAVE_AES_SET_DECRYPT_KEY_INTERNAL) | ||
160 | add_definitions(-DHAVE_AES_ENCRYPT_INTERNAL) | ||
161 | add_definitions(-DHAVE_AES_DECRYPT_INTERNAL) | ||
162 | add_definitions(-DOPENSSL_IA32_SSE2) | 147 | add_definitions(-DOPENSSL_IA32_SSE2) |
163 | #add_definitions(-DOPENSSL_BN_ASM_MONT) | 148 | #add_definitions(-DOPENSSL_BN_ASM_MONT) |
164 | #add_definitions(-DOPENSSL_BN_ASM_MONT5) | 149 | #add_definitions(-DOPENSSL_BN_ASM_MONT5) |
@@ -196,11 +181,6 @@ if(HOST_ASM_MINGW64_X86_64) | |||
196 | add_definitions(-DAES_ASM) | 181 | add_definitions(-DAES_ASM) |
197 | add_definitions(-DBSAES_ASM) | 182 | add_definitions(-DBSAES_ASM) |
198 | add_definitions(-DVPAES_ASM) | 183 | add_definitions(-DVPAES_ASM) |
199 | add_definitions(-DHAVE_AES_CBC_ENCRYPT_INTERNAL) | ||
200 | add_definitions(-DHAVE_AES_SET_ENCRYPT_KEY_INTERNAL) | ||
201 | add_definitions(-DHAVE_AES_SET_DECRYPT_KEY_INTERNAL) | ||
202 | add_definitions(-DHAVE_AES_ENCRYPT_INTERNAL) | ||
203 | add_definitions(-DHAVE_AES_DECRYPT_INTERNAL) | ||
204 | add_definitions(-DOPENSSL_IA32_SSE2) | 184 | add_definitions(-DOPENSSL_IA32_SSE2) |
205 | #add_definitions(-DOPENSSL_BN_ASM_MONT) | 185 | #add_definitions(-DOPENSSL_BN_ASM_MONT) |
206 | #add_definitions(-DOPENSSL_BN_ASM_MONT5) | 186 | #add_definitions(-DOPENSSL_BN_ASM_MONT5) |
@@ -845,24 +825,34 @@ target_include_directories(crypto_obj | |||
845 | ${CMAKE_BINARY_DIR}/include) | 825 | ${CMAKE_BINARY_DIR}/include) |
846 | 826 | ||
847 | if(HOST_AARCH64) | 827 | if(HOST_AARCH64) |
828 | target_include_directories(crypto_obj PRIVATE arch/aarch64/) | ||
848 | target_include_directories(crypto_obj PRIVATE bn/arch/aarch64/) | 829 | target_include_directories(crypto_obj PRIVATE bn/arch/aarch64/) |
849 | elseif(HOST_ARM) | 830 | elseif(HOST_ARM) |
831 | target_include_directories(crypto_obj PRIVATE arch/arm/) | ||
850 | target_include_directories(crypto_obj PRIVATE bn/arch/arm/) | 832 | target_include_directories(crypto_obj PRIVATE bn/arch/arm/) |
851 | elseif(HOST_I386) | 833 | elseif(HOST_I386) |
834 | target_include_directories(crypto_obj PRIVATE arch/i386/) | ||
852 | target_include_directories(crypto_obj PRIVATE bn/arch/i386/) | 835 | target_include_directories(crypto_obj PRIVATE bn/arch/i386/) |
853 | elseif(HOST_MIPS64) | 836 | elseif(HOST_MIPS64) |
837 | target_include_directories(crypto_obj PRIVATE arch/mips64) | ||
854 | target_include_directories(crypto_obj PRIVATE bn/arch/mips64) | 838 | target_include_directories(crypto_obj PRIVATE bn/arch/mips64) |
855 | elseif(HOST_MIPS) | 839 | elseif(HOST_MIPS) |
840 | # XXX - can this go away? the directory doesn't exist... | ||
856 | target_include_directories(crypto_obj PRIVATE bn/arch/mips) | 841 | target_include_directories(crypto_obj PRIVATE bn/arch/mips) |
857 | elseif(HOST_POWERPC) | 842 | elseif(HOST_POWERPC) |
843 | target_include_directories(crypto_obj PRIVATE arch/powerpc) | ||
858 | target_include_directories(crypto_obj PRIVATE bn/arch/powerpc) | 844 | target_include_directories(crypto_obj PRIVATE bn/arch/powerpc) |
859 | elseif(HOST_POWERPC64) | 845 | elseif(HOST_POWERPC64) |
846 | target_include_directories(crypto_obj PRIVATE arch/powerpc64) | ||
860 | target_include_directories(crypto_obj PRIVATE bn/arch/powerpc64) | 847 | target_include_directories(crypto_obj PRIVATE bn/arch/powerpc64) |
861 | elseif(HOST_RISCV64) | 848 | elseif(HOST_RISCV64) |
849 | target_include_directories(crypto_obj PRIVATE arch/riscv64) | ||
862 | target_include_directories(crypto_obj PRIVATE bn/arch/riscv64) | 850 | target_include_directories(crypto_obj PRIVATE bn/arch/riscv64) |
863 | elseif(HOST_SPARC64) | 851 | elseif(HOST_SPARC64) |
852 | target_include_directories(crypto_obj PRIVATE arch/sparc64) | ||
864 | target_include_directories(crypto_obj PRIVATE bn/arch/sparc64) | 853 | target_include_directories(crypto_obj PRIVATE bn/arch/sparc64) |
865 | elseif(HOST_X86_64) | 854 | elseif(HOST_X86_64) |
855 | target_include_directories(crypto_obj PRIVATE arch/amd64) | ||
866 | target_include_directories(crypto_obj PRIVATE bn/arch/amd64) | 856 | target_include_directories(crypto_obj PRIVATE bn/arch/amd64) |
867 | endif() | 857 | endif() |
868 | 858 | ||
diff --git a/crypto/Makefile.am b/crypto/Makefile.am index cb463fb..4ca8d5f 100644 --- a/crypto/Makefile.am +++ b/crypto/Makefile.am | |||
@@ -359,55 +359,74 @@ noinst_HEADERS += bn/bn_prime.h | |||
359 | noinst_HEADERS += bn/s2n_bignum.h | 359 | noinst_HEADERS += bn/s2n_bignum.h |
360 | noinst_HEADERS += bn/s2n_bignum_internal.h | 360 | noinst_HEADERS += bn/s2n_bignum_internal.h |
361 | 361 | ||
362 | # bn/arch | 362 | # arch, bn/arch |
363 | if HOST_AARCH64 | 363 | if HOST_AARCH64 |
364 | libcrypto_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/aarch64/ | ||
364 | libcrypto_la_CPPFLAGS += -I$(top_srcdir)/crypto/bn/arch/aarch64/ | 365 | libcrypto_la_CPPFLAGS += -I$(top_srcdir)/crypto/bn/arch/aarch64/ |
365 | endif | 366 | endif |
367 | noinst_HEADERS += arch/aarch64/crypto_arch.h | ||
366 | noinst_HEADERS += bn/arch/aarch64/bn_arch.h | 368 | noinst_HEADERS += bn/arch/aarch64/bn_arch.h |
367 | 369 | ||
368 | if HOST_ARM | 370 | if HOST_ARM |
371 | libcrypto_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/arm/ | ||
369 | libcrypto_la_CPPFLAGS += -I$(top_srcdir)/crypto/bn/arch/arm/ | 372 | libcrypto_la_CPPFLAGS += -I$(top_srcdir)/crypto/bn/arch/arm/ |
370 | endif | 373 | endif |
374 | noinst_HEADERS += arch/arm/crypto_arch.h | ||
371 | noinst_HEADERS += bn/arch/arm/bn_arch.h | 375 | noinst_HEADERS += bn/arch/arm/bn_arch.h |
372 | 376 | ||
373 | if HOST_I386 | 377 | if HOST_I386 |
378 | libcrypto_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/i386/ | ||
374 | libcrypto_la_CPPFLAGS += -I$(top_srcdir)/crypto/bn/arch/i386/ | 379 | libcrypto_la_CPPFLAGS += -I$(top_srcdir)/crypto/bn/arch/i386/ |
375 | endif | 380 | endif |
381 | noinst_HEADERS += arch/i386/crypto_arch.h | ||
376 | noinst_HEADERS += bn/arch/i386/bn_arch.h | 382 | noinst_HEADERS += bn/arch/i386/bn_arch.h |
377 | 383 | ||
384 | # XXX - do we still need this? | ||
378 | if HOST_MIPS | 385 | if HOST_MIPS |
379 | libcrypto_la_CPPFLAGS += -I$(top_srcdir)/crypto/bn/arch/mips/ | 386 | libcrypto_la_CPPFLAGS += -I$(top_srcdir)/crypto/bn/arch/mips/ |
380 | endif | 387 | endif |
381 | noinst_HEADERS += bn/arch/mips/bn_arch.h | 388 | noinst_HEADERS += bn/arch/mips/bn_arch.h |
382 | 389 | ||
383 | if HOST_MIPS64 | 390 | if HOST_MIPS64 |
391 | libcrypto_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/mips64/ | ||
384 | libcrypto_la_CPPFLAGS += -I$(top_srcdir)/crypto/bn/arch/mips64/ | 392 | libcrypto_la_CPPFLAGS += -I$(top_srcdir)/crypto/bn/arch/mips64/ |
385 | endif | 393 | endif |
394 | noinst_HEADERS += arch/mips64/crypto_arch.h | ||
386 | noinst_HEADERS += bn/arch/mips64/bn_arch.h | 395 | noinst_HEADERS += bn/arch/mips64/bn_arch.h |
387 | 396 | ||
388 | if HOST_POWERPC | 397 | if HOST_POWERPC |
398 | libcrypto_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/powerpc/ | ||
389 | libcrypto_la_CPPFLAGS += -I$(top_srcdir)/crypto/bn/arch/powerpc/ | 399 | libcrypto_la_CPPFLAGS += -I$(top_srcdir)/crypto/bn/arch/powerpc/ |
390 | endif | 400 | endif |
401 | noinst_HEADERS += arch/powerpc/crypto_arch.h | ||
391 | noinst_HEADERS += bn/arch/powerpc/bn_arch.h | 402 | noinst_HEADERS += bn/arch/powerpc/bn_arch.h |
392 | 403 | ||
393 | if HOST_POWERPC64 | 404 | if HOST_POWERPC64 |
405 | libcrypto_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/powerpc64/ | ||
394 | libcrypto_la_CPPFLAGS += -I$(top_srcdir)/crypto/bn/arch/powerpc64/ | 406 | libcrypto_la_CPPFLAGS += -I$(top_srcdir)/crypto/bn/arch/powerpc64/ |
395 | endif | 407 | endif |
408 | noinst_HEADERS += arch/powerpc64/crypto_arch.h | ||
396 | noinst_HEADERS += bn/arch/powerpc64/bn_arch.h | 409 | noinst_HEADERS += bn/arch/powerpc64/bn_arch.h |
397 | 410 | ||
398 | if HOST_RISCV64 | 411 | if HOST_RISCV64 |
412 | libcrypto_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/riscv64/ | ||
399 | libcrypto_la_CPPFLAGS += -I$(top_srcdir)/crypto/bn/arch/riscv64/ | 413 | libcrypto_la_CPPFLAGS += -I$(top_srcdir)/crypto/bn/arch/riscv64/ |
400 | endif | 414 | endif |
415 | noinst_HEADERS += arch/riscv64/crypto_arch.h | ||
401 | noinst_HEADERS += bn/arch/riscv64/bn_arch.h | 416 | noinst_HEADERS += bn/arch/riscv64/bn_arch.h |
402 | 417 | ||
403 | if HOST_SPARC64 | 418 | if HOST_SPARC64 |
419 | libcrypto_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/sparc64/ | ||
404 | libcrypto_la_CPPFLAGS += -I$(top_srcdir)/crypto/bn/arch/sparc64/ | 420 | libcrypto_la_CPPFLAGS += -I$(top_srcdir)/crypto/bn/arch/sparc64/ |
405 | endif | 421 | endif |
422 | noinst_HEADERS += arch/sparc64/crypto_arch.h | ||
406 | noinst_HEADERS += bn/arch/sparc64/bn_arch.h | 423 | noinst_HEADERS += bn/arch/sparc64/bn_arch.h |
407 | 424 | ||
408 | if HOST_X86_64 | 425 | if HOST_X86_64 |
426 | libcrypto_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/amd64/ | ||
409 | libcrypto_la_CPPFLAGS += -I$(top_srcdir)/crypto/bn/arch/amd64/ | 427 | libcrypto_la_CPPFLAGS += -I$(top_srcdir)/crypto/bn/arch/amd64/ |
410 | endif | 428 | endif |
429 | noinst_HEADERS += arch/amd64/crypto_arch.h | ||
411 | noinst_HEADERS += bn/arch/amd64/bn_arch.h | 430 | noinst_HEADERS += bn/arch/amd64/bn_arch.h |
412 | 431 | ||
413 | # buffer | 432 | # buffer |
diff --git a/crypto/Makefile.am.elf-x86_64 b/crypto/Makefile.am.elf-x86_64 index 6933a11..990475e 100644 --- a/crypto/Makefile.am.elf-x86_64 +++ b/crypto/Makefile.am.elf-x86_64 | |||
@@ -33,11 +33,6 @@ if HOST_ASM_ELF_X86_64 | |||
33 | libcrypto_la_CPPFLAGS += -DAES_ASM | 33 | libcrypto_la_CPPFLAGS += -DAES_ASM |
34 | libcrypto_la_CPPFLAGS += -DBSAES_ASM | 34 | libcrypto_la_CPPFLAGS += -DBSAES_ASM |
35 | libcrypto_la_CPPFLAGS += -DVPAES_ASM | 35 | libcrypto_la_CPPFLAGS += -DVPAES_ASM |
36 | libcrypto_la_CPPFLAGS += -DHAVE_AES_CBC_ENCRYPT_INTERNAL | ||
37 | libcrypto_la_CPPFLAGS += -DHAVE_AES_SET_ENCRYPT_KEY_INTERNAL | ||
38 | libcrypto_la_CPPFLAGS += -DHAVE_AES_SET_DECRYPT_KEY_INTERNAL | ||
39 | libcrypto_la_CPPFLAGS += -DHAVE_AES_ENCRYPT_INTERNAL | ||
40 | libcrypto_la_CPPFLAGS += -DHAVE_AES_DECRYPT_INTERNAL | ||
41 | libcrypto_la_CPPFLAGS += -DOPENSSL_IA32_SSE2 | 36 | libcrypto_la_CPPFLAGS += -DOPENSSL_IA32_SSE2 |
42 | libcrypto_la_CPPFLAGS += -DOPENSSL_BN_ASM_MONT | 37 | libcrypto_la_CPPFLAGS += -DOPENSSL_BN_ASM_MONT |
43 | libcrypto_la_CPPFLAGS += -DOPENSSL_BN_ASM_MONT5 | 38 | libcrypto_la_CPPFLAGS += -DOPENSSL_BN_ASM_MONT5 |
diff --git a/crypto/Makefile.am.macosx-x86_64 b/crypto/Makefile.am.macosx-x86_64 index 1020567..c380003 100644 --- a/crypto/Makefile.am.macosx-x86_64 +++ b/crypto/Makefile.am.macosx-x86_64 | |||
@@ -33,11 +33,6 @@ if HOST_ASM_MACOSX_X86_64 | |||
33 | libcrypto_la_CPPFLAGS += -DAES_ASM | 33 | libcrypto_la_CPPFLAGS += -DAES_ASM |
34 | libcrypto_la_CPPFLAGS += -DBSAES_ASM | 34 | libcrypto_la_CPPFLAGS += -DBSAES_ASM |
35 | libcrypto_la_CPPFLAGS += -DVPAES_ASM | 35 | libcrypto_la_CPPFLAGS += -DVPAES_ASM |
36 | libcrypto_la_CPPFLAGS += -DHAVE_AES_CBC_ENCRYPT_INTERNAL | ||
37 | libcrypto_la_CPPFLAGS += -DHAVE_AES_SET_ENCRYPT_KEY_INTERNAL | ||
38 | libcrypto_la_CPPFLAGS += -DHAVE_AES_SET_DECRYPT_KEY_INTERNAL | ||
39 | libcrypto_la_CPPFLAGS += -DHAVE_AES_ENCRYPT_INTERNAL | ||
40 | libcrypto_la_CPPFLAGS += -DHAVE_AES_DECRYPT_INTERNAL | ||
41 | libcrypto_la_CPPFLAGS += -DOPENSSL_IA32_SSE2 | 36 | libcrypto_la_CPPFLAGS += -DOPENSSL_IA32_SSE2 |
42 | libcrypto_la_CPPFLAGS += -DOPENSSL_BN_ASM_MONT | 37 | libcrypto_la_CPPFLAGS += -DOPENSSL_BN_ASM_MONT |
43 | libcrypto_la_CPPFLAGS += -DOPENSSL_BN_ASM_MONT5 | 38 | libcrypto_la_CPPFLAGS += -DOPENSSL_BN_ASM_MONT5 |
diff --git a/crypto/Makefile.am.masm-x86_64 b/crypto/Makefile.am.masm-x86_64 index 7da3cc2..437638c 100644 --- a/crypto/Makefile.am.masm-x86_64 +++ b/crypto/Makefile.am.masm-x86_64 | |||
@@ -20,11 +20,6 @@ if HOST_ASM_MASM_X86_64 | |||
20 | libcrypto_la_CPPFLAGS += -DAES_ASM | 20 | libcrypto_la_CPPFLAGS += -DAES_ASM |
21 | libcrypto_la_CPPFLAGS += -DBSAES_ASM | 21 | libcrypto_la_CPPFLAGS += -DBSAES_ASM |
22 | libcrypto_la_CPPFLAGS += -DVPAES_ASM | 22 | libcrypto_la_CPPFLAGS += -DVPAES_ASM |
23 | libcrypto_la_CPPFLAGS += -DHAVE_AES_CBC_ENCRYPT_INTERNAL | ||
24 | libcrypto_la_CPPFLAGS += -DHAVE_AES_SET_ENCRYPT_KEY_INTERNAL | ||
25 | libcrypto_la_CPPFLAGS += -DHAVE_AES_SET_DECRYPT_KEY_INTERNAL | ||
26 | libcrypto_la_CPPFLAGS += -DHAVE_AES_ENCRYPT_INTERNAL | ||
27 | libcrypto_la_CPPFLAGS += -DHAVE_AES_DECRYPT_INTERNAL | ||
28 | libcrypto_la_CPPFLAGS += -DOPENSSL_IA32_SSE2 | 23 | libcrypto_la_CPPFLAGS += -DOPENSSL_IA32_SSE2 |
29 | libcrypto_la_CPPFLAGS += -DOPENSSL_BN_ASM_MONT | 24 | libcrypto_la_CPPFLAGS += -DOPENSSL_BN_ASM_MONT |
30 | libcrypto_la_CPPFLAGS += -DOPENSSL_BN_ASM_MONT5 | 25 | libcrypto_la_CPPFLAGS += -DOPENSSL_BN_ASM_MONT5 |
diff --git a/crypto/Makefile.am.mingw64-x86_64 b/crypto/Makefile.am.mingw64-x86_64 index 7d0d3f7..2d41c37 100644 --- a/crypto/Makefile.am.mingw64-x86_64 +++ b/crypto/Makefile.am.mingw64-x86_64 | |||
@@ -21,11 +21,6 @@ libcrypto_la_CPPFLAGS += -Dendbr32=endbr64 | |||
21 | libcrypto_la_CPPFLAGS += -DAES_ASM | 21 | libcrypto_la_CPPFLAGS += -DAES_ASM |
22 | libcrypto_la_CPPFLAGS += -DBSAES_ASM | 22 | libcrypto_la_CPPFLAGS += -DBSAES_ASM |
23 | libcrypto_la_CPPFLAGS += -DVPAES_ASM | 23 | libcrypto_la_CPPFLAGS += -DVPAES_ASM |
24 | libcrypto_la_CPPFLAGS += -DHAVE_AES_CBC_ENCRYPT_INTERNAL | ||
25 | libcrypto_la_CPPFLAGS += -DHAVE_AES_SET_ENCRYPT_KEY_INTERNAL | ||
26 | libcrypto_la_CPPFLAGS += -DHAVE_AES_SET_DECRYPT_KEY_INTERNAL | ||
27 | libcrypto_la_CPPFLAGS += -DHAVE_AES_ENCRYPT_INTERNAL | ||
28 | libcrypto_la_CPPFLAGS += -DHAVE_AES_DECRYPT_INTERNAL | ||
29 | libcrypto_la_CPPFLAGS += -DOPENSSL_IA32_SSE2 | 24 | libcrypto_la_CPPFLAGS += -DOPENSSL_IA32_SSE2 |
30 | #libcrypto_la_CPPFLAGS += -DOPENSSL_BN_ASM_MONT | 25 | #libcrypto_la_CPPFLAGS += -DOPENSSL_BN_ASM_MONT |
31 | #libcrypto_la_CPPFLAGS += -DOPENSSL_BN_ASM_MONT5 | 26 | #libcrypto_la_CPPFLAGS += -DOPENSSL_BN_ASM_MONT5 |