aboutsummaryrefslogtreecommitdiff
path: root/project/src/crypto/ssl-asm.h
diff options
context:
space:
mode:
authorroot <root@dc13.lemmi>2020-07-21 10:00:46 +0200
committerroot <root@dc13.lemmi>2020-07-21 10:00:46 +0200
commit1192c4575ea7afdf38e3fa0df4587a08620af11e (patch)
tree6910a62487c282d0840d2e668aa7eb40b7c8a3fd /project/src/crypto/ssl-asm.h
parent76de8a89f7c1d1b4522eb66e8f89d248e8c1781f (diff)
SZS v2.18a
Diffstat (limited to 'project/src/crypto/ssl-asm.h')
-rw-r--r--project/src/crypto/ssl-asm.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/project/src/crypto/ssl-asm.h b/project/src/crypto/ssl-asm.h
new file mode 100644
index 0000000..aef71db
--- /dev/null
+++ b/project/src/crypto/ssl-asm.h
@@ -0,0 +1,56 @@
+
+/***************************************************************************
+ * _______ _______ _______ *
+ * | ___ |____ | ___ | *
+ * | | |_| / /| | |_| *
+ * | |_____ / / | |_____ *
+ * |_____ | / / |_____ | *
+ * _ | | / / _ | | *
+ * | |___| |/ /____| |___| | *
+ * |_______|_______|_______| *
+ * *
+ * Wiimms SZS Tools *
+ * https://szs.wiimm.de/ *
+ * *
+ ***************************************************************************
+ * *
+ * This file is part of the SZS project. *
+ * Visit https://szs.wiimm.de/ for project details and sources. *
+ * *
+ * Copyright (c) 2011-2020 by Dirk Clemens <wiimm@wiimm.de> *
+ * *
+ ***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * See file gpl-2.0.txt or http://www.gnu.org/licenses/gpl-2.0.txt *
+ * *
+ ***************************************************************************/
+
+#ifdef __CYGWIN__
+ #define SHA1_ASM
+ #ifdef WIIMM_INCLUDE_SSL_ASM
+ #include "sha1-586-cygwin.s"
+ #endif
+#elif defined(__linux__)
+ #if defined(__i386__)
+ #define SHA1_ASM
+ #ifdef WIIMM_INCLUDE_SSL_ASM
+ #include "sha1-586-elf.s"
+ #endif
+ #elif defined(__x86_64__)
+ #define SHA1_ASM
+ #ifdef WIIMM_INCLUDE_SSL_ASM
+ #include "sha1-x86_64.s"
+ #endif
+ #endif
+#endif
+