1+ From 9c18fe1eeef6ce09c027abaa5355efab449fce4c Mon Sep 17 00:00:00 2001
2+ From: wuruilong <wuruilong@loongson.cn>
3+ Date: Thu, 4 Jul 2024 12:32:15 +0000
4+ Subject: [PATCH] Add support for loongarch
5+
6+ ---
7+ crypto/fipsmodule/rand/getrandom_fillin.h | 2 ++
8+ include/openssl/target.h | 3 +++
9+ 2 files changed, 5 insertions(+)
10+
111diff --git a/crypto/fipsmodule/rand/getrandom_fillin.h b/crypto/fipsmodule/rand/getrandom_fillin.h
2- index 7c2b62e93487b772990fddc1905f22d4cfaee4a4..9c18fe1eeef6ce09c027abaa5355efab449fce4c 100644
12+ index 0f290e9637..3eac6d2f8f 100644
313--- a/crypto/fipsmodule/rand/getrandom_fillin.h
414+++ b/crypto/fipsmodule/rand/getrandom_fillin.h
515@@ -30,6 +30,8 @@
@@ -11,9 +21,8 @@ index 7c2b62e93487b772990fddc1905f22d4cfaee4a4..9c18fe1eeef6ce09c027abaa5355efab
1121 #elif defined(OPENSSL_RISCV64)
1222 #define EXPECTED_NR_getrandom 278
1323 #endif
14-
15- diff --git a/include/openssl/target.h b/include/openssl/target.h
16- index 7c2b62e93487b772990fddc1905f22d4cfaee4a4..9c18fe1eeef6ce09c027abaa5355efab449fce4c 100644
24+ diff --git a/include/openssl/target.h b/include/openssl/target.h
25+ index 2760f52ce8..bc944d2b9c 100644
1726--- a/include/openssl/target.h
1827+++ b/include/openssl/target.h
1928@@ -34,6 +34,9 @@
@@ -26,4 +35,3 @@ index 7c2b62e93487b772990fddc1905f22d4cfaee4a4..9c18fe1eeef6ce09c027abaa5355efab
2635 #elif defined(__MIPSEL__) && !defined(__LP64__)
2736 #define OPENSSL_32_BIT
2837 #define OPENSSL_MIPS
29-
0 commit comments