aboutsummaryrefslogtreecommitdiff
path: root/include/arch/loongarch64
diff options
context:
space:
mode:
Diffstat (limited to 'include/arch/loongarch64')
-rw-r--r--include/arch/loongarch64/opensslconf.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/arch/loongarch64/opensslconf.h b/include/arch/loongarch64/opensslconf.h
new file mode 100644
index 0000000..868066c
--- /dev/null
+++ b/include/arch/loongarch64/opensslconf.h
@@ -0,0 +1,23 @@
1#include <openssl/opensslfeatures.h>
2
3#undef OPENSSL_EXPORT_VAR_AS_FUNCTION
4
5#ifndef OPENSSL_FILE
6#ifdef OPENSSL_NO_FILENAMES
7#define OPENSSL_FILE ""
8#define OPENSSL_LINE 0
9#else
10#define OPENSSL_FILE __FILE__
11#define OPENSSL_LINE __LINE__
12#endif
13#endif
14
15#if defined(HEADER_RC4_H)
16#if !defined(RC4_CHUNK)
17/*
18 * This enables code handling data aligned at natural CPU word
19 * boundary. See crypto/rc4/rc4_enc.c for further details.
20 */
21#define RC4_CHUNK unsigned long
22#endif
23#endif