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:
Jorge Ramirez-Ortiz 2024-10-31 15:12:04 +01:00 committed by mergify[bot]
parent 95d8a1c255
commit ccbe6f5030
1 changed files with 1 additions and 1 deletions

View File

@ -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