VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Crypto.h
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2019-09-23 00:04:11 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-09-23 00:07:15 +0200
commit6b10f88e40715db2edcb5b3e5d7bfadf412849d3 (patch)
treeaefb60cf435e222f6efeceaf7f721ff91a95d69b /src/Common/Crypto.h
parent2410b694029225a7d2a075e4a5adbcbc69bec165 (diff)
downloadVeraCrypt-6b10f88e40715db2edcb5b3e5d7bfadf412849d3.tar.gz
VeraCrypt-6b10f88e40715db2edcb5b3e5d7bfadf412849d3.zip
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
Diffstat (limited to 'src/Common/Crypto.h')
-rw-r--r--src/Common/Crypto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Common/Crypto.h b/src/Common/Crypto.h
index 600fee92..a31152f2 100644
--- a/src/Common/Crypto.h
+++ b/src/Common/Crypto.h
@@ -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