mirror of https://github.com/acidanthera/audk.git
CryptoPkg: Increase ScratchMemory buffer for openssl 3.0.15
Openssl 3.0.15 has a larger memory footprint. Updating from EDK 2022.2 (openssl 1.1.j) to 2024.2 (openssl 3.0.15) causes our EFI provisioning application[1] to fail due to an out of memory condition. On inspection, at the time of that fault, 2022.2 had an additional 900 pages. This is why this patch proposes the increase of the ScratchMemory buffer by that same ammount. [1] https://git.kernel.org/pub/scm/linux/kernel/git/jejb/efitools.git Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io>
This commit is contained in:
parent
95d8a1c255
commit
ccbe6f5030
|
@ -33,7 +33,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||||
#define RT_PAGE_FREE 0x00000000
|
#define RT_PAGE_FREE 0x00000000
|
||||||
#define RT_PAGE_USED 0x00000001
|
#define RT_PAGE_USED 0x00000001
|
||||||
|
|
||||||
#define MIN_REQUIRED_BLOCKS 600
|
#define MIN_REQUIRED_BLOCKS 1100
|
||||||
|
|
||||||
//
|
//
|
||||||
// Memory Page Table
|
// Memory Page Table
|
||||||
|
|
Loading…
Reference in New Issue