1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 11:08:02 -06:00

Implement SHA256 acceleration on ARM64 platforms using CPU instructions

This commit is contained in:
Mounir IDRASSI
2025-01-26 16:21:13 +01:00
parent 5ff256a53d
commit 247c98d954
12 changed files with 267 additions and 0 deletions

View File

@@ -298,9 +298,11 @@ extern "C" {
#endif
extern volatile int g_hasAESARM;
extern volatile int g_hasSHA256ARM;
void DetectArmFeatures();
#define HasAESNI() g_hasAESARM
#define HasSHA256() g_hasSHA256ARM
#if defined(__cplusplus)
}