From 247c98d9548fead121e5314727782a4694bc0de3 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 26 Jan 2025 16:21:13 +0100 Subject: Implement SHA256 acceleration on ARM64 platforms using CPU instructions --- src/Crypto/cpu.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Crypto/cpu.h') diff --git a/src/Crypto/cpu.h b/src/Crypto/cpu.h index 761258f2..cb34ad1f 100644 --- a/src/Crypto/cpu.h +++ b/src/Crypto/cpu.h @@ -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) } -- cgit v1.2.3