-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
41 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
## @file | ||
# MSSB Application | ||
# | ||
# Copyright (c) 2024, Pete Batard <[email protected]> | ||
# Copyright (c) 2024-2025, Pete Batard <[email protected]> | ||
# | ||
# SPDX-License-Identifier: GPL-3.0-or-later | ||
# | ||
|
@@ -12,7 +12,7 @@ | |
PLATFORM_GUID = 8F782584-E305-4360-B11B-A92C6380D1D6 | ||
PLATFORM_VERSION = 1.0 | ||
DSC_SPECIFICATION = 0x00010005 | ||
SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64|RISCV64 | ||
SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64|RISCV64|LOONGARCH64 | ||
OUTPUT_DIRECTORY = Build | ||
BUILD_TARGETS = DEBUG|RELEASE|NOOPT | ||
SKUID_IDENTIFIER = DEFAULT | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
From 16f95d56d81712f763728b20290ca7ba7434590f Mon Sep 17 00:00:00 2001 | ||
From: Pete Batard <[email protected]> | ||
Date: Wed, 29 Jan 2025 11:21:24 +0000 | ||
Subject: [PATCH] OpenSSL submodule fixes for LOONGARCH64 compilation | ||
|
||
* left shift was generating references to __ashlti3 which we don't have. | ||
--- | ||
crypto/ec/curve448/f_generic.c | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/crypto/ec/curve448/f_generic.c b/crypto/ec/curve448/f_generic.c | ||
index 4c571810d3..3084d82319 100644 | ||
--- a/crypto/ec/curve448/f_generic.c | ||
+++ b/crypto/ec/curve448/f_generic.c | ||
@@ -80,7 +80,7 @@ mask_t gf_deserialize(gf x, const uint8_t serial[SER_BYTES], int with_hibit, | ||
sj = serial[j]; | ||
if (j == nbytes - 1) | ||
sj &= ~hi_nmask; | ||
- buffer |= ((dword_t) sj) << fill; | ||
+ ((uint8_t*)&buffer)[j] = sj; | ||
fill += 8; | ||
j++; | ||
} | ||
-- | ||
2.45.2.windows.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters