summaryrefslogtreecommitdiff
path: root/libcrypto/libcrypto/downstream/crypto
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-10-11 21:32:25 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-10-11 21:32:25 +0300
commit628ef8e06dfb02f1148587dcd3060c2f0413455c (patch)
tree9b95f903652075dbfba5b46f9dd81b419d578186 /libcrypto/libcrypto/downstream/crypto
parenta03ec0f5a8c56277673a8dea791e08d7282b9ed1 (diff)
Release version 1.1.1+18v1.1.1+18
Add support for arm64 architecture for Linux. Fix link order so that libraries are linked after all object files. Exclude wasm class from builds.
Diffstat (limited to 'libcrypto/libcrypto/downstream/crypto')
-rw-r--r--libcrypto/libcrypto/downstream/crypto/bn_conf/arm64-linux.h28
-rw-r--r--libcrypto/libcrypto/downstream/crypto/dso_conf/arm64-linux.h17
-rw-r--r--libcrypto/libcrypto/downstream/crypto/platform.h8
3 files changed, 49 insertions, 4 deletions
diff --git a/libcrypto/libcrypto/downstream/crypto/bn_conf/arm64-linux.h b/libcrypto/libcrypto/downstream/crypto/bn_conf/arm64-linux.h
new file mode 100644
index 0000000..0bacac0
--- /dev/null
+++ b/libcrypto/libcrypto/downstream/crypto/bn_conf/arm64-linux.h
@@ -0,0 +1,28 @@
+/* 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 */
+#define SIXTY_FOUR_BIT_LONG
+#undef SIXTY_FOUR_BIT
+#undef THIRTY_TWO_BIT
+
+#endif
diff --git a/libcrypto/libcrypto/downstream/crypto/dso_conf/arm64-linux.h b/libcrypto/libcrypto/downstream/crypto/dso_conf/arm64-linux.h
new file mode 100644
index 0000000..2c3b479
--- /dev/null
+++ b/libcrypto/libcrypto/downstream/crypto/dso_conf/arm64-linux.h
@@ -0,0 +1,17 @@
+/* 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/libcrypto/libcrypto/downstream/crypto/platform.h b/libcrypto/libcrypto/downstream/crypto/platform.h
index c5f0984..8dd6690 100644
--- a/libcrypto/libcrypto/downstream/crypto/platform.h
+++ b/libcrypto/libcrypto/downstream/crypto/platform.h
@@ -32,15 +32,15 @@
# else
# error x86_64 architecture is not supported for this OS
# endif
-# elif defined(__arm64__) /* POSIX arm64 */
+# elif defined(__arm64__) || defined(__aarch64__) /* POSIX arm64 */
# if defined(__APPLE__)
# include "arm64-macos.h"
+# elif defined(__linux__)
+# include "arm64-linux.h"
/*
- * arm64 architecture is not currently supported for Linux and FreeBSD.
+ * arm64 architecture is not currently supported for FreeBSD.
*/
/*
-# elif defined(__linux__)
-# include "arm64-linux.h"
# elif defined(__FreeBSD__)
# include "arm64-freebsd.h"
*/