uringmachine 0.16 → 0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (259) hide show
  1. checksums.yaml +4 -4
  2. data/.github/FUNDING.yml +3 -0
  3. data/.gitmodules +4 -0
  4. data/CHANGELOG.md +8 -0
  5. data/TODO.md +12 -3
  6. data/examples/bm_send.rb +86 -0
  7. data/ext/um/um.c +28 -1
  8. data/ext/um/um.h +3 -0
  9. data/ext/um/um_class.c +17 -0
  10. data/ext/um/um_utils.c +38 -15
  11. data/lib/uringmachine/version.rb +1 -1
  12. data/test/test_um.rb +76 -0
  13. data/vendor/libressl/.github/scripts/changelog.sh +74 -0
  14. data/vendor/libressl/.github/workflows/android.yml +35 -0
  15. data/vendor/libressl/.github/workflows/cifuzz.yml +33 -0
  16. data/vendor/libressl/.github/workflows/cmake-config.yml +98 -0
  17. data/vendor/libressl/.github/workflows/coverity.yml +69 -0
  18. data/vendor/libressl/.github/workflows/emscripten.yml +71 -0
  19. data/vendor/libressl/.github/workflows/fedora-rawhide.yml +39 -0
  20. data/vendor/libressl/.github/workflows/freebsd.yml +71 -0
  21. data/vendor/libressl/.github/workflows/linux.yml +71 -0
  22. data/vendor/libressl/.github/workflows/macos.yml +37 -0
  23. data/vendor/libressl/.github/workflows/release.yml +81 -0
  24. data/vendor/libressl/.github/workflows/rust-openssl.yml +47 -0
  25. data/vendor/libressl/.github/workflows/solaris.yml +37 -0
  26. data/vendor/libressl/.github/workflows/windows.yml +70 -0
  27. data/vendor/libressl/.gitignore +333 -0
  28. data/vendor/libressl/CMakeLists.txt +581 -0
  29. data/vendor/libressl/COPYING +133 -0
  30. data/vendor/libressl/ChangeLog +3280 -0
  31. data/vendor/libressl/FindLibreSSL.cmake +232 -0
  32. data/vendor/libressl/LibreSSLConfig.cmake.in +36 -0
  33. data/vendor/libressl/Makefile.am +60 -0
  34. data/vendor/libressl/Makefile.am.common +20 -0
  35. data/vendor/libressl/OPENBSD_BRANCH +1 -0
  36. data/vendor/libressl/README.md +238 -0
  37. data/vendor/libressl/README.mingw.md +43 -0
  38. data/vendor/libressl/apps/CMakeLists.txt +18 -0
  39. data/vendor/libressl/apps/Makefile.am +5 -0
  40. data/vendor/libressl/apps/nc/CMakeLists.txt +67 -0
  41. data/vendor/libressl/apps/nc/Makefile.am +64 -0
  42. data/vendor/libressl/apps/nc/compat/accept4.c +17 -0
  43. data/vendor/libressl/apps/nc/compat/readpassphrase.c +205 -0
  44. data/vendor/libressl/apps/nc/compat/socket.c +29 -0
  45. data/vendor/libressl/apps/nc/compat/sys/socket.h +30 -0
  46. data/vendor/libressl/apps/ocspcheck/CMakeLists.txt +44 -0
  47. data/vendor/libressl/apps/ocspcheck/Makefile.am +45 -0
  48. data/vendor/libressl/apps/ocspcheck/compat/.gitignore +0 -0
  49. data/vendor/libressl/apps/openssl/CMakeLists.txt +97 -0
  50. data/vendor/libressl/apps/openssl/Makefile.am +108 -0
  51. data/vendor/libressl/apps/openssl/apps_win.c +138 -0
  52. data/vendor/libressl/apps/openssl/certhash_win.c +13 -0
  53. data/vendor/libressl/apps/openssl/compat/clock_gettime_osx.c +26 -0
  54. data/vendor/libressl/apps/openssl/compat/poll_win.c +329 -0
  55. data/vendor/libressl/appveyor.yml +53 -0
  56. data/vendor/libressl/autogen.sh +15 -0
  57. data/vendor/libressl/check-release.sh +86 -0
  58. data/vendor/libressl/cmake_export_symbol.cmake +71 -0
  59. data/vendor/libressl/cmake_uninstall.cmake.in +36 -0
  60. data/vendor/libressl/config +17 -0
  61. data/vendor/libressl/configure.ac +165 -0
  62. data/vendor/libressl/crypto/CMakeLists.txt +863 -0
  63. data/vendor/libressl/crypto/Makefile.am +962 -0
  64. data/vendor/libressl/crypto/Makefile.am.arc4random +46 -0
  65. data/vendor/libressl/crypto/Makefile.am.elf-mips +14 -0
  66. data/vendor/libressl/crypto/Makefile.am.elf-mips64 +14 -0
  67. data/vendor/libressl/crypto/Makefile.am.elf-x86_64 +35 -0
  68. data/vendor/libressl/crypto/Makefile.am.macosx-x86_64 +35 -0
  69. data/vendor/libressl/crypto/Makefile.am.masm-x86_64 +22 -0
  70. data/vendor/libressl/crypto/Makefile.am.mingw64-x86_64 +23 -0
  71. data/vendor/libressl/crypto/arch/aarch64/crypto_cpu_caps_darwin.c +60 -0
  72. data/vendor/libressl/crypto/arch/aarch64/crypto_cpu_caps_linux.c +62 -0
  73. data/vendor/libressl/crypto/arch/aarch64/crypto_cpu_caps_none.c +26 -0
  74. data/vendor/libressl/crypto/arch/aarch64/crypto_cpu_caps_windows.c +36 -0
  75. data/vendor/libressl/crypto/arch/loongarch64/crypto_arch.h +21 -0
  76. data/vendor/libressl/crypto/arch/mips/crypto_arch.h +21 -0
  77. data/vendor/libressl/crypto/bn/arch/loongarch64/bn_arch.h +23 -0
  78. data/vendor/libressl/crypto/bn/arch/mips/bn_arch.h +24 -0
  79. data/vendor/libressl/crypto/compat/.gitignore +31 -0
  80. data/vendor/libressl/crypto/compat/arc4random.h +41 -0
  81. data/vendor/libressl/crypto/compat/b_win.c +55 -0
  82. data/vendor/libressl/crypto/compat/bsd-asprintf.c +96 -0
  83. data/vendor/libressl/crypto/compat/crypto_lock_win.c +56 -0
  84. data/vendor/libressl/crypto/compat/explicit_bzero_win.c +13 -0
  85. data/vendor/libressl/crypto/compat/freezero.c +32 -0
  86. data/vendor/libressl/crypto/compat/getdelim.c +78 -0
  87. data/vendor/libressl/crypto/compat/getline.c +40 -0
  88. data/vendor/libressl/crypto/compat/getopt_long.c +528 -0
  89. data/vendor/libressl/crypto/compat/getpagesize.c +18 -0
  90. data/vendor/libressl/crypto/compat/getprogname_linux.c +23 -0
  91. data/vendor/libressl/crypto/compat/getprogname_unimpl.c +7 -0
  92. data/vendor/libressl/crypto/compat/getprogname_windows.c +13 -0
  93. data/vendor/libressl/crypto/compat/posix_win.c +296 -0
  94. data/vendor/libressl/crypto/compat/syslog_r.c +19 -0
  95. data/vendor/libressl/crypto/compat/ui_openssl_win.c +334 -0
  96. data/vendor/libressl/dist.sh +22 -0
  97. data/vendor/libressl/gen-coverage-report.sh +58 -0
  98. data/vendor/libressl/gen-openbsd-tags.sh +20 -0
  99. data/vendor/libressl/include/CMakeLists.txt +61 -0
  100. data/vendor/libressl/include/Makefile.am +79 -0
  101. data/vendor/libressl/include/arch/loongarch64/opensslconf.h +150 -0
  102. data/vendor/libressl/include/arch/mips/opensslconf.h +150 -0
  103. data/vendor/libressl/include/compat/arpa/inet.h +15 -0
  104. data/vendor/libressl/include/compat/arpa/nameser.h +25 -0
  105. data/vendor/libressl/include/compat/cet.h +19 -0
  106. data/vendor/libressl/include/compat/dirent.h +17 -0
  107. data/vendor/libressl/include/compat/dirent_msvc.h +611 -0
  108. data/vendor/libressl/include/compat/endian.h +161 -0
  109. data/vendor/libressl/include/compat/err.h +95 -0
  110. data/vendor/libressl/include/compat/fcntl.h +32 -0
  111. data/vendor/libressl/include/compat/getopt.h +50 -0
  112. data/vendor/libressl/include/compat/limits.h +25 -0
  113. data/vendor/libressl/include/compat/netdb.h +10 -0
  114. data/vendor/libressl/include/compat/netinet/in.h +19 -0
  115. data/vendor/libressl/include/compat/netinet/ip.h +49 -0
  116. data/vendor/libressl/include/compat/netinet/tcp.h +10 -0
  117. data/vendor/libressl/include/compat/poll.h +63 -0
  118. data/vendor/libressl/include/compat/pthread.h +122 -0
  119. data/vendor/libressl/include/compat/readpassphrase.h +44 -0
  120. data/vendor/libressl/include/compat/resolv.h +24 -0
  121. data/vendor/libressl/include/compat/stdint.h +31 -0
  122. data/vendor/libressl/include/compat/stdio.h +65 -0
  123. data/vendor/libressl/include/compat/stdlib.h +57 -0
  124. data/vendor/libressl/include/compat/string.h +98 -0
  125. data/vendor/libressl/include/compat/sys/_null.h +18 -0
  126. data/vendor/libressl/include/compat/sys/ioctl.h +11 -0
  127. data/vendor/libressl/include/compat/sys/mman.h +19 -0
  128. data/vendor/libressl/include/compat/sys/param.h +15 -0
  129. data/vendor/libressl/include/compat/sys/queue.h +536 -0
  130. data/vendor/libressl/include/compat/sys/select.h +10 -0
  131. data/vendor/libressl/include/compat/sys/socket.h +18 -0
  132. data/vendor/libressl/include/compat/sys/stat.h +129 -0
  133. data/vendor/libressl/include/compat/sys/time.h +37 -0
  134. data/vendor/libressl/include/compat/sys/tree.h +1006 -0
  135. data/vendor/libressl/include/compat/sys/types.h +69 -0
  136. data/vendor/libressl/include/compat/sys/uio.h +17 -0
  137. data/vendor/libressl/include/compat/syslog.h +38 -0
  138. data/vendor/libressl/include/compat/time.h +59 -0
  139. data/vendor/libressl/include/compat/unistd.h +83 -0
  140. data/vendor/libressl/include/compat/win32netcompat.h +57 -0
  141. data/vendor/libressl/include/openssl/Makefile.am.tpl +45 -0
  142. data/vendor/libressl/libcrypto.pc.in +28 -0
  143. data/vendor/libressl/libressl.pub +2 -0
  144. data/vendor/libressl/libssl.pc.in +28 -0
  145. data/vendor/libressl/libtls.pc.in +28 -0
  146. data/vendor/libressl/m4/ax_add_fortify_source.m4 +80 -0
  147. data/vendor/libressl/m4/ax_check_compile_flag.m4 +53 -0
  148. data/vendor/libressl/m4/check-hardening-options.m4 +110 -0
  149. data/vendor/libressl/m4/check-libc.m4 +189 -0
  150. data/vendor/libressl/m4/check-os-options.m4 +181 -0
  151. data/vendor/libressl/m4/disable-compiler-warnings.m4 +44 -0
  152. data/vendor/libressl/man/CMakeLists.txt +26 -0
  153. data/vendor/libressl/man/links +2780 -0
  154. data/vendor/libressl/man/update_links.sh +25 -0
  155. data/vendor/libressl/openssl.pc.in +11 -0
  156. data/vendor/libressl/patches/bn_shift.patch +34 -0
  157. data/vendor/libressl/patches/crypto_arch.h.patch +34 -0
  158. data/vendor/libressl/patches/crypto_namespace.h.patch +22 -0
  159. data/vendor/libressl/patches/netcat.c.patch +178 -0
  160. data/vendor/libressl/patches/openssl.c.patch +12 -0
  161. data/vendor/libressl/patches/opensslfeatures.h.patch +49 -0
  162. data/vendor/libressl/patches/patch-amd64-crypto-cpu-caps.c.patch +20 -0
  163. data/vendor/libressl/patches/patch-i386-crypto-cpu-caps.c.patch +20 -0
  164. data/vendor/libressl/patches/speed.c.patch +114 -0
  165. data/vendor/libressl/patches/ssl_namespace.h.patch +21 -0
  166. data/vendor/libressl/patches/tls.h.patch +16 -0
  167. data/vendor/libressl/patches/tls_config.c.patch +15 -0
  168. data/vendor/libressl/patches/win32_amd64_bn_arch.h.patch +28 -0
  169. data/vendor/libressl/patches/windows_headers.patch +80 -0
  170. data/vendor/libressl/scripts/config.guess +1774 -0
  171. data/vendor/libressl/scripts/config.sub +1907 -0
  172. data/vendor/libressl/scripts/i686-w64-mingw32.cmake +9 -0
  173. data/vendor/libressl/scripts/test +210 -0
  174. data/vendor/libressl/scripts/wrap-compiler-for-flag-check +31 -0
  175. data/vendor/libressl/scripts/x86_64-w64-mingw32.cmake +9 -0
  176. data/vendor/libressl/ssl/CMakeLists.txt +183 -0
  177. data/vendor/libressl/ssl/Makefile.am +187 -0
  178. data/vendor/libressl/tests/CMakeLists.txt +970 -0
  179. data/vendor/libressl/tests/Makefile.am +944 -0
  180. data/vendor/libressl/tests/aeadtest.sh +30 -0
  181. data/vendor/libressl/tests/arc4randomforktest.sh +21 -0
  182. data/vendor/libressl/tests/asn1time_small.test +10 -0
  183. data/vendor/libressl/tests/cmake/CMakeLists.txt +52 -0
  184. data/vendor/libressl/tests/cmake/crypto.c +7 -0
  185. data/vendor/libressl/tests/cmake/ssl.c +6 -0
  186. data/vendor/libressl/tests/cmake/tls.c +6 -0
  187. data/vendor/libressl/tests/compat/pipe2.c +186 -0
  188. data/vendor/libressl/tests/dtlstest.sh +28 -0
  189. data/vendor/libressl/tests/evptest.sh +22 -0
  190. data/vendor/libressl/tests/keypairtest.sh +27 -0
  191. data/vendor/libressl/tests/mlkem_tests.sh +39 -0
  192. data/vendor/libressl/tests/ocsptest.bat +25 -0
  193. data/vendor/libressl/tests/ocsptest.sh +23 -0
  194. data/vendor/libressl/tests/openssl.cnf +29 -0
  195. data/vendor/libressl/tests/optionstest.c +381 -0
  196. data/vendor/libressl/tests/pidwraptest.c +85 -0
  197. data/vendor/libressl/tests/pidwraptest.sh +26 -0
  198. data/vendor/libressl/tests/quictest.bat +27 -0
  199. data/vendor/libressl/tests/quictest.sh +30 -0
  200. data/vendor/libressl/tests/renegotiation_test.bat +27 -0
  201. data/vendor/libressl/tests/renegotiation_test.sh +30 -0
  202. data/vendor/libressl/tests/rfc5280time_small.test +10 -0
  203. data/vendor/libressl/tests/servertest.bat +27 -0
  204. data/vendor/libressl/tests/servertest.sh +30 -0
  205. data/vendor/libressl/tests/shutdowntest.bat +27 -0
  206. data/vendor/libressl/tests/shutdowntest.sh +30 -0
  207. data/vendor/libressl/tests/ssltest.bat +32 -0
  208. data/vendor/libressl/tests/ssltest.sh +48 -0
  209. data/vendor/libressl/tests/testdsa.bat +47 -0
  210. data/vendor/libressl/tests/testdsa.sh +57 -0
  211. data/vendor/libressl/tests/testenc.bat +85 -0
  212. data/vendor/libressl/tests/testenc.sh +93 -0
  213. data/vendor/libressl/tests/testrsa.bat +47 -0
  214. data/vendor/libressl/tests/testrsa.sh +57 -0
  215. data/vendor/libressl/tests/testssl.bat +171 -0
  216. data/vendor/libressl/tests/tlstest.bat +27 -0
  217. data/vendor/libressl/tests/tlstest.sh +28 -0
  218. data/vendor/libressl/tls/CMakeLists.txt +125 -0
  219. data/vendor/libressl/tls/Makefile.am +76 -0
  220. data/vendor/libressl/tls/compat/ftruncate.c +17 -0
  221. data/vendor/libressl/tls/compat/pread.c +29 -0
  222. data/vendor/libressl/tls/compat/pwrite.c +29 -0
  223. data/vendor/libressl/update.sh +460 -0
  224. data/vendor/liburing/.github/workflows/ci.yml +8 -0
  225. data/vendor/liburing/configure +23 -2
  226. data/vendor/liburing/examples/helpers.c +1 -1
  227. data/vendor/liburing/examples/helpers.h +1 -1
  228. data/vendor/liburing/examples/reg-wait.c +3 -3
  229. data/vendor/liburing/examples/zcrx.c +5 -5
  230. data/vendor/liburing/liburing.spec +1 -1
  231. data/vendor/liburing/src/include/liburing/io_uring.h +16 -0
  232. data/vendor/liburing/src/include/liburing.h +20 -4
  233. data/vendor/liburing/src/lib.h +2 -4
  234. data/vendor/liburing/src/liburing-ffi.map +7 -0
  235. data/vendor/liburing/src/liburing.map +7 -0
  236. data/vendor/liburing/src/register.c +5 -0
  237. data/vendor/liburing/src/sanitize.c +5 -4
  238. data/vendor/liburing/src/setup.c +43 -28
  239. data/vendor/liburing/test/Makefile +7 -0
  240. data/vendor/liburing/test/cmd-discard.c +2 -2
  241. data/vendor/liburing/test/evfd-short-read.c +84 -0
  242. data/vendor/liburing/test/fdinfo-sqpoll.c +117 -0
  243. data/vendor/liburing/test/fdinfo.c +1 -1
  244. data/vendor/liburing/test/fixed-buf-merge.c +2 -2
  245. data/vendor/liburing/test/futex-kill.c +135 -0
  246. data/vendor/liburing/test/helpers.c +1 -1
  247. data/vendor/liburing/test/helpers.h +1 -1
  248. data/vendor/liburing/test/init-mem.c +50 -12
  249. data/vendor/liburing/test/io_uring_passthrough.c +25 -6
  250. data/vendor/liburing/test/msg-ring.c +123 -9
  251. data/vendor/liburing/test/recv-bundle-short-ooo.c +16 -1
  252. data/vendor/liburing/test/recv-inc-ooo.c +411 -0
  253. data/vendor/liburing/test/recv-mshot-fair.c +513 -0
  254. data/vendor/liburing/test/reg-wait.c +14 -14
  255. data/vendor/liburing/test/send-zerocopy.c +4 -4
  256. data/vendor/liburing/test/timerfd-short-read.c +81 -0
  257. data/vendor/liburing/test/timestamp.c +382 -0
  258. data/vendor/liburing/test/zcrx.c +22 -22
  259. metadata +222 -2
