Skip to content

Commit

Permalink
arm: require aes feature
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Aug 5, 2023
1 parent 934d7e4 commit 1ed562a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/aegis128l/aegis128l_armcrypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
#include "aegis128l_armcrypto.h"

#ifdef __clang__
#pragma clang attribute push(__attribute__((target("neon,crypto"))), apply_to = function)
#pragma clang attribute push(__attribute__((target("neon,crypto,aes"))), apply_to = function)
#elif defined(__GNUC__)
#pragma GCC target("neon,crypto")
#pragma GCC target("neon,crypto,aes")
#endif

#include <arm_neon.h>
Expand Down
4 changes: 2 additions & 2 deletions src/aegis256/aegis256_armcrypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
#include "aegis256_armcrypto.h"

#ifdef __clang__
#pragma clang attribute push(__attribute__((target("neon,crypto"))), apply_to = function)
#pragma clang attribute push(__attribute__((target("neon,crypto,aes"))), apply_to = function)
#elif defined(__GNUC__)
#pragma GCC target("neon,crypto")
#pragma GCC target("neon,crypto,aes")
#endif

#include <arm_neon.h>
Expand Down

0 comments on commit 1ed562a

Please sign in to comment.