Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #10902 from shuffle2/aes
Implement hw accelerated AES
  • Loading branch information
Tilka committed Aug 2, 2022
2 parents cc1cb44 + 46ad8b9 commit e62ceab
Show file tree
Hide file tree
Showing 13 changed files with 489 additions and 94 deletions.
6 changes: 6 additions & 0 deletions Source/Core/Common/CMakeLists.txt
Expand Up @@ -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}
Expand Down

0 comments on commit e62ceab

Please sign in to comment.