summaryrefslogtreecommitdiff
path: root/TestPrograms/test_arm_sm4.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TestPrograms/test_arm_sm4.cpp')
-rw-r--r--TestPrograms/test_arm_sm4.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/TestPrograms/test_arm_sm4.cpp b/TestPrograms/test_arm_sm4.cpp
index 3a618512..8c427cda 100644
--- a/TestPrograms/test_arm_sm4.cpp
+++ b/TestPrograms/test_arm_sm4.cpp
@@ -2,15 +2,13 @@
#ifdef CRYPTOPP_ARM_NEON_HEADER
# include <arm_neon.h>
#endif
-#ifdef CRYPTOPP_ARM_ACLE_HEADER
-# include <arm_acle.h>
-#endif
int main(int argc, char* argv[])
{
// SM4 block cipher
- uint32x4_t x;
- x=vsm4ekeyq_u32(x,x);
- x=vsm4eq_u32(x,x);
+ uint32x4_t x, y={1}, z={2};
+ x=vsm4ekeyq_u32(y,z);
+ x=vsm4eq_u32(y,z);
+
return 0;
}