aboutsummaryrefslogtreecommitdiff
path: root/crypto/arch
diff options
context:
space:
mode:
authorIvan A. Melnikov <iv@altlinux.org>2025-04-10 17:09:19 +0400
committerIvan A. Melnikov <iv@altlinux.org>2025-04-10 17:22:36 +0400
commit031c2f1722f9af10299de3d22ff3c1467d541241 (patch)
tree133fe82cb89fb529da105e88ae2bc9dd1a289c37 /crypto/arch
parent16db162e6c571138f0bb2f87bf225ba46baef1bb (diff)
downloadportable-031c2f1722f9af10299de3d22ff3c1467d541241.tar.gz
portable-031c2f1722f9af10299de3d22ff3c1467d541241.tar.bz2
portable-031c2f1722f9af10299de3d22ff3c1467d541241.zip
Basic loongarch64 support
Just wire things up to make the project buildable on LoongArch64. opensslconf.h is taken form riscv64 folder as is, and is the same as on some other 64 bit architectures. Refs: https://github.com/libressl/portable/issues/1123 Signed-off-by: Ivan A. Melnikov <iv@altlinux.org>
Diffstat (limited to 'crypto/arch')
-rw-r--r--crypto/arch/loongarch64/crypto_arch.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/crypto/arch/loongarch64/crypto_arch.h b/crypto/arch/loongarch64/crypto_arch.h
new file mode 100644
index 0000000..a3dd98d
--- /dev/null
+++ b/crypto/arch/loongarch64/crypto_arch.h
@@ -0,0 +1,21 @@
1/* $OpenBSD: crypto_arch.h,v 1.1 2024/08/11 13:02:39 jsing Exp $ */
2/*
3 * Copyright (c) 2024 Joel Sing <jsing@openbsd.org>
4 *
5 * Permission to use, copy, modify, and distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *
9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 */
17
18#ifndef HEADER_CRYPTO_ARCH_H
19#define HEADER_CRYPTO_ARCH_H
20
21#endif