Fix build error of UEFI bootloader caused by latest changes that introduced ChaCha20 and T1HA algorithms and which are not present nor used in UEFI bootloader

This commit is contained in:
Mounir IDRASSI 2019-09-23 00:04:11 +02:00
parent 2410b69402
commit 6b10f88e40
No known key found for this signature in database
GPG Key ID: 02C30AE90FAE4A6F
2 changed files with 3 additions and 1 deletions

View File

@ -1217,7 +1217,7 @@ BOOL IsHwEncryptionEnabled ()
#endif // !TC_WINDOWS_BOOT
#ifndef TC_WINDOWS_BOOT
#if !defined (TC_WINDOWS_BOOT) && !defined (_UEFI)
static BOOL CpuRngDisabled = TRUE;
static BOOL RamEncryptionEnabled = FALSE;

View File

@ -208,10 +208,12 @@ typedef struct
# include "GostCipher.h"
# include "kuznyechik.h"
# include "Camellia.h"
#if !defined (_UEFI)
# include "chachaRng.h"
# ifdef _WIN64
# include "t1ha.h"
# endif
#endif
#else
# include "CamelliaSmall.h"
#endif