commit 75bebd9
Michael Forney
·
2026-05-05 17:41:57 +0000 UTC
parent 181b87b
libressl: Use generic dummy bn_arch.h and crypto_arch.h We define OPENSSL_NO_ASM so the arch-specific versions don't do anything. LibreSSL only provides these headers for particular architectures, building against some other architecture just fails. So, add our own generic headers.
3 files changed,
+3,
-3
+1,
-0
1@@ -0,0 +1 @@
2+/* empty */
+1,
-0
1@@ -0,0 +1 @@
2+/* empty */
+1,
-3
1@@ -7,16 +7,15 @@ cflags{
2 '-D __BEGIN_HIDDEN_DECLS=',
3 '-D __END_HIDDEN_DECLS=',
4 [[-D '__warn_references(sym,msg)=_Static_assert(1, "")']],
5+ '-I $dir',
6 '-I $srcdir/crypto/hidden',
7 '-I $srcdir/ssl/hidden',
8 '-I $srcdir/include',
9 '-I $srcdir/crypto',
10- '-I $srcdir/crypto/arch/amd64',
11 '-I $srcdir/crypto/aes',
12 '-I $srcdir/crypto/asn1',
13 '-I $srcdir/crypto/bio',
14 '-I $srcdir/crypto/bn',
15- '-I $srcdir/crypto/bn/arch/amd64',
16 '-I $srcdir/crypto/bytestring',
17 '-I $srcdir/crypto/conf',
18 '-I $srcdir/crypto/curve25519',
19@@ -121,7 +120,6 @@ lib('libcrypto.a', [[crypto/(
20 crypto_legacy.c
21 crypto_lock.c
22 crypto_memory.c
23- arch/amd64/crypto_cpu_caps.c
24 aes/(
25 aes.c
26 aes_core.c