From 428b967ea4fedd07704ebf2de7d08b7f4f3fdad1 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Fri, 11 Feb 2022 09:52:24 +0100 Subject: [PATCH] build: remove broken x32 arch support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I added support for x32 back in 2014 but it's been in a state of disrepair ever since, not in the least because it was never a fully supported architecture in upstream V8. V8 dropped x32 support entirely in or around 2018 so the removal from Node's build system is long overdue. Refs: https://github.com/nodejs/node/issues/40576 PR-URL: https://github.com/nodejs/node/pull/41905 Reviewed-By: Richard Lau Reviewed-By: Jiawen Geng Reviewed-By: Gerhard Stöbich Reviewed-By: Colin Ihrig Reviewed-By: Tobias Nießen --- common.gypi | 6 +- configure.py | 2 +- deps/openssl/config/Makefile | 2 +- .../asm/crypto/include/internal/bn_conf.h | 28 --- .../asm/crypto/include/internal/dso_conf.h | 17 -- .../asm/include/openssl/opensslconf.h | 200 ----------------- .../crypto/include/internal/bn_conf.h | 28 --- .../crypto/include/internal/dso_conf.h | 17 -- .../asm_avx2/include/openssl/opensslconf.h | 200 ----------------- .../no-asm/crypto/include/internal/bn_conf.h | 28 --- .../no-asm/crypto/include/internal/dso_conf.h | 17 -- .../no-asm/include/openssl/opensslconf.h | 203 ------------------ deps/openssl/config/asn1_asm.h | 57 +++++ deps/openssl/config/asn1_no-asm.h | 59 +++++ deps/openssl/config/asn1t_asm.h | 57 +++++ deps/openssl/config/asn1t_no-asm.h | 59 +++++ deps/openssl/config/bio_asm.h | 57 +++++ deps/openssl/config/bio_no-asm.h | 59 +++++ deps/openssl/config/bn_conf_asm.h | 2 - deps/openssl/config/bn_conf_no-asm.h | 2 - deps/openssl/config/cmp_asm.h | 57 +++++ deps/openssl/config/cmp_no-asm.h | 59 +++++ deps/openssl/config/cms_asm.h | 57 +++++ deps/openssl/config/cms_no-asm.h | 59 +++++ deps/openssl/config/conf_asm.h | 57 +++++ deps/openssl/config/conf_no-asm.h | 59 +++++ deps/openssl/config/configuration_asm.h | 57 +++++ deps/openssl/config/configuration_no-asm.h | 59 +++++ deps/openssl/config/crmf_asm.h | 57 +++++ deps/openssl/config/crmf_no-asm.h | 59 +++++ deps/openssl/config/crypto_asm.h | 57 +++++ deps/openssl/config/crypto_no-asm.h | 59 +++++ deps/openssl/config/ct_asm.h | 57 +++++ deps/openssl/config/ct_no-asm.h | 59 +++++ deps/openssl/config/dso_conf_asm.h | 2 - deps/openssl/config/dso_conf_no-asm.h | 2 - deps/openssl/config/err_asm.h | 57 +++++ deps/openssl/config/err_no-asm.h | 59 +++++ deps/openssl/config/ess_asm.h | 57 +++++ deps/openssl/config/ess_no-asm.h | 59 +++++ deps/openssl/config/fipskey_asm.h | 57 +++++ deps/openssl/config/fipskey_no-asm.h | 59 +++++ deps/openssl/config/lhash_asm.h | 57 +++++ deps/openssl/config/lhash_no-asm.h | 59 +++++ deps/openssl/config/ocsp_asm.h | 57 +++++ deps/openssl/config/ocsp_no-asm.h | 59 +++++ deps/openssl/config/opensslconf_asm.h | 2 - deps/openssl/config/opensslconf_no-asm.h | 2 - deps/openssl/config/opensslv_asm.h | 57 +++++ deps/openssl/config/opensslv_no-asm.h | 59 +++++ deps/openssl/config/pkcs12_asm.h | 57 +++++ deps/openssl/config/pkcs12_no-asm.h | 59 +++++ deps/openssl/config/pkcs7_asm.h | 57 +++++ deps/openssl/config/pkcs7_no-asm.h | 59 +++++ deps/openssl/config/safestack_asm.h | 57 +++++ deps/openssl/config/safestack_no-asm.h | 59 +++++ deps/openssl/config/srp_asm.h | 57 +++++ deps/openssl/config/srp_no-asm.h | 59 +++++ deps/openssl/config/ssl_asm.h | 57 +++++ deps/openssl/config/ssl_no-asm.h | 59 +++++ deps/openssl/config/ui_asm.h | 57 +++++ deps/openssl/config/ui_no-asm.h | 59 +++++ deps/openssl/config/x509_asm.h | 57 +++++ deps/openssl/config/x509_no-asm.h | 59 +++++ deps/openssl/config/x509_vfy_asm.h | 57 +++++ deps/openssl/config/x509_vfy_no-asm.h | 59 +++++ deps/openssl/config/x509v3_asm.h | 57 +++++ deps/openssl/config/x509v3_no-asm.h | 59 +++++ deps/zlib/zlib.gyp | 4 +- doc/api/os.md | 2 +- doc/api/process.md | 2 +- tools/v8_gypfiles/toolchain.gypi | 15 -- 72 files changed, 2907 insertions(+), 776 deletions(-) delete mode 100644 deps/openssl/config/archs/linux-x32/asm/crypto/include/internal/bn_conf.h delete mode 100644 deps/openssl/config/archs/linux-x32/asm/crypto/include/internal/dso_conf.h delete mode 100644 deps/openssl/config/archs/linux-x32/asm/include/openssl/opensslconf.h delete mode 100644 deps/openssl/config/archs/linux-x32/asm_avx2/crypto/include/internal/bn_conf.h delete mode 100644 deps/openssl/config/archs/linux-x32/asm_avx2/crypto/include/internal/dso_conf.h delete mode 100644 deps/openssl/config/archs/linux-x32/asm_avx2/include/openssl/opensslconf.h delete mode 100644 deps/openssl/config/archs/linux-x32/no-asm/crypto/include/internal/bn_conf.h delete mode 100644 deps/openssl/config/archs/linux-x32/no-asm/crypto/include/internal/dso_conf.h delete mode 100644 deps/openssl/config/archs/linux-x32/no-asm/include/openssl/opensslconf.h create mode 100644 deps/openssl/config/asn1_asm.h create mode 100644 deps/openssl/config/asn1_no-asm.h create mode 100644 deps/openssl/config/asn1t_asm.h create mode 100644 deps/openssl/config/asn1t_no-asm.h create mode 100644 deps/openssl/config/bio_asm.h create mode 100644 deps/openssl/config/bio_no-asm.h create mode 100644 deps/openssl/config/cmp_asm.h create mode 100644 deps/openssl/config/cmp_no-asm.h create mode 100644 deps/openssl/config/cms_asm.h create mode 100644 deps/openssl/config/cms_no-asm.h create mode 100644 deps/openssl/config/conf_asm.h create mode 100644 deps/openssl/config/conf_no-asm.h create mode 100644 deps/openssl/config/configuration_asm.h create mode 100644 deps/openssl/config/configuration_no-asm.h create mode 100644 deps/openssl/config/crmf_asm.h create mode 100644 deps/openssl/config/crmf_no-asm.h create mode 100644 deps/openssl/config/crypto_asm.h create mode 100644 deps/openssl/config/crypto_no-asm.h create mode 100644 deps/openssl/config/ct_asm.h create mode 100644 deps/openssl/config/ct_no-asm.h create mode 100644 deps/openssl/config/err_asm.h create mode 100644 deps/openssl/config/err_no-asm.h create mode 100644 deps/openssl/config/ess_asm.h create mode 100644 deps/openssl/config/ess_no-asm.h create mode 100644 deps/openssl/config/fipskey_asm.h create mode 100644 deps/openssl/config/fipskey_no-asm.h create mode 100644 deps/openssl/config/lhash_asm.h create mode 100644 deps/openssl/config/lhash_no-asm.h create mode 100644 deps/openssl/config/ocsp_asm.h create mode 100644 deps/openssl/config/ocsp_no-asm.h create mode 100644 deps/openssl/config/opensslv_asm.h create mode 100644 deps/openssl/config/opensslv_no-asm.h create mode 100644 deps/openssl/config/pkcs12_asm.h create mode 100644 deps/openssl/config/pkcs12_no-asm.h create mode 100644 deps/openssl/config/pkcs7_asm.h create mode 100644 deps/openssl/config/pkcs7_no-asm.h create mode 100644 deps/openssl/config/safestack_asm.h create mode 100644 deps/openssl/config/safestack_no-asm.h create mode 100644 deps/openssl/config/srp_asm.h create mode 100644 deps/openssl/config/srp_no-asm.h create mode 100644 deps/openssl/config/ssl_asm.h create mode 100644 deps/openssl/config/ssl_no-asm.h create mode 100644 deps/openssl/config/ui_asm.h create mode 100644 deps/openssl/config/ui_no-asm.h create mode 100644 deps/openssl/config/x509_asm.h create mode 100644 deps/openssl/config/x509_no-asm.h create mode 100644 deps/openssl/config/x509_vfy_asm.h create mode 100644 deps/openssl/config/x509_vfy_no-asm.h create mode 100644 deps/openssl/config/x509v3_asm.h create mode 100644 deps/openssl/config/x509v3_no-asm.h diff --git a/common.gypi b/common.gypi index 090873a0406ad9..fae718a7cb563b 100644 --- a/common.gypi +++ b/common.gypi @@ -112,7 +112,7 @@ 'v8_base': '<(PRODUCT_DIR)/libv8_snapshot.a', }], # V8 pointer compression only supports 64bit architectures. - ['target_arch in "arm ia32 mips mipsel ppc x32"', { + ['target_arch in "arm ia32 mips mipsel ppc"', { 'v8_enable_pointer_compression': 0, 'v8_enable_31bit_smis_on_64bit_arch': 0, }], @@ -420,10 +420,6 @@ 'cflags': [ '-m32' ], 'ldflags': [ '-m32' ], }], - [ 'target_arch=="x32"', { - 'cflags': [ '-mx32' ], - 'ldflags': [ '-mx32' ], - }], [ 'target_arch=="x64"', { 'cflags': [ '-m64' ], 'ldflags': [ '-m64' ], diff --git a/configure.py b/configure.py index 1ba6a1e5866c5e..55549c60223130 100755 --- a/configure.py +++ b/configure.py @@ -47,7 +47,7 @@ valid_os = ('win', 'mac', 'solaris', 'freebsd', 'openbsd', 'linux', 'android', 'aix', 'cloudabi') valid_arch = ('arm', 'arm64', 'ia32', 'mips', 'mipsel', 'mips64el', 'ppc', - 'ppc64', 'x32','x64', 'x86', 'x86_64', 's390x', 'riscv64') + 'ppc64', 'x64', 'x86', 'x86_64', 's390x', 'riscv64', 'loong64') valid_arm_float_abi = ('soft', 'softfp', 'hard') valid_arm_fpu = ('vfp', 'vfpv3', 'vfpv3-d16', 'neon') valid_mips_arch = ('loongson', 'r1', 'r2', 'r6', 'rx') diff --git a/deps/openssl/config/Makefile b/deps/openssl/config/Makefile index 26752f43ac4913..a5db557cbef3da 100644 --- a/deps/openssl/config/Makefile +++ b/deps/openssl/config/Makefile @@ -11,7 +11,7 @@ PERL = perl # Supported architecture list ASM_ARCHS = aix-gcc aix64-gcc BSD-x86 BSD-x86_64 \ darwin64-x86_64-cc darwin-i386-cc darwin64-arm64-cc linux-aarch64 \ -linux-armv4 linux-elf linux-x32 linux-x86_64 linux-ppc \ +linux-armv4 linux-elf linux-x86_64 linux-ppc \ linux-ppc64 linux-ppc64le linux32-s390x linux64-s390x linux64-mips64\ solaris-x86-gcc solaris64-x86_64-gcc VC-WIN64A VC-WIN32 diff --git a/deps/openssl/config/archs/linux-x32/asm/crypto/include/internal/bn_conf.h b/deps/openssl/config/archs/linux-x32/asm/crypto/include/internal/bn_conf.h deleted file mode 100644 index 93f75e2e1512cb..00000000000000 --- a/deps/openssl/config/archs/linux-x32/asm/crypto/include/internal/bn_conf.h +++ /dev/null @@ -1,28 +0,0 @@ -/* WARNING: do not edit! */ -/* Generated by Makefile from include/crypto/bn_conf.h.in */ -/* - * Copyright 2016 The OpenSSL Project Authors. All Rights Reserved. - * - * Licensed under the OpenSSL license (the "License"). You may not use - * this file except in compliance with the License. You can obtain a copy - * in the file LICENSE in the source distribution or at - * https://www.openssl.org/source/license.html - */ - -#ifndef OSSL_CRYPTO_BN_CONF_H -# define OSSL_CRYPTO_BN_CONF_H - -/* - * The contents of this file are not used in the UEFI build, as - * both 32-bit and 64-bit builds are supported from a single run - * of the Configure script. - */ - -/* Should we define BN_DIV2W here? */ - -/* Only one for the following should be defined */ -#undef SIXTY_FOUR_BIT_LONG -#define SIXTY_FOUR_BIT -#undef THIRTY_TWO_BIT - -#endif diff --git a/deps/openssl/config/archs/linux-x32/asm/crypto/include/internal/dso_conf.h b/deps/openssl/config/archs/linux-x32/asm/crypto/include/internal/dso_conf.h deleted file mode 100644 index 4b1167c3d8df3f..00000000000000 --- a/deps/openssl/config/archs/linux-x32/asm/crypto/include/internal/dso_conf.h +++ /dev/null @@ -1,17 +0,0 @@ -/* WARNING: do not edit! */ -/* Generated by Makefile from include/crypto/dso_conf.h.in */ -/* - * Copyright 2016-2019 The OpenSSL Project Authors. All Rights Reserved. - * - * Licensed under the OpenSSL license (the "License"). You may not use - * this file except in compliance with the License. You can obtain a copy - * in the file LICENSE in the source distribution or at - * https://www.openssl.org/source/license.html - */ - -#ifndef OSSL_CRYPTO_DSO_CONF_H -# define OSSL_CRYPTO_DSO_CONF_H -# define DSO_DLFCN -# define HAVE_DLFCN_H -# define DSO_EXTENSION ".so" -#endif diff --git a/deps/openssl/config/archs/linux-x32/asm/include/openssl/opensslconf.h b/deps/openssl/config/archs/linux-x32/asm/include/openssl/opensslconf.h deleted file mode 100644 index dc4b7ebef3f625..00000000000000 --- a/deps/openssl/config/archs/linux-x32/asm/include/openssl/opensslconf.h +++ /dev/null @@ -1,200 +0,0 @@ -/* - * WARNING: do not edit! - * Generated by Makefile from include/openssl/opensslconf.h.in - * - * Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved. - * - * Licensed under the OpenSSL license (the "License"). You may not use - * this file except in compliance with the License. You can obtain a copy - * in the file LICENSE in the source distribution or at - * https://www.openssl.org/source/license.html - */ - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -#ifdef OPENSSL_ALGORITHM_DEFINES -# error OPENSSL_ALGORITHM_DEFINES no longer supported -#endif - -/* - * OpenSSL was configured with the following options: - */ - -#ifndef OPENSSL_NO_COMP -# define OPENSSL_NO_COMP -#endif -#ifndef OPENSSL_NO_MD2 -# define OPENSSL_NO_MD2 -#endif -#ifndef OPENSSL_NO_RC5 -# define OPENSSL_NO_RC5 -#endif -#ifndef OPENSSL_THREADS -# define OPENSSL_THREADS -#endif -#ifndef OPENSSL_RAND_SEED_OS -# define OPENSSL_RAND_SEED_OS -#endif -#ifndef OPENSSL_NO_AFALGENG -# define OPENSSL_NO_AFALGENG -#endif -#ifndef OPENSSL_NO_ASAN -# define OPENSSL_NO_ASAN -#endif -#ifndef OPENSSL_NO_CRYPTO_MDEBUG -# define OPENSSL_NO_CRYPTO_MDEBUG -#endif -#ifndef OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE -# define OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE -#endif -#ifndef OPENSSL_NO_DEVCRYPTOENG -# define OPENSSL_NO_DEVCRYPTOENG -#endif -#ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 -# define OPENSSL_NO_EC_NISTP_64_GCC_128 -#endif -#ifndef OPENSSL_NO_EGD -# define OPENSSL_NO_EGD -#endif -#ifndef OPENSSL_NO_EXTERNAL_TESTS -# define OPENSSL_NO_EXTERNAL_TESTS -#endif -#ifndef OPENSSL_NO_FUZZ_AFL -# define OPENSSL_NO_FUZZ_AFL -#endif -#ifndef OPENSSL_NO_FUZZ_LIBFUZZER -# define OPENSSL_NO_FUZZ_LIBFUZZER -#endif -#ifndef OPENSSL_NO_HEARTBEATS -# define OPENSSL_NO_HEARTBEATS -#endif -#ifndef OPENSSL_NO_MSAN -# define OPENSSL_NO_MSAN -#endif -#ifndef OPENSSL_NO_SCTP -# define OPENSSL_NO_SCTP -#endif -#ifndef OPENSSL_NO_SSL3 -# define OPENSSL_NO_SSL3 -#endif -#ifndef OPENSSL_NO_SSL3_METHOD -# define OPENSSL_NO_SSL3_METHOD -#endif -#ifndef OPENSSL_NO_UBSAN -# define OPENSSL_NO_UBSAN -#endif -#ifndef OPENSSL_NO_UNIT_TEST -# define OPENSSL_NO_UNIT_TEST -#endif -#ifndef OPENSSL_NO_WEAK_SSL_CIPHERS -# define OPENSSL_NO_WEAK_SSL_CIPHERS -#endif -#ifndef OPENSSL_NO_DYNAMIC_ENGINE -# define OPENSSL_NO_DYNAMIC_ENGINE -#endif - - -/* - * Sometimes OPENSSSL_NO_xxx ends up with an empty file and some compilers - * don't like that. This will hopefully silence them. - */ -#define NON_EMPTY_TRANSLATION_UNIT static void *dummy = &dummy; - -/* - * Applications should use -DOPENSSL_API_COMPAT= to suppress the - * declarations of functions deprecated in or before . Otherwise, they - * still won't see them if the library has been built to disable deprecated - * functions. - */ -#ifndef DECLARE_DEPRECATED -# define DECLARE_DEPRECATED(f) f; -# ifdef __GNUC__ -# if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 0) -# undef DECLARE_DEPRECATED -# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); -# endif -# elif defined(__SUNPRO_C) -# if (__SUNPRO_C >= 0x5130) -# undef DECLARE_DEPRECATED -# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); -# endif -# endif -#endif - -#ifndef OPENSSL_FILE -# ifdef OPENSSL_NO_FILENAMES -# define OPENSSL_FILE "" -# define OPENSSL_LINE 0 -# else -# define OPENSSL_FILE __FILE__ -# define OPENSSL_LINE __LINE__ -# endif -#endif - -#ifndef OPENSSL_MIN_API -# define OPENSSL_MIN_API 0 -#endif - -#if !defined(OPENSSL_API_COMPAT) || OPENSSL_API_COMPAT < OPENSSL_MIN_API -# undef OPENSSL_API_COMPAT -# define OPENSSL_API_COMPAT OPENSSL_MIN_API -#endif - -/* - * Do not deprecate things to be deprecated in version 1.2.0 before the - * OpenSSL version number matches. - */ -#if OPENSSL_VERSION_NUMBER < 0x10200000L -# define DEPRECATEDIN_1_2_0(f) f; -#elif OPENSSL_API_COMPAT < 0x10200000L -# define DEPRECATEDIN_1_2_0(f) DECLARE_DEPRECATED(f) -#else -# define DEPRECATEDIN_1_2_0(f) -#endif - -#if OPENSSL_API_COMPAT < 0x10100000L -# define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) -#else -# define DEPRECATEDIN_1_1_0(f) -#endif - -#if OPENSSL_API_COMPAT < 0x10000000L -# define DEPRECATEDIN_1_0_0(f) DECLARE_DEPRECATED(f) -#else -# define DEPRECATEDIN_1_0_0(f) -#endif - -#if OPENSSL_API_COMPAT < 0x00908000L -# define DEPRECATEDIN_0_9_8(f) DECLARE_DEPRECATED(f) -#else -# define DEPRECATEDIN_0_9_8(f) -#endif - -/* Generate 80386 code? */ -#undef I386_ONLY - -#undef OPENSSL_UNISTD -#define OPENSSL_UNISTD - -#undef OPENSSL_EXPORT_VAR_AS_FUNCTION - -/* - * The following are cipher-specific, but are part of the public API. - */ -#if !defined(OPENSSL_SYS_UEFI) -# undef BN_LLONG -/* Only one for the following should be defined */ -# undef SIXTY_FOUR_BIT_LONG -# define SIXTY_FOUR_BIT -# undef THIRTY_TWO_BIT -#endif - -#define RC4_INT unsigned int - -#ifdef __cplusplus -} -#endif diff --git a/deps/openssl/config/archs/linux-x32/asm_avx2/crypto/include/internal/bn_conf.h b/deps/openssl/config/archs/linux-x32/asm_avx2/crypto/include/internal/bn_conf.h deleted file mode 100644 index 93f75e2e1512cb..00000000000000 --- a/deps/openssl/config/archs/linux-x32/asm_avx2/crypto/include/internal/bn_conf.h +++ /dev/null @@ -1,28 +0,0 @@ -/* WARNING: do not edit! */ -/* Generated by Makefile from include/crypto/bn_conf.h.in */ -/* - * Copyright 2016 The OpenSSL Project Authors. All Rights Reserved. - * - * Licensed under the OpenSSL license (the "License"). You may not use - * this file except in compliance with the License. You can obtain a copy - * in the file LICENSE in the source distribution or at - * https://www.openssl.org/source/license.html - */ - -#ifndef OSSL_CRYPTO_BN_CONF_H -# define OSSL_CRYPTO_BN_CONF_H - -/* - * The contents of this file are not used in the UEFI build, as - * both 32-bit and 64-bit builds are supported from a single run - * of the Configure script. - */ - -/* Should we define BN_DIV2W here? */ - -/* Only one for the following should be defined */ -#undef SIXTY_FOUR_BIT_LONG -#define SIXTY_FOUR_BIT -#undef THIRTY_TWO_BIT - -#endif diff --git a/deps/openssl/config/archs/linux-x32/asm_avx2/crypto/include/internal/dso_conf.h b/deps/openssl/config/archs/linux-x32/asm_avx2/crypto/include/internal/dso_conf.h deleted file mode 100644 index 4b1167c3d8df3f..00000000000000 --- a/deps/openssl/config/archs/linux-x32/asm_avx2/crypto/include/internal/dso_conf.h +++ /dev/null @@ -1,17 +0,0 @@ -/* WARNING: do not edit! */ -/* Generated by Makefile from include/crypto/dso_conf.h.in */ -/* - * Copyright 2016-2019 The OpenSSL Project Authors. All Rights Reserved. - * - * Licensed under the OpenSSL license (the "License"). You may not use - * this file except in compliance with the License. You can obtain a copy - * in the file LICENSE in the source distribution or at - * https://www.openssl.org/source/license.html - */ - -#ifndef OSSL_CRYPTO_DSO_CONF_H -# define OSSL_CRYPTO_DSO_CONF_H -# define DSO_DLFCN -# define HAVE_DLFCN_H -# define DSO_EXTENSION ".so" -#endif diff --git a/deps/openssl/config/archs/linux-x32/asm_avx2/include/openssl/opensslconf.h b/deps/openssl/config/archs/linux-x32/asm_avx2/include/openssl/opensslconf.h deleted file mode 100644 index dc4b7ebef3f625..00000000000000 --- a/deps/openssl/config/archs/linux-x32/asm_avx2/include/openssl/opensslconf.h +++ /dev/null @@ -1,200 +0,0 @@ -/* - * WARNING: do not edit! - * Generated by Makefile from include/openssl/opensslconf.h.in - * - * Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved. - * - * Licensed under the OpenSSL license (the "License"). You may not use - * this file except in compliance with the License. You can obtain a copy - * in the file LICENSE in the source distribution or at - * https://www.openssl.org/source/license.html - */ - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -#ifdef OPENSSL_ALGORITHM_DEFINES -# error OPENSSL_ALGORITHM_DEFINES no longer supported -#endif - -/* - * OpenSSL was configured with the following options: - */ - -#ifndef OPENSSL_NO_COMP -# define OPENSSL_NO_COMP -#endif -#ifndef OPENSSL_NO_MD2 -# define OPENSSL_NO_MD2 -#endif -#ifndef OPENSSL_NO_RC5 -# define OPENSSL_NO_RC5 -#endif -#ifndef OPENSSL_THREADS -# define OPENSSL_THREADS -#endif -#ifndef OPENSSL_RAND_SEED_OS -# define OPENSSL_RAND_SEED_OS -#endif -#ifndef OPENSSL_NO_AFALGENG -# define OPENSSL_NO_AFALGENG -#endif -#ifndef OPENSSL_NO_ASAN -# define OPENSSL_NO_ASAN -#endif -#ifndef OPENSSL_NO_CRYPTO_MDEBUG -# define OPENSSL_NO_CRYPTO_MDEBUG -#endif -#ifndef OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE -# define OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE -#endif -#ifndef OPENSSL_NO_DEVCRYPTOENG -# define OPENSSL_NO_DEVCRYPTOENG -#endif -#ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 -# define OPENSSL_NO_EC_NISTP_64_GCC_128 -#endif -#ifndef OPENSSL_NO_EGD -# define OPENSSL_NO_EGD -#endif -#ifndef OPENSSL_NO_EXTERNAL_TESTS -# define OPENSSL_NO_EXTERNAL_TESTS -#endif -#ifndef OPENSSL_NO_FUZZ_AFL -# define OPENSSL_NO_FUZZ_AFL -#endif -#ifndef OPENSSL_NO_FUZZ_LIBFUZZER -# define OPENSSL_NO_FUZZ_LIBFUZZER -#endif -#ifndef OPENSSL_NO_HEARTBEATS -# define OPENSSL_NO_HEARTBEATS -#endif -#ifndef OPENSSL_NO_MSAN -# define OPENSSL_NO_MSAN -#endif -#ifndef OPENSSL_NO_SCTP -# define OPENSSL_NO_SCTP -#endif -#ifndef OPENSSL_NO_SSL3 -# define OPENSSL_NO_SSL3 -#endif -#ifndef OPENSSL_NO_SSL3_METHOD -# define OPENSSL_NO_SSL3_METHOD -#endif -#ifndef OPENSSL_NO_UBSAN -# define OPENSSL_NO_UBSAN -#endif -#ifndef OPENSSL_NO_UNIT_TEST -# define OPENSSL_NO_UNIT_TEST -#endif -#ifndef OPENSSL_NO_WEAK_SSL_CIPHERS -# define OPENSSL_NO_WEAK_SSL_CIPHERS -#endif -#ifndef OPENSSL_NO_DYNAMIC_ENGINE -# define OPENSSL_NO_DYNAMIC_ENGINE -#endif - - -/* - * Sometimes OPENSSSL_NO_xxx ends up with an empty file and some compilers - * don't like that. This will hopefully silence them. - */ -#define NON_EMPTY_TRANSLATION_UNIT static void *dummy = &dummy; - -/* - * Applications should use -DOPENSSL_API_COMPAT= to suppress the - * declarations of functions deprecated in or before . Otherwise, they - * still won't see them if the library has been built to disable deprecated - * functions. - */ -#ifndef DECLARE_DEPRECATED -# define DECLARE_DEPRECATED(f) f; -# ifdef __GNUC__ -# if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 0) -# undef DECLARE_DEPRECATED -# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); -# endif -# elif defined(__SUNPRO_C) -# if (__SUNPRO_C >= 0x5130) -# undef DECLARE_DEPRECATED -# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); -# endif -# endif -#endif - -#ifndef OPENSSL_FILE -# ifdef OPENSSL_NO_FILENAMES -# define OPENSSL_FILE "" -# define OPENSSL_LINE 0 -# else -# define OPENSSL_FILE __FILE__ -# define OPENSSL_LINE __LINE__ -# endif -#endif - -#ifndef OPENSSL_MIN_API -# define OPENSSL_MIN_API 0 -#endif - -#if !defined(OPENSSL_API_COMPAT) || OPENSSL_API_COMPAT < OPENSSL_MIN_API -# undef OPENSSL_API_COMPAT -# define OPENSSL_API_COMPAT OPENSSL_MIN_API -#endif - -/* - * Do not deprecate things to be deprecated in version 1.2.0 before the - * OpenSSL version number matches. - */ -#if OPENSSL_VERSION_NUMBER < 0x10200000L -# define DEPRECATEDIN_1_2_0(f) f; -#elif OPENSSL_API_COMPAT < 0x10200000L -# define DEPRECATEDIN_1_2_0(f) DECLARE_DEPRECATED(f) -#else -# define DEPRECATEDIN_1_2_0(f) -#endif - -#if OPENSSL_API_COMPAT < 0x10100000L -# define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) -#else -# define DEPRECATEDIN_1_1_0(f) -#endif - -#if OPENSSL_API_COMPAT < 0x10000000L -# define DEPRECATEDIN_1_0_0(f) DECLARE_DEPRECATED(f) -#else -# define DEPRECATEDIN_1_0_0(f) -#endif - -#if OPENSSL_API_COMPAT < 0x00908000L -# define DEPRECATEDIN_0_9_8(f) DECLARE_DEPRECATED(f) -#else -# define DEPRECATEDIN_0_9_8(f) -#endif - -/* Generate 80386 code? */ -#undef I386_ONLY - -#undef OPENSSL_UNISTD -#define OPENSSL_UNISTD - -#undef OPENSSL_EXPORT_VAR_AS_FUNCTION - -/* - * The following are cipher-specific, but are part of the public API. - */ -#if !defined(OPENSSL_SYS_UEFI) -# undef BN_LLONG -/* Only one for the following should be defined */ -# undef SIXTY_FOUR_BIT_LONG -# define SIXTY_FOUR_BIT -# undef THIRTY_TWO_BIT -#endif - -#define RC4_INT unsigned int - -#ifdef __cplusplus -} -#endif diff --git a/deps/openssl/config/archs/linux-x32/no-asm/crypto/include/internal/bn_conf.h b/deps/openssl/config/archs/linux-x32/no-asm/crypto/include/internal/bn_conf.h deleted file mode 100644 index 93f75e2e1512cb..00000000000000 --- a/deps/openssl/config/archs/linux-x32/no-asm/crypto/include/internal/bn_conf.h +++ /dev/null @@ -1,28 +0,0 @@ -/* WARNING: do not edit! */ -/* Generated by Makefile from include/crypto/bn_conf.h.in */ -/* - * Copyright 2016 The OpenSSL Project Authors. All Rights Reserved. - * - * Licensed under the OpenSSL license (the "License"). You may not use - * this file except in compliance with the License. You can obtain a copy - * in the file LICENSE in the source distribution or at - * https://www.openssl.org/source/license.html - */ - -#ifndef OSSL_CRYPTO_BN_CONF_H -# define OSSL_CRYPTO_BN_CONF_H - -/* - * The contents of this file are not used in the UEFI build, as - * both 32-bit and 64-bit builds are supported from a single run - * of the Configure script. - */ - -/* Should we define BN_DIV2W here? */ - -/* Only one for the following should be defined */ -#undef SIXTY_FOUR_BIT_LONG -#define SIXTY_FOUR_BIT -#undef THIRTY_TWO_BIT - -#endif diff --git a/deps/openssl/config/archs/linux-x32/no-asm/crypto/include/internal/dso_conf.h b/deps/openssl/config/archs/linux-x32/no-asm/crypto/include/internal/dso_conf.h deleted file mode 100644 index 4b1167c3d8df3f..00000000000000 --- a/deps/openssl/config/archs/linux-x32/no-asm/crypto/include/internal/dso_conf.h +++ /dev/null @@ -1,17 +0,0 @@ -/* WARNING: do not edit! */ -/* Generated by Makefile from include/crypto/dso_conf.h.in */ -/* - * Copyright 2016-2019 The OpenSSL Project Authors. All Rights Reserved. - * - * Licensed under the OpenSSL license (the "License"). You may not use - * this file except in compliance with the License. You can obtain a copy - * in the file LICENSE in the source distribution or at - * https://www.openssl.org/source/license.html - */ - -#ifndef OSSL_CRYPTO_DSO_CONF_H -# define OSSL_CRYPTO_DSO_CONF_H -# define DSO_DLFCN -# define HAVE_DLFCN_H -# define DSO_EXTENSION ".so" -#endif diff --git a/deps/openssl/config/archs/linux-x32/no-asm/include/openssl/opensslconf.h b/deps/openssl/config/archs/linux-x32/no-asm/include/openssl/opensslconf.h deleted file mode 100644 index d78bc05bb67d6d..00000000000000 --- a/deps/openssl/config/archs/linux-x32/no-asm/include/openssl/opensslconf.h +++ /dev/null @@ -1,203 +0,0 @@ -/* - * WARNING: do not edit! - * Generated by Makefile from include/openssl/opensslconf.h.in - * - * Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved. - * - * Licensed under the OpenSSL license (the "License"). You may not use - * this file except in compliance with the License. You can obtain a copy - * in the file LICENSE in the source distribution or at - * https://www.openssl.org/source/license.html - */ - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -#ifdef OPENSSL_ALGORITHM_DEFINES -# error OPENSSL_ALGORITHM_DEFINES no longer supported -#endif - -/* - * OpenSSL was configured with the following options: - */ - -#ifndef OPENSSL_NO_COMP -# define OPENSSL_NO_COMP -#endif -#ifndef OPENSSL_NO_MD2 -# define OPENSSL_NO_MD2 -#endif -#ifndef OPENSSL_NO_RC5 -# define OPENSSL_NO_RC5 -#endif -#ifndef OPENSSL_THREADS -# define OPENSSL_THREADS -#endif -#ifndef OPENSSL_RAND_SEED_OS -# define OPENSSL_RAND_SEED_OS -#endif -#ifndef OPENSSL_NO_AFALGENG -# define OPENSSL_NO_AFALGENG -#endif -#ifndef OPENSSL_NO_ASAN -# define OPENSSL_NO_ASAN -#endif -#ifndef OPENSSL_NO_ASM -# define OPENSSL_NO_ASM -#endif -#ifndef OPENSSL_NO_CRYPTO_MDEBUG -# define OPENSSL_NO_CRYPTO_MDEBUG -#endif -#ifndef OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE -# define OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE -#endif -#ifndef OPENSSL_NO_DEVCRYPTOENG -# define OPENSSL_NO_DEVCRYPTOENG -#endif -#ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 -# define OPENSSL_NO_EC_NISTP_64_GCC_128 -#endif -#ifndef OPENSSL_NO_EGD -# define OPENSSL_NO_EGD -#endif -#ifndef OPENSSL_NO_EXTERNAL_TESTS -# define OPENSSL_NO_EXTERNAL_TESTS -#endif -#ifndef OPENSSL_NO_FUZZ_AFL -# define OPENSSL_NO_FUZZ_AFL -#endif -#ifndef OPENSSL_NO_FUZZ_LIBFUZZER -# define OPENSSL_NO_FUZZ_LIBFUZZER -#endif -#ifndef OPENSSL_NO_HEARTBEATS -# define OPENSSL_NO_HEARTBEATS -#endif -#ifndef OPENSSL_NO_MSAN -# define OPENSSL_NO_MSAN -#endif -#ifndef OPENSSL_NO_SCTP -# define OPENSSL_NO_SCTP -#endif -#ifndef OPENSSL_NO_SSL3 -# define OPENSSL_NO_SSL3 -#endif -#ifndef OPENSSL_NO_SSL3_METHOD -# define OPENSSL_NO_SSL3_METHOD -#endif -#ifndef OPENSSL_NO_UBSAN -# define OPENSSL_NO_UBSAN -#endif -#ifndef OPENSSL_NO_UNIT_TEST -# define OPENSSL_NO_UNIT_TEST -#endif -#ifndef OPENSSL_NO_WEAK_SSL_CIPHERS -# define OPENSSL_NO_WEAK_SSL_CIPHERS -#endif -#ifndef OPENSSL_NO_DYNAMIC_ENGINE -# define OPENSSL_NO_DYNAMIC_ENGINE -#endif - - -/* - * Sometimes OPENSSSL_NO_xxx ends up with an empty file and some compilers - * don't like that. This will hopefully silence them. - */ -#define NON_EMPTY_TRANSLATION_UNIT static void *dummy = &dummy; - -/* - * Applications should use -DOPENSSL_API_COMPAT= to suppress the - * declarations of functions deprecated in or before . Otherwise, they - * still won't see them if the library has been built to disable deprecated - * functions. - */ -#ifndef DECLARE_DEPRECATED -# define DECLARE_DEPRECATED(f) f; -# ifdef __GNUC__ -# if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 0) -# undef DECLARE_DEPRECATED -# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); -# endif -# elif defined(__SUNPRO_C) -# if (__SUNPRO_C >= 0x5130) -# undef DECLARE_DEPRECATED -# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); -# endif -# endif -#endif - -#ifndef OPENSSL_FILE -# ifdef OPENSSL_NO_FILENAMES -# define OPENSSL_FILE "" -# define OPENSSL_LINE 0 -# else -# define OPENSSL_FILE __FILE__ -# define OPENSSL_LINE __LINE__ -# endif -#endif - -#ifndef OPENSSL_MIN_API -# define OPENSSL_MIN_API 0 -#endif - -#if !defined(OPENSSL_API_COMPAT) || OPENSSL_API_COMPAT < OPENSSL_MIN_API -# undef OPENSSL_API_COMPAT -# define OPENSSL_API_COMPAT OPENSSL_MIN_API -#endif - -/* - * Do not deprecate things to be deprecated in version 1.2.0 before the - * OpenSSL version number matches. - */ -#if OPENSSL_VERSION_NUMBER < 0x10200000L -# define DEPRECATEDIN_1_2_0(f) f; -#elif OPENSSL_API_COMPAT < 0x10200000L -# define DEPRECATEDIN_1_2_0(f) DECLARE_DEPRECATED(f) -#else -# define DEPRECATEDIN_1_2_0(f) -#endif - -#if OPENSSL_API_COMPAT < 0x10100000L -# define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) -#else -# define DEPRECATEDIN_1_1_0(f) -#endif - -#if OPENSSL_API_COMPAT < 0x10000000L -# define DEPRECATEDIN_1_0_0(f) DECLARE_DEPRECATED(f) -#else -# define DEPRECATEDIN_1_0_0(f) -#endif - -#if OPENSSL_API_COMPAT < 0x00908000L -# define DEPRECATEDIN_0_9_8(f) DECLARE_DEPRECATED(f) -#else -# define DEPRECATEDIN_0_9_8(f) -#endif - -/* Generate 80386 code? */ -#undef I386_ONLY - -#undef OPENSSL_UNISTD -#define OPENSSL_UNISTD - -#undef OPENSSL_EXPORT_VAR_AS_FUNCTION - -/* - * The following are cipher-specific, but are part of the public API. - */ -#if !defined(OPENSSL_SYS_UEFI) -# undef BN_LLONG -/* Only one for the following should be defined */ -# undef SIXTY_FOUR_BIT_LONG -# define SIXTY_FOUR_BIT -# undef THIRTY_TWO_BIT -#endif - -#define RC4_INT unsigned int - -#ifdef __cplusplus -} -#endif diff --git a/deps/openssl/config/asn1_asm.h b/deps/openssl/config/asn1_asm.h new file mode 100644 index 00000000000000..4d368244658fef --- /dev/null +++ b/deps/openssl/config/asn1_asm.h @@ -0,0 +1,57 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/asm/include/openssl/asn1.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/asm/include/openssl/asn1.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/asm/include/openssl/asn1.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/asm/include/openssl/asn1.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/asm/include/openssl/asn1.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/asm/include/openssl/asn1.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/asm/include/openssl/asn1.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/asm/include/openssl/asn1.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/asm/include/openssl/asn1.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/asm/include/openssl/asn1.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/asm/include/openssl/asn1.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/asm/include/openssl/asn1.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/asm/include/openssl/asn1.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/asm/include/openssl/asn1.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/asm/include/openssl/asn1.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/asm/include/openssl/asn1.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/asm/include/openssl/asn1.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/asm/include/openssl/asn1.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/asm/include/openssl/asn1.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/asm/include/openssl/asn1.h" +#else +# include "./archs/linux-elf/asm/include/openssl/asn1.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/asn1_no-asm.h b/deps/openssl/config/asn1_no-asm.h new file mode 100644 index 00000000000000..247812386278eb --- /dev/null +++ b/deps/openssl/config/asn1_no-asm.h @@ -0,0 +1,59 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/no-asm/include/openssl/asn1.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/no-asm/include/openssl/asn1.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/no-asm/include/openssl/asn1.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/no-asm/include/openssl/asn1.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/no-asm/include/openssl/asn1.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/no-asm/include/openssl/asn1.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/no-asm/include/openssl/asn1.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/no-asm/include/openssl/asn1.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/no-asm/include/openssl/asn1.h" +#elif defined(_WIN32) && defined(_M_ARM64) +# include "./archs/VC-WIN64-ARM/no-asm/include/openssl/asn1.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/no-asm/include/openssl/asn1.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/no-asm/include/openssl/asn1.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/no-asm/include/openssl/asn1.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/no-asm/include/openssl/asn1.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/no-asm/include/openssl/asn1.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/no-asm/include/openssl/asn1.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/no-asm/include/openssl/asn1.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/no-asm/include/openssl/asn1.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/no-asm/include/openssl/asn1.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/no-asm/include/openssl/asn1.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/no-asm/include/openssl/asn1.h" +#else +# include "./archs/linux-elf/no-asm/include/openssl/asn1.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/asn1t_asm.h b/deps/openssl/config/asn1t_asm.h new file mode 100644 index 00000000000000..fbd767cb5b3c5b --- /dev/null +++ b/deps/openssl/config/asn1t_asm.h @@ -0,0 +1,57 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/asm/include/openssl/asn1t.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/asm/include/openssl/asn1t.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/asm/include/openssl/asn1t.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/asm/include/openssl/asn1t.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/asm/include/openssl/asn1t.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/asm/include/openssl/asn1t.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/asm/include/openssl/asn1t.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/asm/include/openssl/asn1t.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/asm/include/openssl/asn1t.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/asm/include/openssl/asn1t.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/asm/include/openssl/asn1t.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/asm/include/openssl/asn1t.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/asm/include/openssl/asn1t.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/asm/include/openssl/asn1t.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/asm/include/openssl/asn1t.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/asm/include/openssl/asn1t.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/asm/include/openssl/asn1t.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/asm/include/openssl/asn1t.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/asm/include/openssl/asn1t.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/asm/include/openssl/asn1t.h" +#else +# include "./archs/linux-elf/asm/include/openssl/asn1t.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/asn1t_no-asm.h b/deps/openssl/config/asn1t_no-asm.h new file mode 100644 index 00000000000000..67c1791e3ca1b6 --- /dev/null +++ b/deps/openssl/config/asn1t_no-asm.h @@ -0,0 +1,59 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/no-asm/include/openssl/asn1t.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/no-asm/include/openssl/asn1t.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/no-asm/include/openssl/asn1t.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/no-asm/include/openssl/asn1t.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/no-asm/include/openssl/asn1t.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/no-asm/include/openssl/asn1t.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/no-asm/include/openssl/asn1t.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/no-asm/include/openssl/asn1t.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/no-asm/include/openssl/asn1t.h" +#elif defined(_WIN32) && defined(_M_ARM64) +# include "./archs/VC-WIN64-ARM/no-asm/include/openssl/asn1t.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/no-asm/include/openssl/asn1t.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/no-asm/include/openssl/asn1t.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/no-asm/include/openssl/asn1t.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/no-asm/include/openssl/asn1t.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/no-asm/include/openssl/asn1t.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/no-asm/include/openssl/asn1t.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/no-asm/include/openssl/asn1t.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/no-asm/include/openssl/asn1t.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/no-asm/include/openssl/asn1t.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/no-asm/include/openssl/asn1t.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/no-asm/include/openssl/asn1t.h" +#else +# include "./archs/linux-elf/no-asm/include/openssl/asn1t.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/bio_asm.h b/deps/openssl/config/bio_asm.h new file mode 100644 index 00000000000000..202e9eb22382ac --- /dev/null +++ b/deps/openssl/config/bio_asm.h @@ -0,0 +1,57 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/asm/include/openssl/bio.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/asm/include/openssl/bio.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/asm/include/openssl/bio.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/asm/include/openssl/bio.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/asm/include/openssl/bio.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/asm/include/openssl/bio.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/asm/include/openssl/bio.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/asm/include/openssl/bio.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/asm/include/openssl/bio.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/asm/include/openssl/bio.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/asm/include/openssl/bio.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/asm/include/openssl/bio.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/asm/include/openssl/bio.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/asm/include/openssl/bio.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/asm/include/openssl/bio.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/asm/include/openssl/bio.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/asm/include/openssl/bio.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/asm/include/openssl/bio.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/asm/include/openssl/bio.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/asm/include/openssl/bio.h" +#else +# include "./archs/linux-elf/asm/include/openssl/bio.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/bio_no-asm.h b/deps/openssl/config/bio_no-asm.h new file mode 100644 index 00000000000000..9328869800fa29 --- /dev/null +++ b/deps/openssl/config/bio_no-asm.h @@ -0,0 +1,59 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/no-asm/include/openssl/bio.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/no-asm/include/openssl/bio.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/no-asm/include/openssl/bio.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/no-asm/include/openssl/bio.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/no-asm/include/openssl/bio.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/no-asm/include/openssl/bio.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/no-asm/include/openssl/bio.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/no-asm/include/openssl/bio.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/no-asm/include/openssl/bio.h" +#elif defined(_WIN32) && defined(_M_ARM64) +# include "./archs/VC-WIN64-ARM/no-asm/include/openssl/bio.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/no-asm/include/openssl/bio.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/no-asm/include/openssl/bio.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/no-asm/include/openssl/bio.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/no-asm/include/openssl/bio.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/no-asm/include/openssl/bio.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/no-asm/include/openssl/bio.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/no-asm/include/openssl/bio.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/no-asm/include/openssl/bio.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/no-asm/include/openssl/bio.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/no-asm/include/openssl/bio.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/no-asm/include/openssl/bio.h" +#else +# include "./archs/linux-elf/no-asm/include/openssl/bio.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/bn_conf_asm.h b/deps/openssl/config/bn_conf_asm.h index 7f296048999551..800aad79c0cdc1 100644 --- a/deps/openssl/config/bn_conf_asm.h +++ b/deps/openssl/config/bn_conf_asm.h @@ -5,8 +5,6 @@ #if defined(OPENSSL_LINUX) && defined(__i386__) # include "./archs/linux-elf/asm/crypto/include/internal/bn_conf.h" -#elif defined(OPENSSL_LINUX) && defined(__ILP32__) -# include "./archs/linux-x32/asm/crypto/include/internal/bn_conf.h" #elif defined(OPENSSL_LINUX) && defined(__x86_64__) # include "./archs/linux-x86_64/asm/crypto/include/internal/bn_conf.h" #elif defined(OPENSSL_LINUX) && defined(__arm__) diff --git a/deps/openssl/config/bn_conf_no-asm.h b/deps/openssl/config/bn_conf_no-asm.h index a95130e3a4abb6..cc860485997f02 100644 --- a/deps/openssl/config/bn_conf_no-asm.h +++ b/deps/openssl/config/bn_conf_no-asm.h @@ -5,8 +5,6 @@ #if defined(OPENSSL_LINUX) && defined(__i386__) # include "./archs/linux-elf/no-asm/crypto/include/internal/bn_conf.h" -#elif defined(OPENSSL_LINUX) && defined(__ILP32__) -# include "./archs/linux-x32/no-asm/crypto/include/internal/bn_conf.h" #elif defined(OPENSSL_LINUX) && defined(__x86_64__) # include "./archs/linux-x86_64/no-asm/crypto/include/internal/bn_conf.h" #elif defined(OPENSSL_LINUX) && defined(__arm__) diff --git a/deps/openssl/config/cmp_asm.h b/deps/openssl/config/cmp_asm.h new file mode 100644 index 00000000000000..160d3caae5de8b --- /dev/null +++ b/deps/openssl/config/cmp_asm.h @@ -0,0 +1,57 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/asm/include/openssl/cmp.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/asm/include/openssl/cmp.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/asm/include/openssl/cmp.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/asm/include/openssl/cmp.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/asm/include/openssl/cmp.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/asm/include/openssl/cmp.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/asm/include/openssl/cmp.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/asm/include/openssl/cmp.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/asm/include/openssl/cmp.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/asm/include/openssl/cmp.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/asm/include/openssl/cmp.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/asm/include/openssl/cmp.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/asm/include/openssl/cmp.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/asm/include/openssl/cmp.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/asm/include/openssl/cmp.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/asm/include/openssl/cmp.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/asm/include/openssl/cmp.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/asm/include/openssl/cmp.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/asm/include/openssl/cmp.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/asm/include/openssl/cmp.h" +#else +# include "./archs/linux-elf/asm/include/openssl/cmp.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/cmp_no-asm.h b/deps/openssl/config/cmp_no-asm.h new file mode 100644 index 00000000000000..1221649ef2c3d1 --- /dev/null +++ b/deps/openssl/config/cmp_no-asm.h @@ -0,0 +1,59 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/no-asm/include/openssl/cmp.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/no-asm/include/openssl/cmp.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/no-asm/include/openssl/cmp.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/no-asm/include/openssl/cmp.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/no-asm/include/openssl/cmp.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/no-asm/include/openssl/cmp.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/no-asm/include/openssl/cmp.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/no-asm/include/openssl/cmp.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/no-asm/include/openssl/cmp.h" +#elif defined(_WIN32) && defined(_M_ARM64) +# include "./archs/VC-WIN64-ARM/no-asm/include/openssl/cmp.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/no-asm/include/openssl/cmp.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/no-asm/include/openssl/cmp.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/no-asm/include/openssl/cmp.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/no-asm/include/openssl/cmp.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/no-asm/include/openssl/cmp.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/no-asm/include/openssl/cmp.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/no-asm/include/openssl/cmp.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/no-asm/include/openssl/cmp.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/no-asm/include/openssl/cmp.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/no-asm/include/openssl/cmp.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/no-asm/include/openssl/cmp.h" +#else +# include "./archs/linux-elf/no-asm/include/openssl/cmp.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/cms_asm.h b/deps/openssl/config/cms_asm.h new file mode 100644 index 00000000000000..886b77ad5b4994 --- /dev/null +++ b/deps/openssl/config/cms_asm.h @@ -0,0 +1,57 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/asm/include/openssl/cms.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/asm/include/openssl/cms.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/asm/include/openssl/cms.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/asm/include/openssl/cms.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/asm/include/openssl/cms.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/asm/include/openssl/cms.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/asm/include/openssl/cms.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/asm/include/openssl/cms.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/asm/include/openssl/cms.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/asm/include/openssl/cms.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/asm/include/openssl/cms.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/asm/include/openssl/cms.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/asm/include/openssl/cms.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/asm/include/openssl/cms.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/asm/include/openssl/cms.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/asm/include/openssl/cms.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/asm/include/openssl/cms.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/asm/include/openssl/cms.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/asm/include/openssl/cms.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/asm/include/openssl/cms.h" +#else +# include "./archs/linux-elf/asm/include/openssl/cms.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/cms_no-asm.h b/deps/openssl/config/cms_no-asm.h new file mode 100644 index 00000000000000..ac89ec8a4af328 --- /dev/null +++ b/deps/openssl/config/cms_no-asm.h @@ -0,0 +1,59 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/no-asm/include/openssl/cms.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/no-asm/include/openssl/cms.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/no-asm/include/openssl/cms.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/no-asm/include/openssl/cms.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/no-asm/include/openssl/cms.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/no-asm/include/openssl/cms.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/no-asm/include/openssl/cms.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/no-asm/include/openssl/cms.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/no-asm/include/openssl/cms.h" +#elif defined(_WIN32) && defined(_M_ARM64) +# include "./archs/VC-WIN64-ARM/no-asm/include/openssl/cms.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/no-asm/include/openssl/cms.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/no-asm/include/openssl/cms.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/no-asm/include/openssl/cms.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/no-asm/include/openssl/cms.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/no-asm/include/openssl/cms.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/no-asm/include/openssl/cms.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/no-asm/include/openssl/cms.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/no-asm/include/openssl/cms.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/no-asm/include/openssl/cms.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/no-asm/include/openssl/cms.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/no-asm/include/openssl/cms.h" +#else +# include "./archs/linux-elf/no-asm/include/openssl/cms.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/conf_asm.h b/deps/openssl/config/conf_asm.h new file mode 100644 index 00000000000000..60a4d475b5e17e --- /dev/null +++ b/deps/openssl/config/conf_asm.h @@ -0,0 +1,57 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/asm/include/openssl/conf.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/asm/include/openssl/conf.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/asm/include/openssl/conf.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/asm/include/openssl/conf.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/asm/include/openssl/conf.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/asm/include/openssl/conf.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/asm/include/openssl/conf.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/asm/include/openssl/conf.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/asm/include/openssl/conf.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/asm/include/openssl/conf.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/asm/include/openssl/conf.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/asm/include/openssl/conf.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/asm/include/openssl/conf.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/asm/include/openssl/conf.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/asm/include/openssl/conf.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/asm/include/openssl/conf.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/asm/include/openssl/conf.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/asm/include/openssl/conf.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/asm/include/openssl/conf.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/asm/include/openssl/conf.h" +#else +# include "./archs/linux-elf/asm/include/openssl/conf.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/conf_no-asm.h b/deps/openssl/config/conf_no-asm.h new file mode 100644 index 00000000000000..0bf0c97e6237b4 --- /dev/null +++ b/deps/openssl/config/conf_no-asm.h @@ -0,0 +1,59 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/no-asm/include/openssl/conf.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/no-asm/include/openssl/conf.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/no-asm/include/openssl/conf.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/no-asm/include/openssl/conf.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/no-asm/include/openssl/conf.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/no-asm/include/openssl/conf.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/no-asm/include/openssl/conf.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/no-asm/include/openssl/conf.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/no-asm/include/openssl/conf.h" +#elif defined(_WIN32) && defined(_M_ARM64) +# include "./archs/VC-WIN64-ARM/no-asm/include/openssl/conf.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/no-asm/include/openssl/conf.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/no-asm/include/openssl/conf.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/no-asm/include/openssl/conf.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/no-asm/include/openssl/conf.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/no-asm/include/openssl/conf.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/no-asm/include/openssl/conf.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/no-asm/include/openssl/conf.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/no-asm/include/openssl/conf.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/no-asm/include/openssl/conf.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/no-asm/include/openssl/conf.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/no-asm/include/openssl/conf.h" +#else +# include "./archs/linux-elf/no-asm/include/openssl/conf.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/configuration_asm.h b/deps/openssl/config/configuration_asm.h new file mode 100644 index 00000000000000..badc4dabde8be6 --- /dev/null +++ b/deps/openssl/config/configuration_asm.h @@ -0,0 +1,57 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/asm/include/openssl/configuration.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/asm/include/openssl/configuration.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/asm/include/openssl/configuration.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/asm/include/openssl/configuration.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/asm/include/openssl/configuration.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/asm/include/openssl/configuration.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/asm/include/openssl/configuration.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/asm/include/openssl/configuration.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/asm/include/openssl/configuration.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/asm/include/openssl/configuration.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/asm/include/openssl/configuration.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/asm/include/openssl/configuration.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/asm/include/openssl/configuration.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/asm/include/openssl/configuration.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/asm/include/openssl/configuration.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/asm/include/openssl/configuration.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/asm/include/openssl/configuration.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/asm/include/openssl/configuration.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/asm/include/openssl/configuration.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/asm/include/openssl/configuration.h" +#else +# include "./archs/linux-elf/asm/include/openssl/configuration.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/configuration_no-asm.h b/deps/openssl/config/configuration_no-asm.h new file mode 100644 index 00000000000000..ab5054992475df --- /dev/null +++ b/deps/openssl/config/configuration_no-asm.h @@ -0,0 +1,59 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/no-asm/include/openssl/configuration.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/no-asm/include/openssl/configuration.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/no-asm/include/openssl/configuration.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/no-asm/include/openssl/configuration.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/no-asm/include/openssl/configuration.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/no-asm/include/openssl/configuration.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/no-asm/include/openssl/configuration.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/no-asm/include/openssl/configuration.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/no-asm/include/openssl/configuration.h" +#elif defined(_WIN32) && defined(_M_ARM64) +# include "./archs/VC-WIN64-ARM/no-asm/include/openssl/configuration.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/no-asm/include/openssl/configuration.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/no-asm/include/openssl/configuration.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/no-asm/include/openssl/configuration.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/no-asm/include/openssl/configuration.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/no-asm/include/openssl/configuration.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/no-asm/include/openssl/configuration.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/no-asm/include/openssl/configuration.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/no-asm/include/openssl/configuration.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/no-asm/include/openssl/configuration.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/no-asm/include/openssl/configuration.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/no-asm/include/openssl/configuration.h" +#else +# include "./archs/linux-elf/no-asm/include/openssl/configuration.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/crmf_asm.h b/deps/openssl/config/crmf_asm.h new file mode 100644 index 00000000000000..1378bd7988ee0e --- /dev/null +++ b/deps/openssl/config/crmf_asm.h @@ -0,0 +1,57 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/asm/include/openssl/crmf.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/asm/include/openssl/crmf.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/asm/include/openssl/crmf.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/asm/include/openssl/crmf.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/asm/include/openssl/crmf.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/asm/include/openssl/crmf.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/asm/include/openssl/crmf.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/asm/include/openssl/crmf.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/asm/include/openssl/crmf.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/asm/include/openssl/crmf.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/asm/include/openssl/crmf.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/asm/include/openssl/crmf.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/asm/include/openssl/crmf.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/asm/include/openssl/crmf.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/asm/include/openssl/crmf.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/asm/include/openssl/crmf.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/asm/include/openssl/crmf.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/asm/include/openssl/crmf.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/asm/include/openssl/crmf.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/asm/include/openssl/crmf.h" +#else +# include "./archs/linux-elf/asm/include/openssl/crmf.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/crmf_no-asm.h b/deps/openssl/config/crmf_no-asm.h new file mode 100644 index 00000000000000..0a14cc86bb93a3 --- /dev/null +++ b/deps/openssl/config/crmf_no-asm.h @@ -0,0 +1,59 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/no-asm/include/openssl/crmf.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/no-asm/include/openssl/crmf.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/no-asm/include/openssl/crmf.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/no-asm/include/openssl/crmf.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/no-asm/include/openssl/crmf.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/no-asm/include/openssl/crmf.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/no-asm/include/openssl/crmf.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/no-asm/include/openssl/crmf.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/no-asm/include/openssl/crmf.h" +#elif defined(_WIN32) && defined(_M_ARM64) +# include "./archs/VC-WIN64-ARM/no-asm/include/openssl/crmf.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/no-asm/include/openssl/crmf.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/no-asm/include/openssl/crmf.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/no-asm/include/openssl/crmf.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/no-asm/include/openssl/crmf.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/no-asm/include/openssl/crmf.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/no-asm/include/openssl/crmf.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/no-asm/include/openssl/crmf.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/no-asm/include/openssl/crmf.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/no-asm/include/openssl/crmf.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/no-asm/include/openssl/crmf.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/no-asm/include/openssl/crmf.h" +#else +# include "./archs/linux-elf/no-asm/include/openssl/crmf.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/crypto_asm.h b/deps/openssl/config/crypto_asm.h new file mode 100644 index 00000000000000..23643c9661f289 --- /dev/null +++ b/deps/openssl/config/crypto_asm.h @@ -0,0 +1,57 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/asm/include/openssl/crypto.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/asm/include/openssl/crypto.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/asm/include/openssl/crypto.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/asm/include/openssl/crypto.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/asm/include/openssl/crypto.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/asm/include/openssl/crypto.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/asm/include/openssl/crypto.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/asm/include/openssl/crypto.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/asm/include/openssl/crypto.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/asm/include/openssl/crypto.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/asm/include/openssl/crypto.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/asm/include/openssl/crypto.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/asm/include/openssl/crypto.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/asm/include/openssl/crypto.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/asm/include/openssl/crypto.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/asm/include/openssl/crypto.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/asm/include/openssl/crypto.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/asm/include/openssl/crypto.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/asm/include/openssl/crypto.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/asm/include/openssl/crypto.h" +#else +# include "./archs/linux-elf/asm/include/openssl/crypto.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/crypto_no-asm.h b/deps/openssl/config/crypto_no-asm.h new file mode 100644 index 00000000000000..9b63cb3b0a1612 --- /dev/null +++ b/deps/openssl/config/crypto_no-asm.h @@ -0,0 +1,59 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/no-asm/include/openssl/crypto.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/no-asm/include/openssl/crypto.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/no-asm/include/openssl/crypto.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/no-asm/include/openssl/crypto.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/no-asm/include/openssl/crypto.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/no-asm/include/openssl/crypto.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/no-asm/include/openssl/crypto.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/no-asm/include/openssl/crypto.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/no-asm/include/openssl/crypto.h" +#elif defined(_WIN32) && defined(_M_ARM64) +# include "./archs/VC-WIN64-ARM/no-asm/include/openssl/crypto.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/no-asm/include/openssl/crypto.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/no-asm/include/openssl/crypto.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/no-asm/include/openssl/crypto.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/no-asm/include/openssl/crypto.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/no-asm/include/openssl/crypto.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/no-asm/include/openssl/crypto.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/no-asm/include/openssl/crypto.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/no-asm/include/openssl/crypto.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/no-asm/include/openssl/crypto.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/no-asm/include/openssl/crypto.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/no-asm/include/openssl/crypto.h" +#else +# include "./archs/linux-elf/no-asm/include/openssl/crypto.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/ct_asm.h b/deps/openssl/config/ct_asm.h new file mode 100644 index 00000000000000..01484b070e6423 --- /dev/null +++ b/deps/openssl/config/ct_asm.h @@ -0,0 +1,57 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/asm/include/openssl/ct.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/asm/include/openssl/ct.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/asm/include/openssl/ct.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/asm/include/openssl/ct.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/asm/include/openssl/ct.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/asm/include/openssl/ct.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/asm/include/openssl/ct.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/asm/include/openssl/ct.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/asm/include/openssl/ct.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/asm/include/openssl/ct.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/asm/include/openssl/ct.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/asm/include/openssl/ct.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/asm/include/openssl/ct.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/asm/include/openssl/ct.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/asm/include/openssl/ct.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/asm/include/openssl/ct.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/asm/include/openssl/ct.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/asm/include/openssl/ct.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/asm/include/openssl/ct.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/asm/include/openssl/ct.h" +#else +# include "./archs/linux-elf/asm/include/openssl/ct.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/ct_no-asm.h b/deps/openssl/config/ct_no-asm.h new file mode 100644 index 00000000000000..f4b0d8da49f5d7 --- /dev/null +++ b/deps/openssl/config/ct_no-asm.h @@ -0,0 +1,59 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/no-asm/include/openssl/ct.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/no-asm/include/openssl/ct.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/no-asm/include/openssl/ct.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/no-asm/include/openssl/ct.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/no-asm/include/openssl/ct.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/no-asm/include/openssl/ct.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/no-asm/include/openssl/ct.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/no-asm/include/openssl/ct.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/no-asm/include/openssl/ct.h" +#elif defined(_WIN32) && defined(_M_ARM64) +# include "./archs/VC-WIN64-ARM/no-asm/include/openssl/ct.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/no-asm/include/openssl/ct.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/no-asm/include/openssl/ct.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/no-asm/include/openssl/ct.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/no-asm/include/openssl/ct.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/no-asm/include/openssl/ct.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/no-asm/include/openssl/ct.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/no-asm/include/openssl/ct.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/no-asm/include/openssl/ct.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/no-asm/include/openssl/ct.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/no-asm/include/openssl/ct.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/no-asm/include/openssl/ct.h" +#else +# include "./archs/linux-elf/no-asm/include/openssl/ct.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/dso_conf_asm.h b/deps/openssl/config/dso_conf_asm.h index 510c33289a6a0b..c4c9d5749b428c 100644 --- a/deps/openssl/config/dso_conf_asm.h +++ b/deps/openssl/config/dso_conf_asm.h @@ -5,8 +5,6 @@ #if defined(OPENSSL_LINUX) && defined(__i386__) # include "./archs/linux-elf/asm/crypto/include/internal/dso_conf.h" -#elif defined(OPENSSL_LINUX) && defined(__ILP32__) -# include "./archs/linux-x32/asm/crypto/include/internal/dso_conf.h" #elif defined(OPENSSL_LINUX) && defined(__x86_64__) # include "./archs/linux-x86_64/asm/crypto/include/internal/dso_conf.h" #elif defined(OPENSSL_LINUX) && defined(__arm__) diff --git a/deps/openssl/config/dso_conf_no-asm.h b/deps/openssl/config/dso_conf_no-asm.h index 833e4341243dba..1c4a2ca39deb6c 100644 --- a/deps/openssl/config/dso_conf_no-asm.h +++ b/deps/openssl/config/dso_conf_no-asm.h @@ -5,8 +5,6 @@ #if defined(OPENSSL_LINUX) && defined(__i386__) # include "./archs/linux-elf/no-asm/crypto/include/internal/dso_conf.h" -#elif defined(OPENSSL_LINUX) && defined(__ILP32__) -# include "./archs/linux-x32/no-asm/crypto/include/internal/dso_conf.h" #elif defined(OPENSSL_LINUX) && defined(__x86_64__) # include "./archs/linux-x86_64/no-asm/crypto/include/internal/dso_conf.h" #elif defined(OPENSSL_LINUX) && defined(__arm__) diff --git a/deps/openssl/config/err_asm.h b/deps/openssl/config/err_asm.h new file mode 100644 index 00000000000000..d03d4603d639f0 --- /dev/null +++ b/deps/openssl/config/err_asm.h @@ -0,0 +1,57 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/asm/include/openssl/err.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/asm/include/openssl/err.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/asm/include/openssl/err.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/asm/include/openssl/err.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/asm/include/openssl/err.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/asm/include/openssl/err.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/asm/include/openssl/err.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/asm/include/openssl/err.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/asm/include/openssl/err.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/asm/include/openssl/err.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/asm/include/openssl/err.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/asm/include/openssl/err.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/asm/include/openssl/err.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/asm/include/openssl/err.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/asm/include/openssl/err.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/asm/include/openssl/err.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/asm/include/openssl/err.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/asm/include/openssl/err.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/asm/include/openssl/err.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/asm/include/openssl/err.h" +#else +# include "./archs/linux-elf/asm/include/openssl/err.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/err_no-asm.h b/deps/openssl/config/err_no-asm.h new file mode 100644 index 00000000000000..ea4ef7a0567aaa --- /dev/null +++ b/deps/openssl/config/err_no-asm.h @@ -0,0 +1,59 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/no-asm/include/openssl/err.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/no-asm/include/openssl/err.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/no-asm/include/openssl/err.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/no-asm/include/openssl/err.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/no-asm/include/openssl/err.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/no-asm/include/openssl/err.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/no-asm/include/openssl/err.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/no-asm/include/openssl/err.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/no-asm/include/openssl/err.h" +#elif defined(_WIN32) && defined(_M_ARM64) +# include "./archs/VC-WIN64-ARM/no-asm/include/openssl/err.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/no-asm/include/openssl/err.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/no-asm/include/openssl/err.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/no-asm/include/openssl/err.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/no-asm/include/openssl/err.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/no-asm/include/openssl/err.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/no-asm/include/openssl/err.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/no-asm/include/openssl/err.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/no-asm/include/openssl/err.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/no-asm/include/openssl/err.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/no-asm/include/openssl/err.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/no-asm/include/openssl/err.h" +#else +# include "./archs/linux-elf/no-asm/include/openssl/err.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/ess_asm.h b/deps/openssl/config/ess_asm.h new file mode 100644 index 00000000000000..02f973e02d00f6 --- /dev/null +++ b/deps/openssl/config/ess_asm.h @@ -0,0 +1,57 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/asm/include/openssl/ess.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/asm/include/openssl/ess.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/asm/include/openssl/ess.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/asm/include/openssl/ess.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/asm/include/openssl/ess.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/asm/include/openssl/ess.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/asm/include/openssl/ess.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/asm/include/openssl/ess.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/asm/include/openssl/ess.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/asm/include/openssl/ess.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/asm/include/openssl/ess.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/asm/include/openssl/ess.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/asm/include/openssl/ess.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/asm/include/openssl/ess.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/asm/include/openssl/ess.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/asm/include/openssl/ess.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/asm/include/openssl/ess.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/asm/include/openssl/ess.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/asm/include/openssl/ess.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/asm/include/openssl/ess.h" +#else +# include "./archs/linux-elf/asm/include/openssl/ess.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/ess_no-asm.h b/deps/openssl/config/ess_no-asm.h new file mode 100644 index 00000000000000..e906bafe8d00a4 --- /dev/null +++ b/deps/openssl/config/ess_no-asm.h @@ -0,0 +1,59 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/no-asm/include/openssl/ess.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/no-asm/include/openssl/ess.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/no-asm/include/openssl/ess.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/no-asm/include/openssl/ess.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/no-asm/include/openssl/ess.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/no-asm/include/openssl/ess.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/no-asm/include/openssl/ess.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/no-asm/include/openssl/ess.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/no-asm/include/openssl/ess.h" +#elif defined(_WIN32) && defined(_M_ARM64) +# include "./archs/VC-WIN64-ARM/no-asm/include/openssl/ess.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/no-asm/include/openssl/ess.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/no-asm/include/openssl/ess.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/no-asm/include/openssl/ess.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/no-asm/include/openssl/ess.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/no-asm/include/openssl/ess.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/no-asm/include/openssl/ess.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/no-asm/include/openssl/ess.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/no-asm/include/openssl/ess.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/no-asm/include/openssl/ess.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/no-asm/include/openssl/ess.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/no-asm/include/openssl/ess.h" +#else +# include "./archs/linux-elf/no-asm/include/openssl/ess.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/fipskey_asm.h b/deps/openssl/config/fipskey_asm.h new file mode 100644 index 00000000000000..9e4ddbd4955f05 --- /dev/null +++ b/deps/openssl/config/fipskey_asm.h @@ -0,0 +1,57 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/asm/include/openssl/fipskey.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/asm/include/openssl/fipskey.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/asm/include/openssl/fipskey.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/asm/include/openssl/fipskey.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/asm/include/openssl/fipskey.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/asm/include/openssl/fipskey.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/asm/include/openssl/fipskey.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/asm/include/openssl/fipskey.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/asm/include/openssl/fipskey.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/asm/include/openssl/fipskey.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/asm/include/openssl/fipskey.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/asm/include/openssl/fipskey.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/asm/include/openssl/fipskey.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/asm/include/openssl/fipskey.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/asm/include/openssl/fipskey.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/asm/include/openssl/fipskey.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/asm/include/openssl/fipskey.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/asm/include/openssl/fipskey.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/asm/include/openssl/fipskey.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/asm/include/openssl/fipskey.h" +#else +# include "./archs/linux-elf/asm/include/openssl/fipskey.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/fipskey_no-asm.h b/deps/openssl/config/fipskey_no-asm.h new file mode 100644 index 00000000000000..a760a02ba35e1f --- /dev/null +++ b/deps/openssl/config/fipskey_no-asm.h @@ -0,0 +1,59 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/no-asm/include/openssl/fipskey.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/no-asm/include/openssl/fipskey.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/no-asm/include/openssl/fipskey.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/no-asm/include/openssl/fipskey.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/no-asm/include/openssl/fipskey.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/no-asm/include/openssl/fipskey.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/no-asm/include/openssl/fipskey.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/no-asm/include/openssl/fipskey.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/no-asm/include/openssl/fipskey.h" +#elif defined(_WIN32) && defined(_M_ARM64) +# include "./archs/VC-WIN64-ARM/no-asm/include/openssl/fipskey.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/no-asm/include/openssl/fipskey.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/no-asm/include/openssl/fipskey.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/no-asm/include/openssl/fipskey.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/no-asm/include/openssl/fipskey.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/no-asm/include/openssl/fipskey.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/no-asm/include/openssl/fipskey.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/no-asm/include/openssl/fipskey.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/no-asm/include/openssl/fipskey.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/no-asm/include/openssl/fipskey.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/no-asm/include/openssl/fipskey.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/no-asm/include/openssl/fipskey.h" +#else +# include "./archs/linux-elf/no-asm/include/openssl/fipskey.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/lhash_asm.h b/deps/openssl/config/lhash_asm.h new file mode 100644 index 00000000000000..13025550437148 --- /dev/null +++ b/deps/openssl/config/lhash_asm.h @@ -0,0 +1,57 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/asm/include/openssl/lhash.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/asm/include/openssl/lhash.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/asm/include/openssl/lhash.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/asm/include/openssl/lhash.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/asm/include/openssl/lhash.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/asm/include/openssl/lhash.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/asm/include/openssl/lhash.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/asm/include/openssl/lhash.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/asm/include/openssl/lhash.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/asm/include/openssl/lhash.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/asm/include/openssl/lhash.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/asm/include/openssl/lhash.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/asm/include/openssl/lhash.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/asm/include/openssl/lhash.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/asm/include/openssl/lhash.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/asm/include/openssl/lhash.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/asm/include/openssl/lhash.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/asm/include/openssl/lhash.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/asm/include/openssl/lhash.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/asm/include/openssl/lhash.h" +#else +# include "./archs/linux-elf/asm/include/openssl/lhash.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/lhash_no-asm.h b/deps/openssl/config/lhash_no-asm.h new file mode 100644 index 00000000000000..62953f76298f0a --- /dev/null +++ b/deps/openssl/config/lhash_no-asm.h @@ -0,0 +1,59 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/no-asm/include/openssl/lhash.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/no-asm/include/openssl/lhash.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/no-asm/include/openssl/lhash.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/no-asm/include/openssl/lhash.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/no-asm/include/openssl/lhash.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/no-asm/include/openssl/lhash.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/no-asm/include/openssl/lhash.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/no-asm/include/openssl/lhash.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/no-asm/include/openssl/lhash.h" +#elif defined(_WIN32) && defined(_M_ARM64) +# include "./archs/VC-WIN64-ARM/no-asm/include/openssl/lhash.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/no-asm/include/openssl/lhash.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/no-asm/include/openssl/lhash.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/no-asm/include/openssl/lhash.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/no-asm/include/openssl/lhash.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/no-asm/include/openssl/lhash.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/no-asm/include/openssl/lhash.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/no-asm/include/openssl/lhash.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/no-asm/include/openssl/lhash.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/no-asm/include/openssl/lhash.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/no-asm/include/openssl/lhash.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/no-asm/include/openssl/lhash.h" +#else +# include "./archs/linux-elf/no-asm/include/openssl/lhash.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/ocsp_asm.h b/deps/openssl/config/ocsp_asm.h new file mode 100644 index 00000000000000..4483fff2a42e72 --- /dev/null +++ b/deps/openssl/config/ocsp_asm.h @@ -0,0 +1,57 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/asm/include/openssl/ocsp.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/asm/include/openssl/ocsp.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/asm/include/openssl/ocsp.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/asm/include/openssl/ocsp.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/asm/include/openssl/ocsp.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/asm/include/openssl/ocsp.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/asm/include/openssl/ocsp.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/asm/include/openssl/ocsp.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/asm/include/openssl/ocsp.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/asm/include/openssl/ocsp.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/asm/include/openssl/ocsp.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/asm/include/openssl/ocsp.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/asm/include/openssl/ocsp.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/asm/include/openssl/ocsp.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/asm/include/openssl/ocsp.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/asm/include/openssl/ocsp.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/asm/include/openssl/ocsp.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/asm/include/openssl/ocsp.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/asm/include/openssl/ocsp.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/asm/include/openssl/ocsp.h" +#else +# include "./archs/linux-elf/asm/include/openssl/ocsp.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/ocsp_no-asm.h b/deps/openssl/config/ocsp_no-asm.h new file mode 100644 index 00000000000000..0bf55945219b3f --- /dev/null +++ b/deps/openssl/config/ocsp_no-asm.h @@ -0,0 +1,59 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/no-asm/include/openssl/ocsp.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/no-asm/include/openssl/ocsp.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/no-asm/include/openssl/ocsp.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/no-asm/include/openssl/ocsp.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/no-asm/include/openssl/ocsp.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/no-asm/include/openssl/ocsp.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/no-asm/include/openssl/ocsp.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/no-asm/include/openssl/ocsp.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/no-asm/include/openssl/ocsp.h" +#elif defined(_WIN32) && defined(_M_ARM64) +# include "./archs/VC-WIN64-ARM/no-asm/include/openssl/ocsp.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/no-asm/include/openssl/ocsp.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/no-asm/include/openssl/ocsp.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/no-asm/include/openssl/ocsp.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/no-asm/include/openssl/ocsp.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/no-asm/include/openssl/ocsp.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/no-asm/include/openssl/ocsp.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/no-asm/include/openssl/ocsp.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/no-asm/include/openssl/ocsp.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/no-asm/include/openssl/ocsp.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/no-asm/include/openssl/ocsp.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/no-asm/include/openssl/ocsp.h" +#else +# include "./archs/linux-elf/no-asm/include/openssl/ocsp.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/opensslconf_asm.h b/deps/openssl/config/opensslconf_asm.h index ad47b2e7515860..8c2dbd40d0ff1d 100644 --- a/deps/openssl/config/opensslconf_asm.h +++ b/deps/openssl/config/opensslconf_asm.h @@ -93,8 +93,6 @@ #if defined(OPENSSL_LINUX) && defined(__i386__) # include "./archs/linux-elf/asm/include/openssl/opensslconf.h" -#elif defined(OPENSSL_LINUX) && defined(__ILP32__) -# include "./archs/linux-x32/asm/include/openssl/opensslconf.h" #elif defined(OPENSSL_LINUX) && defined(__x86_64__) # include "./archs/linux-x86_64/asm/include/openssl/opensslconf.h" #elif defined(OPENSSL_LINUX) && defined(__arm__) diff --git a/deps/openssl/config/opensslconf_no-asm.h b/deps/openssl/config/opensslconf_no-asm.h index efd8ff842df708..ee9d5e95f1d001 100644 --- a/deps/openssl/config/opensslconf_no-asm.h +++ b/deps/openssl/config/opensslconf_no-asm.h @@ -1,7 +1,5 @@ #if defined(OPENSSL_LINUX) && defined(__i386__) # include "./archs/linux-elf/no-asm/include/openssl/opensslconf.h" -#elif defined(OPENSSL_LINUX) && defined(__ILP32__) -# include "./archs/linux-x32/no-asm/include/openssl/opensslconf.h" #elif defined(OPENSSL_LINUX) && defined(__x86_64__) # include "./archs/linux-x86_64/no-asm/include/openssl/opensslconf.h" #elif defined(OPENSSL_LINUX) && defined(__arm__) diff --git a/deps/openssl/config/opensslv_asm.h b/deps/openssl/config/opensslv_asm.h new file mode 100644 index 00000000000000..29879561cb9b6d --- /dev/null +++ b/deps/openssl/config/opensslv_asm.h @@ -0,0 +1,57 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/asm/include/openssl/opensslv.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/asm/include/openssl/opensslv.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/asm/include/openssl/opensslv.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/asm/include/openssl/opensslv.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/asm/include/openssl/opensslv.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/asm/include/openssl/opensslv.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/asm/include/openssl/opensslv.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/asm/include/openssl/opensslv.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/asm/include/openssl/opensslv.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/asm/include/openssl/opensslv.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/asm/include/openssl/opensslv.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/asm/include/openssl/opensslv.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/asm/include/openssl/opensslv.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/asm/include/openssl/opensslv.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/asm/include/openssl/opensslv.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/asm/include/openssl/opensslv.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/asm/include/openssl/opensslv.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/asm/include/openssl/opensslv.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/asm/include/openssl/opensslv.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/asm/include/openssl/opensslv.h" +#else +# include "./archs/linux-elf/asm/include/openssl/opensslv.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/opensslv_no-asm.h b/deps/openssl/config/opensslv_no-asm.h new file mode 100644 index 00000000000000..dee43fec483276 --- /dev/null +++ b/deps/openssl/config/opensslv_no-asm.h @@ -0,0 +1,59 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/no-asm/include/openssl/opensslv.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/no-asm/include/openssl/opensslv.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/no-asm/include/openssl/opensslv.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/no-asm/include/openssl/opensslv.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/no-asm/include/openssl/opensslv.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/no-asm/include/openssl/opensslv.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/no-asm/include/openssl/opensslv.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/no-asm/include/openssl/opensslv.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/no-asm/include/openssl/opensslv.h" +#elif defined(_WIN32) && defined(_M_ARM64) +# include "./archs/VC-WIN64-ARM/no-asm/include/openssl/opensslv.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/no-asm/include/openssl/opensslv.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/no-asm/include/openssl/opensslv.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/no-asm/include/openssl/opensslv.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/no-asm/include/openssl/opensslv.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/no-asm/include/openssl/opensslv.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/no-asm/include/openssl/opensslv.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/no-asm/include/openssl/opensslv.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/no-asm/include/openssl/opensslv.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/no-asm/include/openssl/opensslv.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/no-asm/include/openssl/opensslv.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/no-asm/include/openssl/opensslv.h" +#else +# include "./archs/linux-elf/no-asm/include/openssl/opensslv.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/pkcs12_asm.h b/deps/openssl/config/pkcs12_asm.h new file mode 100644 index 00000000000000..54ad973bc2fa1c --- /dev/null +++ b/deps/openssl/config/pkcs12_asm.h @@ -0,0 +1,57 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/asm/include/openssl/pkcs12.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/asm/include/openssl/pkcs12.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/asm/include/openssl/pkcs12.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/asm/include/openssl/pkcs12.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/asm/include/openssl/pkcs12.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/asm/include/openssl/pkcs12.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/asm/include/openssl/pkcs12.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/asm/include/openssl/pkcs12.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/asm/include/openssl/pkcs12.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/asm/include/openssl/pkcs12.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/asm/include/openssl/pkcs12.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/asm/include/openssl/pkcs12.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/asm/include/openssl/pkcs12.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/asm/include/openssl/pkcs12.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/asm/include/openssl/pkcs12.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/asm/include/openssl/pkcs12.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/asm/include/openssl/pkcs12.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/asm/include/openssl/pkcs12.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/asm/include/openssl/pkcs12.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/asm/include/openssl/pkcs12.h" +#else +# include "./archs/linux-elf/asm/include/openssl/pkcs12.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/pkcs12_no-asm.h b/deps/openssl/config/pkcs12_no-asm.h new file mode 100644 index 00000000000000..359e4fb91cf6a7 --- /dev/null +++ b/deps/openssl/config/pkcs12_no-asm.h @@ -0,0 +1,59 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/no-asm/include/openssl/pkcs12.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/no-asm/include/openssl/pkcs12.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/no-asm/include/openssl/pkcs12.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/no-asm/include/openssl/pkcs12.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/no-asm/include/openssl/pkcs12.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/no-asm/include/openssl/pkcs12.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/no-asm/include/openssl/pkcs12.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/no-asm/include/openssl/pkcs12.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/no-asm/include/openssl/pkcs12.h" +#elif defined(_WIN32) && defined(_M_ARM64) +# include "./archs/VC-WIN64-ARM/no-asm/include/openssl/pkcs12.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/no-asm/include/openssl/pkcs12.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/no-asm/include/openssl/pkcs12.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/no-asm/include/openssl/pkcs12.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/no-asm/include/openssl/pkcs12.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/no-asm/include/openssl/pkcs12.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/no-asm/include/openssl/pkcs12.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/no-asm/include/openssl/pkcs12.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/no-asm/include/openssl/pkcs12.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/no-asm/include/openssl/pkcs12.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/no-asm/include/openssl/pkcs12.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/no-asm/include/openssl/pkcs12.h" +#else +# include "./archs/linux-elf/no-asm/include/openssl/pkcs12.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/pkcs7_asm.h b/deps/openssl/config/pkcs7_asm.h new file mode 100644 index 00000000000000..b31241b99cdb23 --- /dev/null +++ b/deps/openssl/config/pkcs7_asm.h @@ -0,0 +1,57 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/asm/include/openssl/pkcs7.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/asm/include/openssl/pkcs7.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/asm/include/openssl/pkcs7.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/asm/include/openssl/pkcs7.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/asm/include/openssl/pkcs7.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/asm/include/openssl/pkcs7.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/asm/include/openssl/pkcs7.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/asm/include/openssl/pkcs7.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/asm/include/openssl/pkcs7.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/asm/include/openssl/pkcs7.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/asm/include/openssl/pkcs7.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/asm/include/openssl/pkcs7.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/asm/include/openssl/pkcs7.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/asm/include/openssl/pkcs7.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/asm/include/openssl/pkcs7.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/asm/include/openssl/pkcs7.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/asm/include/openssl/pkcs7.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/asm/include/openssl/pkcs7.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/asm/include/openssl/pkcs7.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/asm/include/openssl/pkcs7.h" +#else +# include "./archs/linux-elf/asm/include/openssl/pkcs7.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/pkcs7_no-asm.h b/deps/openssl/config/pkcs7_no-asm.h new file mode 100644 index 00000000000000..1f4cc511c9fa07 --- /dev/null +++ b/deps/openssl/config/pkcs7_no-asm.h @@ -0,0 +1,59 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/no-asm/include/openssl/pkcs7.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/no-asm/include/openssl/pkcs7.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/no-asm/include/openssl/pkcs7.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/no-asm/include/openssl/pkcs7.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/no-asm/include/openssl/pkcs7.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/no-asm/include/openssl/pkcs7.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/no-asm/include/openssl/pkcs7.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/no-asm/include/openssl/pkcs7.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/no-asm/include/openssl/pkcs7.h" +#elif defined(_WIN32) && defined(_M_ARM64) +# include "./archs/VC-WIN64-ARM/no-asm/include/openssl/pkcs7.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/no-asm/include/openssl/pkcs7.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/no-asm/include/openssl/pkcs7.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/no-asm/include/openssl/pkcs7.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/no-asm/include/openssl/pkcs7.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/no-asm/include/openssl/pkcs7.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/no-asm/include/openssl/pkcs7.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/no-asm/include/openssl/pkcs7.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/no-asm/include/openssl/pkcs7.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/no-asm/include/openssl/pkcs7.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/no-asm/include/openssl/pkcs7.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/no-asm/include/openssl/pkcs7.h" +#else +# include "./archs/linux-elf/no-asm/include/openssl/pkcs7.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/safestack_asm.h b/deps/openssl/config/safestack_asm.h new file mode 100644 index 00000000000000..dea445272c011b --- /dev/null +++ b/deps/openssl/config/safestack_asm.h @@ -0,0 +1,57 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/asm/include/openssl/safestack.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/asm/include/openssl/safestack.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/asm/include/openssl/safestack.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/asm/include/openssl/safestack.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/asm/include/openssl/safestack.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/asm/include/openssl/safestack.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/asm/include/openssl/safestack.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/asm/include/openssl/safestack.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/asm/include/openssl/safestack.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/asm/include/openssl/safestack.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/asm/include/openssl/safestack.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/asm/include/openssl/safestack.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/asm/include/openssl/safestack.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/asm/include/openssl/safestack.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/asm/include/openssl/safestack.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/asm/include/openssl/safestack.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/asm/include/openssl/safestack.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/asm/include/openssl/safestack.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/asm/include/openssl/safestack.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/asm/include/openssl/safestack.h" +#else +# include "./archs/linux-elf/asm/include/openssl/safestack.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/safestack_no-asm.h b/deps/openssl/config/safestack_no-asm.h new file mode 100644 index 00000000000000..eb13776bffc52a --- /dev/null +++ b/deps/openssl/config/safestack_no-asm.h @@ -0,0 +1,59 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/no-asm/include/openssl/safestack.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/no-asm/include/openssl/safestack.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/no-asm/include/openssl/safestack.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/no-asm/include/openssl/safestack.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/no-asm/include/openssl/safestack.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/no-asm/include/openssl/safestack.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/no-asm/include/openssl/safestack.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/no-asm/include/openssl/safestack.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/no-asm/include/openssl/safestack.h" +#elif defined(_WIN32) && defined(_M_ARM64) +# include "./archs/VC-WIN64-ARM/no-asm/include/openssl/safestack.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/no-asm/include/openssl/safestack.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/no-asm/include/openssl/safestack.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/no-asm/include/openssl/safestack.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/no-asm/include/openssl/safestack.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/no-asm/include/openssl/safestack.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/no-asm/include/openssl/safestack.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/no-asm/include/openssl/safestack.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/no-asm/include/openssl/safestack.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/no-asm/include/openssl/safestack.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/no-asm/include/openssl/safestack.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/no-asm/include/openssl/safestack.h" +#else +# include "./archs/linux-elf/no-asm/include/openssl/safestack.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/srp_asm.h b/deps/openssl/config/srp_asm.h new file mode 100644 index 00000000000000..2d7aa655573cce --- /dev/null +++ b/deps/openssl/config/srp_asm.h @@ -0,0 +1,57 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/asm/include/openssl/srp.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/asm/include/openssl/srp.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/asm/include/openssl/srp.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/asm/include/openssl/srp.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/asm/include/openssl/srp.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/asm/include/openssl/srp.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/asm/include/openssl/srp.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/asm/include/openssl/srp.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/asm/include/openssl/srp.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/asm/include/openssl/srp.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/asm/include/openssl/srp.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/asm/include/openssl/srp.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/asm/include/openssl/srp.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/asm/include/openssl/srp.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/asm/include/openssl/srp.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/asm/include/openssl/srp.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/asm/include/openssl/srp.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/asm/include/openssl/srp.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/asm/include/openssl/srp.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/asm/include/openssl/srp.h" +#else +# include "./archs/linux-elf/asm/include/openssl/srp.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/srp_no-asm.h b/deps/openssl/config/srp_no-asm.h new file mode 100644 index 00000000000000..ffb42b9294ffde --- /dev/null +++ b/deps/openssl/config/srp_no-asm.h @@ -0,0 +1,59 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/no-asm/include/openssl/srp.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/no-asm/include/openssl/srp.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/no-asm/include/openssl/srp.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/no-asm/include/openssl/srp.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/no-asm/include/openssl/srp.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/no-asm/include/openssl/srp.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/no-asm/include/openssl/srp.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/no-asm/include/openssl/srp.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/no-asm/include/openssl/srp.h" +#elif defined(_WIN32) && defined(_M_ARM64) +# include "./archs/VC-WIN64-ARM/no-asm/include/openssl/srp.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/no-asm/include/openssl/srp.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/no-asm/include/openssl/srp.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/no-asm/include/openssl/srp.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/no-asm/include/openssl/srp.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/no-asm/include/openssl/srp.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/no-asm/include/openssl/srp.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/no-asm/include/openssl/srp.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/no-asm/include/openssl/srp.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/no-asm/include/openssl/srp.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/no-asm/include/openssl/srp.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/no-asm/include/openssl/srp.h" +#else +# include "./archs/linux-elf/no-asm/include/openssl/srp.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/ssl_asm.h b/deps/openssl/config/ssl_asm.h new file mode 100644 index 00000000000000..2fb2e122d1818a --- /dev/null +++ b/deps/openssl/config/ssl_asm.h @@ -0,0 +1,57 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/asm/include/openssl/ssl.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/asm/include/openssl/ssl.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/asm/include/openssl/ssl.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/asm/include/openssl/ssl.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/asm/include/openssl/ssl.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/asm/include/openssl/ssl.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/asm/include/openssl/ssl.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/asm/include/openssl/ssl.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/asm/include/openssl/ssl.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/asm/include/openssl/ssl.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/asm/include/openssl/ssl.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/asm/include/openssl/ssl.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/asm/include/openssl/ssl.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/asm/include/openssl/ssl.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/asm/include/openssl/ssl.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/asm/include/openssl/ssl.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/asm/include/openssl/ssl.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/asm/include/openssl/ssl.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/asm/include/openssl/ssl.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/asm/include/openssl/ssl.h" +#else +# include "./archs/linux-elf/asm/include/openssl/ssl.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/ssl_no-asm.h b/deps/openssl/config/ssl_no-asm.h new file mode 100644 index 00000000000000..c64d4370cb2ca8 --- /dev/null +++ b/deps/openssl/config/ssl_no-asm.h @@ -0,0 +1,59 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/no-asm/include/openssl/ssl.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/no-asm/include/openssl/ssl.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/no-asm/include/openssl/ssl.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/no-asm/include/openssl/ssl.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/no-asm/include/openssl/ssl.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/no-asm/include/openssl/ssl.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/no-asm/include/openssl/ssl.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/no-asm/include/openssl/ssl.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/no-asm/include/openssl/ssl.h" +#elif defined(_WIN32) && defined(_M_ARM64) +# include "./archs/VC-WIN64-ARM/no-asm/include/openssl/ssl.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/no-asm/include/openssl/ssl.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/no-asm/include/openssl/ssl.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/no-asm/include/openssl/ssl.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/no-asm/include/openssl/ssl.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/no-asm/include/openssl/ssl.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/no-asm/include/openssl/ssl.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/no-asm/include/openssl/ssl.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/no-asm/include/openssl/ssl.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/no-asm/include/openssl/ssl.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/no-asm/include/openssl/ssl.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/no-asm/include/openssl/ssl.h" +#else +# include "./archs/linux-elf/no-asm/include/openssl/ssl.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/ui_asm.h b/deps/openssl/config/ui_asm.h new file mode 100644 index 00000000000000..14b609002c4828 --- /dev/null +++ b/deps/openssl/config/ui_asm.h @@ -0,0 +1,57 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/asm/include/openssl/ui.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/asm/include/openssl/ui.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/asm/include/openssl/ui.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/asm/include/openssl/ui.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/asm/include/openssl/ui.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/asm/include/openssl/ui.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/asm/include/openssl/ui.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/asm/include/openssl/ui.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/asm/include/openssl/ui.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/asm/include/openssl/ui.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/asm/include/openssl/ui.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/asm/include/openssl/ui.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/asm/include/openssl/ui.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/asm/include/openssl/ui.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/asm/include/openssl/ui.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/asm/include/openssl/ui.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/asm/include/openssl/ui.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/asm/include/openssl/ui.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/asm/include/openssl/ui.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/asm/include/openssl/ui.h" +#else +# include "./archs/linux-elf/asm/include/openssl/ui.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/ui_no-asm.h b/deps/openssl/config/ui_no-asm.h new file mode 100644 index 00000000000000..fd248b2b05ea61 --- /dev/null +++ b/deps/openssl/config/ui_no-asm.h @@ -0,0 +1,59 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/no-asm/include/openssl/ui.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/no-asm/include/openssl/ui.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/no-asm/include/openssl/ui.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/no-asm/include/openssl/ui.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/no-asm/include/openssl/ui.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/no-asm/include/openssl/ui.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/no-asm/include/openssl/ui.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/no-asm/include/openssl/ui.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/no-asm/include/openssl/ui.h" +#elif defined(_WIN32) && defined(_M_ARM64) +# include "./archs/VC-WIN64-ARM/no-asm/include/openssl/ui.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/no-asm/include/openssl/ui.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/no-asm/include/openssl/ui.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/no-asm/include/openssl/ui.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/no-asm/include/openssl/ui.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/no-asm/include/openssl/ui.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/no-asm/include/openssl/ui.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/no-asm/include/openssl/ui.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/no-asm/include/openssl/ui.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/no-asm/include/openssl/ui.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/no-asm/include/openssl/ui.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/no-asm/include/openssl/ui.h" +#else +# include "./archs/linux-elf/no-asm/include/openssl/ui.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/x509_asm.h b/deps/openssl/config/x509_asm.h new file mode 100644 index 00000000000000..2f5d611d465400 --- /dev/null +++ b/deps/openssl/config/x509_asm.h @@ -0,0 +1,57 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/asm/include/openssl/x509.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/asm/include/openssl/x509.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/asm/include/openssl/x509.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/asm/include/openssl/x509.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/asm/include/openssl/x509.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/asm/include/openssl/x509.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/asm/include/openssl/x509.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/asm/include/openssl/x509.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/asm/include/openssl/x509.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/asm/include/openssl/x509.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/asm/include/openssl/x509.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/asm/include/openssl/x509.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/asm/include/openssl/x509.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/asm/include/openssl/x509.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/asm/include/openssl/x509.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/asm/include/openssl/x509.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/asm/include/openssl/x509.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/asm/include/openssl/x509.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/asm/include/openssl/x509.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/asm/include/openssl/x509.h" +#else +# include "./archs/linux-elf/asm/include/openssl/x509.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/x509_no-asm.h b/deps/openssl/config/x509_no-asm.h new file mode 100644 index 00000000000000..155f2993b386cd --- /dev/null +++ b/deps/openssl/config/x509_no-asm.h @@ -0,0 +1,59 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/no-asm/include/openssl/x509.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/no-asm/include/openssl/x509.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/no-asm/include/openssl/x509.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/no-asm/include/openssl/x509.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/no-asm/include/openssl/x509.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/no-asm/include/openssl/x509.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/no-asm/include/openssl/x509.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/no-asm/include/openssl/x509.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/no-asm/include/openssl/x509.h" +#elif defined(_WIN32) && defined(_M_ARM64) +# include "./archs/VC-WIN64-ARM/no-asm/include/openssl/x509.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/no-asm/include/openssl/x509.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/no-asm/include/openssl/x509.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/no-asm/include/openssl/x509.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/no-asm/include/openssl/x509.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/no-asm/include/openssl/x509.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/no-asm/include/openssl/x509.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/no-asm/include/openssl/x509.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/no-asm/include/openssl/x509.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/no-asm/include/openssl/x509.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/no-asm/include/openssl/x509.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/no-asm/include/openssl/x509.h" +#else +# include "./archs/linux-elf/no-asm/include/openssl/x509.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/x509_vfy_asm.h b/deps/openssl/config/x509_vfy_asm.h new file mode 100644 index 00000000000000..7358b595023f33 --- /dev/null +++ b/deps/openssl/config/x509_vfy_asm.h @@ -0,0 +1,57 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/asm/include/openssl/x509_vfy.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/asm/include/openssl/x509_vfy.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/asm/include/openssl/x509_vfy.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/asm/include/openssl/x509_vfy.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/asm/include/openssl/x509_vfy.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/asm/include/openssl/x509_vfy.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/asm/include/openssl/x509_vfy.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/asm/include/openssl/x509_vfy.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/asm/include/openssl/x509_vfy.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/asm/include/openssl/x509_vfy.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/asm/include/openssl/x509_vfy.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/asm/include/openssl/x509_vfy.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/asm/include/openssl/x509_vfy.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/asm/include/openssl/x509_vfy.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/asm/include/openssl/x509_vfy.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/asm/include/openssl/x509_vfy.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/asm/include/openssl/x509_vfy.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/asm/include/openssl/x509_vfy.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/asm/include/openssl/x509_vfy.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/asm/include/openssl/x509_vfy.h" +#else +# include "./archs/linux-elf/asm/include/openssl/x509_vfy.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/x509_vfy_no-asm.h b/deps/openssl/config/x509_vfy_no-asm.h new file mode 100644 index 00000000000000..7c742506238a6f --- /dev/null +++ b/deps/openssl/config/x509_vfy_no-asm.h @@ -0,0 +1,59 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/no-asm/include/openssl/x509_vfy.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/no-asm/include/openssl/x509_vfy.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/no-asm/include/openssl/x509_vfy.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/no-asm/include/openssl/x509_vfy.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/no-asm/include/openssl/x509_vfy.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/no-asm/include/openssl/x509_vfy.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/no-asm/include/openssl/x509_vfy.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/no-asm/include/openssl/x509_vfy.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/no-asm/include/openssl/x509_vfy.h" +#elif defined(_WIN32) && defined(_M_ARM64) +# include "./archs/VC-WIN64-ARM/no-asm/include/openssl/x509_vfy.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/no-asm/include/openssl/x509_vfy.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/no-asm/include/openssl/x509_vfy.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/no-asm/include/openssl/x509_vfy.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/no-asm/include/openssl/x509_vfy.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/no-asm/include/openssl/x509_vfy.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/no-asm/include/openssl/x509_vfy.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/no-asm/include/openssl/x509_vfy.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/no-asm/include/openssl/x509_vfy.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/no-asm/include/openssl/x509_vfy.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/no-asm/include/openssl/x509_vfy.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/no-asm/include/openssl/x509_vfy.h" +#else +# include "./archs/linux-elf/no-asm/include/openssl/x509_vfy.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/x509v3_asm.h b/deps/openssl/config/x509v3_asm.h new file mode 100644 index 00000000000000..40102307760d66 --- /dev/null +++ b/deps/openssl/config/x509v3_asm.h @@ -0,0 +1,57 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/asm/include/openssl/x509v3.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/asm/include/openssl/x509v3.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/asm/include/openssl/x509v3.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/asm/include/openssl/x509v3.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/asm/include/openssl/x509v3.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/asm/include/openssl/x509v3.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/asm/include/openssl/x509v3.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/asm/include/openssl/x509v3.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/asm/include/openssl/x509v3.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/asm/include/openssl/x509v3.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/asm/include/openssl/x509v3.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/asm/include/openssl/x509v3.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/asm/include/openssl/x509v3.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/asm/include/openssl/x509v3.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/asm/include/openssl/x509v3.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/asm/include/openssl/x509v3.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/asm/include/openssl/x509v3.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/asm/include/openssl/x509v3.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/asm/include/openssl/x509v3.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/asm/include/openssl/x509v3.h" +#else +# include "./archs/linux-elf/asm/include/openssl/x509v3.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/openssl/config/x509v3_no-asm.h b/deps/openssl/config/x509v3_no-asm.h new file mode 100644 index 00000000000000..ce9001ac20399e --- /dev/null +++ b/deps/openssl/config/x509v3_no-asm.h @@ -0,0 +1,59 @@ +#undef OPENSSL_LINUX +#if defined(__linux) && !defined(__ANDROID__) +# define OPENSSL_LINUX 1 +#endif + +#if defined(OPENSSL_LINUX) && defined(__i386__) +# include "./archs/linux-elf/no-asm/include/openssl/x509v3.h" +#elif defined(OPENSSL_LINUX) && defined(__x86_64__) +# include "./archs/linux-x86_64/no-asm/include/openssl/x509v3.h" +#elif defined(OPENSSL_LINUX) && defined(__arm__) +# include "./archs/linux-armv4/no-asm/include/openssl/x509v3.h" +#elif defined(OPENSSL_LINUX) && defined(__aarch64__) +# include "./archs/linux-aarch64/no-asm/include/openssl/x509v3.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) +# include "./archs/darwin-i386-cc/no-asm/include/openssl/x509v3.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__) +# include "./archs/darwin64-x86_64-cc/no-asm/include/openssl/x509v3.h" +#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__) +# include "./archs/darwin64-arm64-cc/no-asm/include/openssl/x509v3.h" +#elif defined(_WIN32) && defined(_M_IX86) +# include "./archs/VC-WIN32/no-asm/include/openssl/x509v3.h" +#elif defined(_WIN32) && defined(_M_X64) +# include "./archs/VC-WIN64A/no-asm/include/openssl/x509v3.h" +#elif defined(_WIN32) && defined(_M_ARM64) +# include "./archs/VC-WIN64-ARM/no-asm/include/openssl/x509v3.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) +# include "./archs/BSD-x86/no-asm/include/openssl/x509v3.h" +#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) +# include "./archs/BSD-x86_64/no-asm/include/openssl/x509v3.h" +#elif defined(__sun) && defined(__i386__) +# include "./archs/solaris-x86-gcc/no-asm/include/openssl/x509v3.h" +#elif defined(__sun) && defined(__x86_64__) +# include "./archs/solaris64-x86_64-gcc/no-asm/include/openssl/x509v3.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) && defined(L_ENDIAN) +# include "./archs/linux-ppc64le/no-asm/include/openssl/x509v3.h" +#elif defined(OPENSSL_LINUX) && defined(__PPC64__) +# include "./archs/linux-ppc64/no-asm/include/openssl/x509v3.h" +#elif defined(OPENSSL_LINUX) && !defined(__PPC64__) && defined(__ppc__) +# include "./archs/linux-ppc/no-asm/include/openssl/x509v3.h" +#elif defined(_AIX) && defined(_ARCH_PPC64) +# include "./archs/aix64-gcc-as/no-asm/include/openssl/x509v3.h" +#elif defined(_AIX) && !defined(_ARCH_PPC64) && defined(_ARCH_PPC) +# include "./archs/aix-gcc/no-asm/include/openssl/x509v3.h" +#elif defined(OPENSSL_LINUX) && defined(__s390x__) +# include "./archs/linux64-s390x/no-asm/include/openssl/x509v3.h" +#elif defined(OPENSSL_LINUX) && defined(__s390__) +# include "./archs/linux32-s390x/no-asm/include/openssl/x509v3.h" +#else +# include "./archs/linux-elf/no-asm/include/openssl/x509v3.h" +#endif + +/* GOST is not included in all platform */ +#ifndef OPENSSL_NO_GOST +# define OPENSSL_NO_GOST +#endif +/* HW_PADLOCK is not included in all platform */ +#ifndef OPENSSL_NO_HW_PADLOCK +# define OPENSSL_NO_HW_PADLOCK +#endif diff --git a/deps/zlib/zlib.gyp b/deps/zlib/zlib.gyp index 7cc472d63ad056..b6bebb6cf4e6a4 100644 --- a/deps/zlib/zlib.gyp +++ b/deps/zlib/zlib.gyp @@ -65,7 +65,7 @@ 'USE_FILE32API' ], }], - ['(target_arch in "ia32 x64 x32" and OS!="ios") or arm_fpu=="neon"', { + ['(target_arch in "ia32 x64" and OS!="ios") or arm_fpu=="neon"', { 'sources': [ 'adler32_simd.c', 'adler32_simd.h', @@ -78,7 +78,7 @@ 'sources': [ 'inflate.c', ], }], # Incorporate optimizations where possible - ['target_arch in "ia32 x64 x32" and OS!="ios"', { + ['target_arch in "ia32 x64" and OS!="ios"', { 'defines': [ 'ADLER32_SIMD_SSSE3', 'INFLATE_CHUNK_SIMD_SSE2', diff --git a/doc/api/os.md b/doc/api/os.md index d5447eb41c1017..15729f8af98c5e 100644 --- a/doc/api/os.md +++ b/doc/api/os.md @@ -36,7 +36,7 @@ added: v0.5.0 Returns the operating system CPU architecture for which the Node.js binary was compiled. Possible values are `'arm'`, `'arm64'`, `'ia32'`, `'mips'`, -`'mipsel'`, `'ppc'`, `'ppc64'`, `'s390'`, `'s390x'`, `'x32'`, and `'x64'`. +`'mipsel'`, `'ppc'`, `'ppc64'`, `'s390'`, `'s390x'`, and `'x64'`. The return value is equivalent to [`process.arch`][]. diff --git a/doc/api/process.md b/doc/api/process.md index 83fc294eaff717..a648439d9d530e 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -868,7 +868,7 @@ added: v0.5.0 The operating system CPU architecture for which the Node.js binary was compiled. Possible values are: `'arm'`, `'arm64'`, `'ia32'`, `'mips'`,`'mipsel'`, `'ppc'`, -`'ppc64'`, `'s390'`, `'s390x'`, `'x32'`, and `'x64'`. +`'ppc64'`, `'s390'`, `'s390x'`, and `'x64'`. ```mjs import { arch } from 'process'; diff --git a/tools/v8_gypfiles/toolchain.gypi b/tools/v8_gypfiles/toolchain.gypi index d10525af57c7f2..ecbd63b53f97b0 100644 --- a/tools/v8_gypfiles/toolchain.gypi +++ b/tools/v8_gypfiles/toolchain.gypi @@ -954,21 +954,6 @@ }, 'msvs_configuration_platform': 'x64', }], # v8_target_arch=="x64" - ['v8_target_arch=="x32"', { - 'defines': [ - # x32 port shares the source code with x64 port. - 'V8_TARGET_ARCH_X64', - 'V8_TARGET_ARCH_32_BIT', - ], - 'cflags': [ - '-mx32', - # Inhibit warning if long long type is used. - '-Wno-long-long', - ], - 'ldflags': [ - '-mx32', - ], - }], # v8_target_arch=="x32" ['OS=="win"', { 'defines': [ 'WIN32',