summaryrefslogtreecommitdiff
path: root/TestPrograms/test_arm_sm4.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2022-02-13 18:21:54 -0500
committerJeffrey Walton <noloader@gmail.com>2022-02-13 18:21:54 -0500
commit5baf6c536491080d4e84a472943c0b37e576ae25 (patch)
treed30512741d1b03ee227d29e176dba688bb745621 /TestPrograms/test_arm_sm4.cpp
parent296258dea81df079f626ca1871f170916fb7d1a1 (diff)
downloadcryptopp-git-5baf6c536491080d4e84a472943c0b37e576ae25.tar.gz
Fix SM3 and SM4 test programs
Diffstat (limited to 'TestPrograms/test_arm_sm4.cpp')
-rw-r--r--TestPrograms/test_arm_sm4.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TestPrograms/test_arm_sm4.cpp b/TestPrograms/test_arm_sm4.cpp
index d11a0092..81641266 100644
--- a/TestPrograms/test_arm_sm4.cpp
+++ b/TestPrograms/test_arm_sm4.cpp
@@ -7,7 +7,7 @@ int main(int argc, char* argv[])
{
// SM4 block cipher
// https://developer.arm.com/architectures/instruction-sets/simd-isas/neon/intrinsics?search=SM4
- uint32x4_t x, y={1}, z={2};
+ uint32x4_t x={0}, y={1}, z={2};
x=vsm4ekeyq_u32(y,z);
x=vsm4eq_u32(y,z);