Implement hw accelerated AES

This commit is contained in:
Shawn Hoffman
2022-07-27 01:51:19 -07:00
parent fb45ed3981
commit 46ad8b9d68
13 changed files with 488 additions and 93 deletions

View File

@ -136,6 +136,12 @@ add_library(common
WorkQueueThread.h
)
if(NOT MSVC AND _M_ARM_64)
set_source_files_properties(
Crypto/AES.cpp
PROPERTIES COMPILE_FLAGS "-march=armv8-a+crypto")
endif()
target_link_libraries(common
PUBLIC
${CMAKE_THREAD_LIBS_INIT}