diff options
| author | Theo Buehler <tb@openbsd.org> | 2024-03-28 20:47:48 -0600 |
|---|---|---|
| committer | Theo Buehler <tb@openbsd.org> | 2024-03-28 20:47:48 -0600 |
| commit | f95940836bd539b08a91bfdfcec0bf5cc1b7c0ac (patch) | |
| tree | f099844eff50d5b2bbca036bf4495d4be2e3d036 | |
| parent | c370c924d1e4ce41dac0b661755e02532bc1b71a (diff) | |
| download | portable-f95940836bd539b08a91bfdfcec0bf5cc1b7c0ac.tar.gz portable-f95940836bd539b08a91bfdfcec0bf5cc1b7c0ac.tar.bz2 portable-f95940836bd539b08a91bfdfcec0bf5cc1b7c0ac.zip | |
Consolidate whirlpool
| -rw-r--r-- | crypto/CMakeLists.txt | 7 | ||||
| -rw-r--r-- | crypto/Makefile.am | 4 | ||||
| -rw-r--r-- | crypto/Makefile.am.elf-arm | 1 | ||||
| -rw-r--r-- | crypto/Makefile.am.elf-mips | 1 | ||||
| -rw-r--r-- | crypto/Makefile.am.elf-mips64 | 1 | ||||
| -rw-r--r-- | crypto/Makefile.am.elf-x86_64 | 1 | ||||
| -rw-r--r-- | crypto/Makefile.am.macosx-x86_64 | 1 | ||||
| -rw-r--r-- | crypto/Makefile.am.masm-x86_64 | 1 | ||||
| -rw-r--r-- | crypto/Makefile.am.mingw64-x86_64 | 1 | ||||
| -rwxr-xr-x | update.sh | 1 |
10 files changed, 2 insertions, 17 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt index 9d29e45..b3c4c52 100644 --- a/crypto/CMakeLists.txt +++ b/crypto/CMakeLists.txt | |||
| @@ -40,7 +40,6 @@ if(HOST_ASM_ELF_X86_64) | |||
| 40 | sha/sha1-elf-x86_64.S | 40 | sha/sha1-elf-x86_64.S |
| 41 | sha/sha256-elf-x86_64.S | 41 | sha/sha256-elf-x86_64.S |
| 42 | sha/sha512-elf-x86_64.S | 42 | sha/sha512-elf-x86_64.S |
| 43 | whrlpool/wp-elf-x86_64.S | ||
| 44 | cpuid-elf-x86_64.S | 43 | cpuid-elf-x86_64.S |
| 45 | 44 | ||
| 46 | bn/arch/amd64/bignum_add.S | 45 | bn/arch/amd64/bignum_add.S |
| @@ -91,7 +90,6 @@ if(HOST_ASM_MACOSX_X86_64) | |||
| 91 | sha/sha1-macosx-x86_64.S | 90 | sha/sha1-macosx-x86_64.S |
| 92 | sha/sha256-macosx-x86_64.S | 91 | sha/sha256-macosx-x86_64.S |
| 93 | sha/sha512-macosx-x86_64.S | 92 | sha/sha512-macosx-x86_64.S |
| 94 | whrlpool/wp-macosx-x86_64.S | ||
| 95 | cpuid-macosx-x86_64.S | 93 | cpuid-macosx-x86_64.S |
| 96 | 94 | ||
| 97 | bn/arch/amd64/bignum_add.S | 95 | bn/arch/amd64/bignum_add.S |
| @@ -143,7 +141,6 @@ if(HOST_ASM_MASM_X86_64) | |||
| 143 | sha/sha1-masm-x86_64.S | 141 | sha/sha1-masm-x86_64.S |
| 144 | sha/sha256-masm-x86_64.S | 142 | sha/sha256-masm-x86_64.S |
| 145 | sha/sha512-masm-x86_64.S | 143 | sha/sha512-masm-x86_64.S |
| 146 | whrlpool/wp-masm-x86_64.S | ||
| 147 | cpuid-masm-x86_64.S | 144 | cpuid-masm-x86_64.S |
| 148 | ) | 145 | ) |
| 149 | add_definitions(-Dendbr64=) | 146 | add_definitions(-Dendbr64=) |
| @@ -182,7 +179,6 @@ if(HOST_ASM_MINGW64_X86_64) | |||
| 182 | sha/sha1-mingw64-x86_64.S | 179 | sha/sha1-mingw64-x86_64.S |
| 183 | sha/sha256-mingw64-x86_64.S | 180 | sha/sha256-mingw64-x86_64.S |
| 184 | sha/sha512-mingw64-x86_64.S | 181 | sha/sha512-mingw64-x86_64.S |
| 185 | whrlpool/wp-mingw64-x86_64.S | ||
| 186 | cpuid-mingw64-x86_64.S | 182 | cpuid-mingw64-x86_64.S |
| 187 | ) | 183 | ) |
| 188 | add_definitions(-Dendbr64=) | 184 | add_definitions(-Dendbr64=) |
| @@ -225,7 +221,6 @@ if((NOT HOST_ASM_ELF_X86_64) AND | |||
| 225 | ${CRYPTO_SRC} | 221 | ${CRYPTO_SRC} |
| 226 | camellia/camellia.c | 222 | camellia/camellia.c |
| 227 | camellia/cmll_cbc.c | 223 | camellia/cmll_cbc.c |
| 228 | whrlpool/wp_block.c | ||
| 229 | ) | 224 | ) |
| 230 | endif() | 225 | endif() |
| 231 | 226 | ||
| @@ -625,7 +620,7 @@ set( | |||
| 625 | ui/ui_lib.c | 620 | ui/ui_lib.c |
| 626 | ui/ui_null.c | 621 | ui/ui_null.c |
| 627 | ui/ui_util.c | 622 | ui/ui_util.c |
| 628 | whrlpool/wp_dgst.c | 623 | whrlpool/whirlpool.c |
| 629 | x509/by_dir.c | 624 | x509/by_dir.c |
| 630 | x509/by_file.c | 625 | x509/by_file.c |
| 631 | x509/by_mem.c | 626 | x509/by_mem.c |
diff --git a/crypto/Makefile.am b/crypto/Makefile.am index 0c3192f..31637c0 100644 --- a/crypto/Makefile.am +++ b/crypto/Makefile.am | |||
| @@ -199,7 +199,6 @@ libcrypto_la_CPPFLAGS += -DOPENSSL_NO_ASM | |||
| 199 | libcrypto_la_SOURCES += aes/aes_core.c | 199 | libcrypto_la_SOURCES += aes/aes_core.c |
| 200 | libcrypto_la_SOURCES += camellia/camellia.c | 200 | libcrypto_la_SOURCES += camellia/camellia.c |
| 201 | libcrypto_la_SOURCES += camellia/cmll_cbc.c | 201 | libcrypto_la_SOURCES += camellia/cmll_cbc.c |
| 202 | libcrypto_la_SOURCES += whrlpool/wp_block.c | ||
| 203 | endif | 202 | endif |
| 204 | endif | 203 | endif |
| 205 | endif | 204 | endif |
| @@ -876,8 +875,7 @@ libcrypto_la_SOURCES += ui/ui_util.c | |||
| 876 | noinst_HEADERS += ui/ui_local.h | 875 | noinst_HEADERS += ui/ui_local.h |
| 877 | 876 | ||
| 878 | # whrlpool | 877 | # whrlpool |
| 879 | libcrypto_la_SOURCES += whrlpool/wp_dgst.c | 878 | libcrypto_la_sources += whrlpool/whirlpool.c |
| 880 | noinst_HEADERS += whrlpool/wp_local.h | ||
| 881 | 879 | ||
| 882 | # x509 | 880 | # x509 |
| 883 | libcrypto_la_SOURCES += x509/by_dir.c | 881 | libcrypto_la_SOURCES += x509/by_dir.c |
diff --git a/crypto/Makefile.am.elf-arm b/crypto/Makefile.am.elf-arm index 3ff4bc9..c0fc7f8 100644 --- a/crypto/Makefile.am.elf-arm +++ b/crypto/Makefile.am.elf-arm | |||
| @@ -9,7 +9,6 @@ ASM_ARM_ELF += armcap.c | |||
| 9 | 9 | ||
| 10 | ASM_ARM_ELF += camellia/camellia.c | 10 | ASM_ARM_ELF += camellia/camellia.c |
| 11 | ASM_ARM_ELF += camellia/cmll_cbc.c | 11 | ASM_ARM_ELF += camellia/cmll_cbc.c |
| 12 | ASM_ARM_ELF += whrlpool/wp_block.c | ||
| 13 | 12 | ||
| 14 | EXTRA_DIST += $(ASM_ARM_ELF) | 13 | EXTRA_DIST += $(ASM_ARM_ELF) |
| 15 | 14 | ||
diff --git a/crypto/Makefile.am.elf-mips b/crypto/Makefile.am.elf-mips index d10e59e..b85bc09 100644 --- a/crypto/Makefile.am.elf-mips +++ b/crypto/Makefile.am.elf-mips | |||
| @@ -7,7 +7,6 @@ ASM_MIPS_ELF += sha/sha256-mips.S | |||
| 7 | 7 | ||
| 8 | ASM_MIPS_ELF += camellia/camellia.c | 8 | ASM_MIPS_ELF += camellia/camellia.c |
| 9 | ASM_MIPS_ELF += camellia/cmll_cbc.c | 9 | ASM_MIPS_ELF += camellia/cmll_cbc.c |
| 10 | ASM_MIPS_ELF += whrlpool/wp_block.c | ||
| 11 | 10 | ||
| 12 | EXTRA_DIST += $(ASM_MIPS_ELF) | 11 | EXTRA_DIST += $(ASM_MIPS_ELF) |
| 13 | 12 | ||
diff --git a/crypto/Makefile.am.elf-mips64 b/crypto/Makefile.am.elf-mips64 index 1c03584..138ddf7 100644 --- a/crypto/Makefile.am.elf-mips64 +++ b/crypto/Makefile.am.elf-mips64 | |||
| @@ -7,7 +7,6 @@ ASM_MIPS64_ELF += sha/sha256-mips.S | |||
| 7 | 7 | ||
| 8 | ASM_MIPS64_ELF += camellia/camellia.c | 8 | ASM_MIPS64_ELF += camellia/camellia.c |
| 9 | ASM_MIPS64_ELF += camellia/cmll_cbc.c | 9 | ASM_MIPS64_ELF += camellia/cmll_cbc.c |
| 10 | ASM_MIPS64_ELF += whrlpool/wp_block.c | ||
| 11 | 10 | ||
| 12 | EXTRA_DIST += $(ASM_MIPS64_ELF) | 11 | EXTRA_DIST += $(ASM_MIPS64_ELF) |
| 13 | 12 | ||
diff --git a/crypto/Makefile.am.elf-x86_64 b/crypto/Makefile.am.elf-x86_64 index 7a4d22c..2303531 100644 --- a/crypto/Makefile.am.elf-x86_64 +++ b/crypto/Makefile.am.elf-x86_64 | |||
| @@ -13,7 +13,6 @@ ASM_X86_64_ELF += rc4/rc4-elf-x86_64.S | |||
| 13 | ASM_X86_64_ELF += sha/sha1-elf-x86_64.S | 13 | ASM_X86_64_ELF += sha/sha1-elf-x86_64.S |
| 14 | ASM_X86_64_ELF += sha/sha256-elf-x86_64.S | 14 | ASM_X86_64_ELF += sha/sha256-elf-x86_64.S |
| 15 | ASM_X86_64_ELF += sha/sha512-elf-x86_64.S | 15 | ASM_X86_64_ELF += sha/sha512-elf-x86_64.S |
| 16 | ASM_X86_64_ELF += whrlpool/wp-elf-x86_64.S | ||
| 17 | ASM_X86_64_ELF += cpuid-elf-x86_64.S | 16 | ASM_X86_64_ELF += cpuid-elf-x86_64.S |
| 18 | 17 | ||
| 19 | ASM_X86_64_ELF += bn/arch/amd64/bignum_add.S | 18 | ASM_X86_64_ELF += bn/arch/amd64/bignum_add.S |
diff --git a/crypto/Makefile.am.macosx-x86_64 b/crypto/Makefile.am.macosx-x86_64 index ad1c39f..53593e2 100644 --- a/crypto/Makefile.am.macosx-x86_64 +++ b/crypto/Makefile.am.macosx-x86_64 | |||
| @@ -13,7 +13,6 @@ ASM_X86_64_MACOSX += rc4/rc4-macosx-x86_64.S | |||
| 13 | ASM_X86_64_MACOSX += sha/sha1-macosx-x86_64.S | 13 | ASM_X86_64_MACOSX += sha/sha1-macosx-x86_64.S |
| 14 | ASM_X86_64_MACOSX += sha/sha256-macosx-x86_64.S | 14 | ASM_X86_64_MACOSX += sha/sha256-macosx-x86_64.S |
| 15 | ASM_X86_64_MACOSX += sha/sha512-macosx-x86_64.S | 15 | ASM_X86_64_MACOSX += sha/sha512-macosx-x86_64.S |
| 16 | ASM_X86_64_MACOSX += whrlpool/wp-macosx-x86_64.S | ||
| 17 | ASM_X86_64_MACOSX += cpuid-macosx-x86_64.S | 16 | ASM_X86_64_MACOSX += cpuid-macosx-x86_64.S |
| 18 | 17 | ||
| 19 | ASM_X86_64_MACOSX += bn/arch/amd64/bignum_add.S | 18 | ASM_X86_64_MACOSX += bn/arch/amd64/bignum_add.S |
diff --git a/crypto/Makefile.am.masm-x86_64 b/crypto/Makefile.am.masm-x86_64 index 4feacba..af168b2 100644 --- a/crypto/Makefile.am.masm-x86_64 +++ b/crypto/Makefile.am.masm-x86_64 | |||
| @@ -13,7 +13,6 @@ ASM_X86_64_MASM += rc4/rc4-masm-x86_64.S | |||
| 13 | ASM_X86_64_MASM += sha/sha1-masm-x86_64.S | 13 | ASM_X86_64_MASM += sha/sha1-masm-x86_64.S |
| 14 | ASM_X86_64_MASM += sha/sha256-masm-x86_64.S | 14 | ASM_X86_64_MASM += sha/sha256-masm-x86_64.S |
| 15 | ASM_X86_64_MASM += sha/sha512-masm-x86_64.S | 15 | ASM_X86_64_MASM += sha/sha512-masm-x86_64.S |
| 16 | ASM_X86_64_MASM += whrlpool/wp-masm-x86_64.S | ||
| 17 | ASM_X86_64_MASM += cpuid-masm-x86_64.S | 16 | ASM_X86_64_MASM += cpuid-masm-x86_64.S |
| 18 | 17 | ||
| 19 | EXTRA_DIST += $(ASM_X86_64_MASM) | 18 | EXTRA_DIST += $(ASM_X86_64_MASM) |
diff --git a/crypto/Makefile.am.mingw64-x86_64 b/crypto/Makefile.am.mingw64-x86_64 index 8c430a1..5f95b52 100644 --- a/crypto/Makefile.am.mingw64-x86_64 +++ b/crypto/Makefile.am.mingw64-x86_64 | |||
| @@ -13,7 +13,6 @@ ASM_X86_64_MINGW64 += rc4/rc4-mingw64-x86_64.S | |||
| 13 | ASM_X86_64_MINGW64 += sha/sha1-mingw64-x86_64.S | 13 | ASM_X86_64_MINGW64 += sha/sha1-mingw64-x86_64.S |
| 14 | ASM_X86_64_MINGW64 += sha/sha256-mingw64-x86_64.S | 14 | ASM_X86_64_MINGW64 += sha/sha256-mingw64-x86_64.S |
| 15 | ASM_X86_64_MINGW64 += sha/sha512-mingw64-x86_64.S | 15 | ASM_X86_64_MINGW64 += sha/sha512-mingw64-x86_64.S |
| 16 | ASM_X86_64_MINGW64 += whrlpool/wp-mingw64-x86_64.S | ||
| 17 | ASM_X86_64_MINGW64 += cpuid-mingw64-x86_64.S | 16 | ASM_X86_64_MINGW64 += cpuid-mingw64-x86_64.S |
| 18 | 17 | ||
| 19 | EXTRA_DIST += $(ASM_X86_64_MINGW64) | 18 | EXTRA_DIST += $(ASM_X86_64_MINGW64) |
| @@ -281,7 +281,6 @@ for abi in elf macosx masm mingw64; do | |||
| 281 | gen_asm_stdout $abi sha/asm/sha1-x86_64.pl sha/sha1-$abi-x86_64.S | 281 | gen_asm_stdout $abi sha/asm/sha1-x86_64.pl sha/sha1-$abi-x86_64.S |
| 282 | gen_asm $abi sha/asm/sha512-x86_64.pl sha/sha256-$abi-x86_64.S | 282 | gen_asm $abi sha/asm/sha512-x86_64.pl sha/sha256-$abi-x86_64.S |
| 283 | gen_asm $abi sha/asm/sha512-x86_64.pl sha/sha512-$abi-x86_64.S | 283 | gen_asm $abi sha/asm/sha512-x86_64.pl sha/sha512-$abi-x86_64.S |
| 284 | gen_asm_stdout $abi whrlpool/asm/wp-x86_64.pl whrlpool/wp-$abi-x86_64.S | ||
| 285 | gen_asm $abi x86_64cpuid.pl cpuid-$abi-x86_64.S | 284 | gen_asm $abi x86_64cpuid.pl cpuid-$abi-x86_64.S |
| 286 | done | 285 | done |
| 287 | 286 | ||