@@ -0,0 +1,9 @@
1
+ SET(CMAKE_SYSTEM_NAME Windows)
2
+ SET(CMAKE_SYSTEM_PROCESSOR i386)
3
+ SET(CMAKE_C_COMPILER i686-w64-mingw32-gcc)
4
+ SET(CMAKE_CXX_COMPILER i686-w64-mingw32-g++)
5
+ SET(CMAKE_RC_COMPILER i686-w64-mingw32-windres)
6
+ set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
7
+ set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
8
+ set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
9
+
@@ -0,0 +1,210 @@
1
+ #!/bin/sh
2
+ set -e
3
+ set -x
4
+
5
+ if [ "$ARCH" = "" ]; then
6
+ ARCH=`uname -m`
7
+ fi
8
+
9
+ if [ "$ARCH" = "mingw32" -o "$ARCH" = "mingw64" -o "$ARCH" = "arm32" ]; then
10
+ unset CC
11
+ fi
12
+
13
+ ENABLE_ASM="${ENABLE_ASM:=ON}"
14
+
15
+ if type apt-get >/dev/null 2>&1; then
16
+ sudo apt-get update
17
+ sudo apt-get install -y cmake ninja-build
18
+ fi
19
+
20
+ # generate source tree
21
+ ./autogen.sh
22
+
23
+ VERSION=`cat VERSION`
24
+
25
+ # test macOS
26
+ if [ `uname` = "Darwin" ]; then
27
+ # test autotools
28
+ ./configure
29
+
30
+ # make distribution
31
+ make -j 4 distcheck
32
+
33
+ # test cmake
34
+ tar zxvf libressl-$VERSION.tar.gz
35
+ cd libressl-$VERSION
36
+
37
+ (
38
+ mkdir build-static
39
+ cd build-static
40
+ cmake -DCMAKE_OSX_ARCHITECTURES=$ARCH ..
41
+ make -j 4
42
+ if [ "$ARCH" = "arm64" ] && [ "$OS" = "macos-12" ] || [ "$OS" = "macos-13" ]; then
43
+ echo "##### skip tests"
44
+ else
45
+ make test
46
+ fi
47
+ )
48
+
49
+ (
50
+ mkdir build-shared
51
+ cd build-shared
52
+ cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_OSX_ARCHITECTURES=$ARCH ..
53
+ make -j 4
54
+ if [ "$ARCH" = "arm64" ] && [ "$OS" = "macos-12" ] || [ "$OS" = "macos-13" ]; then
55
+ echo "##### skip tests"
56
+ else
57
+ make test
58
+ fi
59
+ )
60
+
61
+ # assuming Linux below
62
+ elif [ "$ARCH" = "native" ]; then
63
+ # test autotools
64
+ ./configure
65
+
66
+ # make distribution
67
+ make -j 4 distcheck
68
+
69
+ tar zxvf libressl-$VERSION.tar.gz
70
+ cd libressl-$VERSION
71
+
72
+
73
+ # test cmake and ninja
74
+ (
75
+ mkdir build-static
76
+ cd build-static
77
+ cmake -GNinja -DENABLE_ASM=${ENABLE_ASM} ..
78
+ ninja
79
+ ninja test
80
+ )
81
+
82
+ (
83
+ mkdir build-shared
84
+ cd build-shared
85
+ cmake -GNinja -DBUILD_SHARED_LIBS=ON -DENABLE_ASM=${ENABLE_ASM} ..
86
+ ninja
87
+ ninja test
88
+ )
89
+
90
+ elif [ "$ARCH" = "mingw32" -o "$ARCH" = "mingw64" ]; then
91
+ CPU=i686
92
+ if [ "$ARCH" = "mingw64" ]; then
93
+ CPU=x86_64
94
+ fi
95
+
96
+ if ! type i686-w64-mingw32-gcc > /dev/null; then
97
+ sudo apt-get install -y mingw-w64
98
+ fi
99
+
100
+ ./configure --host=$CPU-w64-mingw32
101
+ make -j 4
102
+
103
+ (
104
+ rm -fr build-static
105
+ mkdir build-static
106
+ cd build-static
107
+ cmake -GNinja -DCMAKE_TOOLCHAIN_FILE=../scripts/$CPU-w64-mingw32.cmake -DENABLE_ASM=${ENABLE_ASM} ..
108
+ ninja -j 4
109
+ )
110
+ (
111
+ rm -fr build-shared
112
+ mkdir build-shared
113
+ cd build-shared
114
+ cmake -GNinja -DCMAKE_TOOLCHAIN_FILE=../scripts/$CPU-w64-mingw32.cmake -DBUILD_SHARED_LIBS=ON -DENABLE_ASM=${ENABLE_ASM} ..
115
+ ninja -j 4
116
+ )
117
+
118
+ elif [ "$ARCH" = "arm32" -o "$ARCH" = "arm64" ]; then
119
+ sudo apt-get install -y qemu-user-static binfmt-support
120
+
121
+ if [ "$ARCH" = "arm32" ]; then
122
+ sudo apt-get install -y g++-arm-linux-gnueabihf
123
+ sudo ln -sf /usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.3 /lib/
124
+ ./configure --host=arm-linux-gnueabihf
125
+ LD_LIBRARY_PATH=/usr/arm-linux-gnueabihf/lib make -j 4 check
126
+ else
127
+ sudo apt-get install -y g++-aarch64-linux-gnu
128
+ sudo ln -sf /usr/aarch64-linux-gnu/lib/ld-linux-aarch64.so.1 /lib/
129
+ ./configure --host=aarch64-linux-gnu
130
+ LD_LIBRARY_PATH=/usr/aarch64-linux-gnu/lib make -j 4 check
131
+ fi
132
+
133
+ file apps/openssl/.libs/openssl
134
+
135
+ elif [ "$ARCH" = "loong64" ]; then
136
+ sudo apt install -y qemu-user-static binfmt-support g++-14-loongarch64-linux-gnu
137
+ sudo ln -sf /usr/loongarch64-linux-gnu/lib64/ld-linux-loongarch-lp64d.so.1 /lib64
138
+
139
+ CC=loongarch64-linux-gnu-gcc-14
140
+ CXX=loongarch64-linux-gnu++-14
141
+ AR=loongarch64-linux-gnu-ar
142
+ STRIP=loongarch64-linux-gnu-strip-14
143
+ RANLIB=loongarch64-linux-gnu-ranlib
144
+
145
+ ./configure --host=loongarch64-linux-gnu
146
+ LD_LIBRARY_PATH=/usr/loongarch64-linux-gnu/lib make -j 4 check
147
+
148
+ file apps/openssl/openssl
149
+
150
+ elif [ "$ARCH" = "mips32" -o "$ARCH" = "mips64" ]; then
151
+ sudo apt-get install -y qemu-user-static binfmt-support
152
+
153
+ if [ "$ARCH" = "mips32" ]; then
154
+ sudo apt-get install -y g++-mips-linux-gnu
155
+ sudo ln -sf /usr/mipsel-linux-gnu/lib/ld.so.1 /lib/
156
+ ./configure --host=mipsel-linux-gnu
157
+ LD_LIBRARY_PATH=/usr/mipsel-linux-gnu/lib make -j 4 check
158
+ else
159
+ sudo apt-get install -y g++-mips64el-linux-gnuabi64
160
+ sudo ln -sf /usr/mips64el-linux-gnuabi64/lib64/ld.so.1 /lib64
161
+ ./configure --host=mips64el-linux-gnuabi64
162
+ LD_LIBRARY_PATH=/usr/mips64el-linux-gnuabi64/lib make -j 4 check
163
+ fi
164
+
165
+ file apps/openssl/.libs/openssl
166
+
167
+ elif [ "$ARCH" = "android" ]; then
168
+ export TC_FILE=$ANDROID_NDK_HOME/build/cmake/android.toolchain.cmake
169
+
170
+ # set target API level and architecture
171
+ level_arch=""
172
+ level=$MIN_NAL
173
+ while [ $level -le $MAX_NAL ]
174
+ do
175
+ level_arch="$level_arch $level;x86_64"
176
+ level_arch="$level_arch $level;x86"
177
+ level_arch="$level_arch $level;arm64-v8a"
178
+
179
+ level=`expr $level + 1`
180
+ done
181
+
182
+ echo "##### level_arch = $level_arch"
183
+
184
+ # build each API level and architecture
185
+ for la in $level_arch
186
+ do
187
+ NAL=`echo $la | cut -d ';' -f 1`
188
+ ABI=`echo $la | cut -d ';' -f 2`
189
+ echo ""
190
+ echo "##### Date: `date`, Native API level: $NAL, ABI: $ABI"
191
+
192
+ (
193
+ build_dir=build-$NAL_$ABI
194
+ rm -fr $build_dir include/openssl/opensslconf.h
195
+ mkdir $build_dir
196
+ cd $build_dir
197
+ echo "##### cmake -GNinja -DCMAKE_MAKE_PROGRAM=ninja -DANDROID_NDK=$ANDROID_NDK_HOME -DCMAKE_TOOLCHAIN_FILE=$TC_FILE -DANDROID_ABI=$ABI -DANDROID_NATIVE_API_LEVEL=$NAL .."
198
+ cmake -GNinja -DCMAKE_MAKE_PROGRAM=ninja \
199
+ -DANDROID_NDK=$ANDROID_NDK_HOME \
200
+ -DCMAKE_TOOLCHAIN_FILE=$TC_FILE \
201
+ -DANDROID_ABI=$ABI -DANDROID_NATIVE_API_LEVEL=$NAL \
202
+ -DENABLE_ASM=${ENABLE_ASM} ..
203
+
204
+ ninja -j 4
205
+
206
+ echo ""
207
+ file apps/openssl/openssl
208
+ )
209
+ done
210
+ fi
@@ -0,0 +1,31 @@
1
+ #!/bin/sh
2
+
3
+ # This file is in the public domain.
4
+ # https://github.com/kmcallister/autoharden/blob/c5c7842f39c2f8d19836bb5427d6479db4436d62/LICENSE
5
+ #
6
+ # From kmcallister:
7
+ # https://github.com/kmcallister/autoharden/blob/efaf5a16612589808c276a11536ea9a47071f74b/scripts/wrap-compiler-for-flag-check
8
+
9
+ # Prior to clang v5.1, there was no way to make
10
+ # clang's "argument unused" warning fatal. This
11
+ # wrapper script that greps for this warning message. Newer clang's have no issues.
12
+ #
13
+ # Ideally the search string would also include 'clang: ' but this output might
14
+ # depend on clang's argv[0].
15
+ #
16
+ set -o errexit
17
+ set -o nounset
18
+
19
+ if out=`"$@" 2>&1`; then
20
+ echo "$out"
21
+ if echo "$out" | grep 'warning: argument unused' >/dev/null; then
22
+ echo "$0: found clang warning"
23
+ exit 1
24
+ else
25
+ exit 0
26
+ fi
27
+ else
28
+ code=$?
29
+ echo "$out"
30
+ exit $code
31
+ fi
@@ -0,0 +1,9 @@
1
+ SET(CMAKE_SYSTEM_NAME Windows)
2
+ SET(CMAKE_SYSTEM_PROCESSOR amd64)
3
+ SET(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc)
4
+ SET(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++)
5
+ SET(CMAKE_RC_COMPILER x86_64-w64-mingw32-windres)
6
+ set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
7
+ set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
8
+ set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
9
+
@@ -0,0 +1,183 @@
1
+ #
2
+ # Copyright (c) 2014 Brent Cook
3
+ #
4
+ # Permission to use, copy, modify, and distribute this software for any
5
+ # purpose with or without fee is hereby granted, provided that the above
6
+ # copyright notice and this permission notice appear in all copies.
7
+ #
8
+ # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9
+ # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10
+ # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11
+ # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12
+ # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13
+ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14
+ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15
+
16
+ set(
17
+ SSL_SRC
18
+ bio_ssl.c
19
+ d1_both.c
20
+ d1_lib.c
21
+ d1_pkt.c
22
+ d1_srtp.c
23
+ pqueue.c
24
+ s3_cbc.c
25
+ s3_lib.c
26
+ ssl_asn1.c
27
+ ssl_both.c
28
+ ssl_cert.c
29
+ ssl_ciph.c
30
+ ssl_ciphers.c
31
+ ssl_clnt.c
32
+ ssl_err.c
33
+ ssl_init.c
34
+ ssl_kex.c
35
+ ssl_lib.c
36
+ ssl_methods.c
37
+ ssl_packet.c
38
+ ssl_pkt.c
39
+ ssl_rsa.c
40
+ ssl_seclevel.c
41
+ ssl_sess.c
42
+ ssl_sigalgs.c
43
+ ssl_srvr.c
44
+ ssl_stat.c
45
+ ssl_tlsext.c
46
+ ssl_transcript.c
47
+ ssl_txt.c
48
+ ssl_versions.c
49
+ t1_enc.c
50
+ t1_lib.c
51
+ tls_buffer.c
52
+ tls_content.c
53
+ tls_key_share.c
54
+ tls_lib.c
55
+ tls12_key_schedule.c
56
+ tls12_lib.c
57
+ tls12_record_layer.c
58
+ tls13_client.c
59
+ tls13_error.c
60
+ tls13_handshake.c
61
+ tls13_handshake_msg.c
62
+ tls13_key_schedule.c
63
+ tls13_legacy.c
64
+ tls13_lib.c
65
+ tls13_quic.c
66
+ tls13_record.c
67
+ tls13_record_layer.c
68
+ tls13_server.c
69
+ )
70
+
71
+ set(
72
+ BS_SRC
73
+ bs_ber.c
74
+ bs_cbb.c
75
+ bs_cbs.c
76
+ )
77
+
78
+ add_library(ssl_obj OBJECT ${SSL_SRC})
79
+ target_include_directories(ssl_obj
80
+ PRIVATE
81
+ .
82
+ hidden
83
+ ../crypto
84
+ ../crypto/bio
85
+ ../include/compat
86
+ PUBLIC
87
+ ../include
88
+ ${CMAKE_BINARY_DIR}/include)
89
+
90
+ if(MSVC)
91
+ # "C4702" - unreachable code
92
+ set_source_files_properties(d1_pkt.c s3_cbc.c PROPERTIES
93
+ COMPILE_OPTIONS /wd4702
94
+ )
95
+ endif()
96
+
97
+ add_library(bs_obj OBJECT ${BS_SRC})
98
+ target_include_directories(bs_obj
99
+ PRIVATE
100
+ .
101
+ ../include/compat)
102
+
103
+ if(BUILD_SHARED_LIBS)
104
+ add_library(ssl $<TARGET_OBJECTS:ssl_obj> $<TARGET_OBJECTS:compat_obj> $<TARGET_OBJECTS:bs_obj>)
105
+ else()
106
+ add_library(ssl $<TARGET_OBJECTS:ssl_obj> empty.c)
107
+ endif()
108
+
109
+ export_symbol(ssl ${CMAKE_CURRENT_SOURCE_DIR}/ssl.sym)
110
+ target_link_libraries(ssl crypto ${PLATFORM_LIBS})
111
+ set_target_properties(ssl PROPERTIES
112
+ OUTPUT_NAME ssl
113
+ ARCHIVE_OUTPUT_NAME ssl
114
+ EXPORT_NAME SSL
115
+ VERSION ${SSL_VERSION}
116
+ SOVERSION ${SSL_MAJOR_VERSION}
117
+ )
118
+ if(NOT CMAKE_VERSION VERSION_LESS 3.27.0)
119
+ set_target_properties(ssl PROPERTIES DLL_NAME_WITH_SOVERSION TRUE)
120
+ endif()
121
+
122
+ target_include_directories(
123
+ ssl
124
+ PUBLIC
125
+ $<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/include>
126
+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
127
+ )
128
+
129
+ if(HOST_AARCH64)
130
+ target_include_directories(ssl_obj PRIVATE ../crypto/arch/aarch64/)
131
+ elseif(HOST_ARM)
132
+ target_include_directories(ssl_obj PRIVATE ../crypto/arch/arm/)
133
+ elseif(HOST_I386)
134
+ target_include_directories(ssl_obj PRIVATE ../crypto/arch/i386/)
135
+ elseif(HOST_LOONGARCH64)
136
+ target_include_directories(ssl_obj PRIVATE ../crypto/arch/loongarch64)
137
+ elseif(HOST_MIPS64)
138
+ target_include_directories(ssl_obj PRIVATE ../crypto/arch/mips64)
139
+ elseif(HOST_MIPS)
140
+ target_include_directories(ssl_obj PRIVATE ../crypto/arch/mips)
141
+ elseif(HOST_POWERPC)
142
+ target_include_directories(ssl_obj PRIVATE ../crypto/arch/powerpc)
143
+ elseif(HOST_POWERPC64)
144
+ target_include_directories(ssl_obj PRIVATE ../crypto/arch/powerpc64)
145
+ elseif(HOST_RISCV64)
146
+ target_include_directories(ssl_obj PRIVATE ../crypto/arch/riscv64)
147
+ elseif(HOST_SPARC64)
148
+ target_include_directories(ssl_obj PRIVATE ../crypto/arch/sparc64)
149
+ elseif(HOST_X86_64)
150
+ target_include_directories(ssl_obj PRIVATE ../crypto/arch/amd64)
151
+ endif()
152
+
153
+ install(
154
+ TARGETS ssl
155
+ EXPORT SSL-target
156
+ )
157
+
158
+ export(
159
+ EXPORT SSL-target
160
+ FILE "${LibreSSL_BINARY_DIR}/LibreSSL-SSL.cmake"
161
+ NAMESPACE LibreSSL::
162
+ )
163
+
164
+ if(ENABLE_LIBRESSL_INSTALL)
165
+ install(
166
+ TARGETS ssl
167
+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
168
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
169
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
170
+ )
171
+ install(
172
+ EXPORT SSL-target
173
+ FILE "LibreSSL-SSL.cmake"
174
+ NAMESPACE LibreSSL::
175
+ DESTINATION "${LIBRESSL_INSTALL_CMAKEDIR}"
176
+ )
177
+ endif(ENABLE_LIBRESSL_INSTALL)
178
+
179
+ # build static library for regression test
180
+ if(BUILD_SHARED_LIBS)
181
+ add_library(ssl-static STATIC $<TARGET_OBJECTS:ssl_obj>)
182
+ target_link_libraries(ssl-static crypto-static ${PLATFORM_LIBS})
183
+ endif()
@@ -0,0 +1,187 @@
1
+ #
2
+ # Copyright (c) 2014 Brent Cook
3
+ #
4
+ # Permission to use, copy, modify, and distribute this software for any
5
+ # purpose with or without fee is hereby granted, provided that the above
6
+ # copyright notice and this permission notice appear in all copies.
7
+ #
8
+ # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9
+ # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10
+ # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11
+ # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12
+ # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13
+ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14
+ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15
+
16
+ include $(top_srcdir)/Makefile.am.common
17
+
18
+ -include $(abs_top_builddir)/crypto/libcrypto_la_objects.mk
19
+
20
+ AM_CPPFLAGS += -I$(top_srcdir)/crypto
21
+ AM_CPPFLAGS += -I$(top_srcdir)/crypto/bio
22
+
23
+ noinst_LTLIBRARIES = libbs.la
24
+
25
+ if ENABLE_LIBTLS_ONLY
26
+ noinst_LTLIBRARIES += libssl.la
27
+ else
28
+ lib_LTLIBRARIES = libssl.la
29
+ endif
30
+
31
+ noinst_DATA = remove_bs_objects
32
+
33
+ EXTRA_DIST = VERSION
34
+ EXTRA_DIST += CMakeLists.txt
35
+ EXTRA_DIST += ssl.sym
36
+ EXTRA_DIST += empty.c
37
+
38
+ CLEANFILES = libssl_la_objects.mk
39
+
40
+ EXTRA_libssl_la_DEPENDENCIES = libssl_la_objects.mk
41
+
42
+ libssl_la_objects.mk: Makefile
43
+ @echo "libssl_la_objects= $(libssl_la_OBJECTS)" \
44
+ | sed 's/ */ $$\(top_builddir\)\/ssl\//g' \
45
+ > libssl_la_objects.mk
46
+
47
+ .PHONY: remove_bs_objects
48
+ remove_bs_objects: libssl.la
49
+ -$(AR) dv $(abs_top_builddir)/ssl/.libs/libssl.a \
50
+ bs_ber.o bs_cbb.o bs_cbs.o
51
+
52
+ libssl_la_CPPFLAGS = -I$(top_srcdir)/ssl/hidden ${AM_CPPFLAGS}
53
+ libssl_la_LDFLAGS = -version-info @LIBSSL_VERSION@ -no-undefined -export-symbols $(top_srcdir)/ssl/ssl.sym
54
+ libssl_la_LIBADD = $(abs_top_builddir)/crypto/libcrypto.la $(PLATFORM_LDADD)
55
+ libssl_la_LIBADD += $(libcompat_la_objects)
56
+ libssl_la_LIBADD += $(libcompatnoopt_la_objects)
57
+ libssl_la_LIBADD += libbs.la
58
+
59
+ libbs_la_SOURCES = bs_ber.c
60
+ libbs_la_SOURCES += bs_cbb.c
61
+ libbs_la_SOURCES += bs_cbs.c
62
+ noinst_HEADERS = bytestring.h
63
+
64
+ noinst_HEADERS += hidden/ssl_namespace.h
65
+ noinst_HEADERS += hidden/openssl/srtp.h
66
+ noinst_HEADERS += hidden/openssl/tls1.h
67
+ noinst_HEADERS += hidden/openssl/ssl.h
68
+
69
+ libssl_la_SOURCES = bio_ssl.c
70
+ libssl_la_SOURCES += d1_both.c
71
+ libssl_la_SOURCES += d1_lib.c
72
+ libssl_la_SOURCES += d1_pkt.c
73
+ libssl_la_SOURCES += d1_srtp.c
74
+ libssl_la_SOURCES += pqueue.c
75
+ libssl_la_SOURCES += s3_cbc.c
76
+ libssl_la_SOURCES += s3_lib.c
77
+ libssl_la_SOURCES += ssl_asn1.c
78
+ libssl_la_SOURCES += ssl_both.c
79
+ libssl_la_SOURCES += ssl_cert.c
80
+ libssl_la_SOURCES += ssl_ciph.c
81
+ libssl_la_SOURCES += ssl_ciphers.c
82
+ libssl_la_SOURCES += ssl_clnt.c
83
+ libssl_la_SOURCES += ssl_err.c
84
+ libssl_la_SOURCES += ssl_init.c
85
+ libssl_la_SOURCES += ssl_kex.c
86
+ libssl_la_SOURCES += ssl_lib.c
87
+ libssl_la_SOURCES += ssl_methods.c
88
+ libssl_la_SOURCES += ssl_packet.c
89
+ libssl_la_SOURCES += ssl_pkt.c
90
+ libssl_la_SOURCES += ssl_rsa.c
91
+ libssl_la_SOURCES += ssl_seclevel.c
92
+ libssl_la_SOURCES += ssl_sess.c
93
+ libssl_la_SOURCES += ssl_sigalgs.c
94
+ libssl_la_SOURCES += ssl_srvr.c
95
+ libssl_la_SOURCES += ssl_stat.c
96
+ libssl_la_SOURCES += ssl_tlsext.c
97
+ libssl_la_SOURCES += ssl_transcript.c
98
+ libssl_la_SOURCES += ssl_txt.c
99
+ libssl_la_SOURCES += ssl_versions.c
100
+ libssl_la_SOURCES += t1_enc.c
101
+ libssl_la_SOURCES += t1_lib.c
102
+ libssl_la_SOURCES += tls_buffer.c
103
+ libssl_la_SOURCES += tls_content.c
104
+ libssl_la_SOURCES += tls_key_share.c
105
+ libssl_la_SOURCES += tls_lib.c
106
+ libssl_la_SOURCES += tls12_key_schedule.c
107
+ libssl_la_SOURCES += tls12_lib.c
108
+ libssl_la_SOURCES += tls12_record_layer.c
109
+ libssl_la_SOURCES += tls13_client.c
110
+ libssl_la_SOURCES += tls13_error.c
111
+ libssl_la_SOURCES += tls13_handshake.c
112
+ libssl_la_SOURCES += tls13_handshake_msg.c
113
+ libssl_la_SOURCES += tls13_key_schedule.c
114
+ libssl_la_SOURCES += tls13_legacy.c
115
+ libssl_la_SOURCES += tls13_lib.c
116
+ libssl_la_SOURCES += tls13_quic.c
117
+ libssl_la_SOURCES += tls13_record.c
118
+ libssl_la_SOURCES += tls13_record_layer.c
119
+ libssl_la_SOURCES += tls13_server.c
120
+
121
+ noinst_HEADERS += srtp.h
122
+ noinst_HEADERS += dtls_local.h
123
+ noinst_HEADERS += ssl_local.h
124
+ noinst_HEADERS += ssl_sigalgs.h
125
+ noinst_HEADERS += ssl_tlsext.h
126
+ noinst_HEADERS += tls_content.h
127
+ noinst_HEADERS += tls_internal.h
128
+ noinst_HEADERS += tls12_internal.h
129
+ noinst_HEADERS += tls13_internal.h
130
+ noinst_HEADERS += tls13_handshake.h
131
+ noinst_HEADERS += tls13_record.h
132
+
133
+ # arch
134
+ if HOST_AARCH64
135
+ libssl_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/aarch64/
136
+ endif
137
+ noinst_HEADERS += $(top_srcdir)/crypto/arch/aarch64/crypto_arch.h
138
+
139
+ if HOST_ARM
140
+ libssl_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/arm/
141
+ endif
142
+ noinst_HEADERS += $(top_srcdir)/crypto/arch/arm/crypto_arch.h
143
+
144
+ if HOST_I386
145
+ libssl_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/i386/
146
+ endif
147
+ noinst_HEADERS += $(top_srcdir)/crypto/arch/i386/crypto_arch.h
148
+
149
+ if HOST_LOONGARCH64
150
+ libssl_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/loongarch64/
151
+ endif
152
+ noinst_HEADERS += $(top_srcdir)/crypto/arch/loongarch64/crypto_arch.h
153
+
154
+ if HOST_MIPS
155
+ libssl_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/mips/
156
+ endif
157
+ noinst_HEADERS += $(top_srcdir)/crypto/arch/mips/crypto_arch.h
158
+
159
+ if HOST_MIPS64
160
+ libssl_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/mips64/
161
+ endif
162
+ noinst_HEADERS += $(top_srcdir)/crypto/arch/mips64/crypto_arch.h
163
+
164
+ if HOST_POWERPC
165
+ libssl_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/powerpc/
166
+ endif
167
+ noinst_HEADERS += $(top_srcdir)/crypto/arch/powerpc/crypto_arch.h
168
+
169
+ if HOST_POWERPC64
170
+ libssl_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/powerpc64/
171
+ endif
172
+ noinst_HEADERS += $(top_srcdir)/crypto/arch/powerpc64/crypto_arch.h
173
+
174
+ if HOST_RISCV64
175
+ libssl_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/riscv64/
176
+ endif
177
+ noinst_HEADERS += $(top_srcdir)/crypto/arch/riscv64/crypto_arch.h
178
+
179
+ if HOST_SPARC64
180
+ libssl_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/sparc64/
181
+ endif
182
+ noinst_HEADERS += $(top_srcdir)/crypto/arch/sparc64/crypto_arch.h
183
+
184
+ if HOST_X86_64
185
+ libssl_la_CPPFLAGS += -I$(top_srcdir)/crypto/arch/amd64/
186
+ endif
187
+ noinst_HEADERS += $(top_srcdir)/crypto/arch/amd64/crypto_arch.h