From 62bb18d7b2fec62977a8e5f60bddfe1869e03021 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sat, 23 Jun 2018 04:17:13 +0100 Subject: [PATCH] symm/rijndael-arm-crypto.S: Use `vmov' rather than `veor' to zero-init. I think I'd be doing too much x86 coding when I came to do this. --- symm/rijndael-arm-crypto.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symm/rijndael-arm-crypto.S b/symm/rijndael-arm-crypto.S index cbd60c8d..8a5484c8 100644 --- a/symm/rijndael-arm-crypto.S +++ b/symm/rijndael-arm-crypto.S @@ -104,7 +104,7 @@ FUNC(rijndael_setup_arm_crypto) mla r2, r1, r7, r1 // total key size in words leaextq r5, rijndael_rcon // round constants sub r8, r2, r3 // minus what we've copied already - veor q1, q1 // all-zero register for the key + vmov.i32 q1, #0 // all-zero register for the key add r8, r9, r8, lsl #2 // limit of the key buffer mov r12, #0 // position in current cycle -- 2.11.0