From: Mark Wooding Date: Sat, 23 Jun 2018 03:17:13 +0000 (+0100) Subject: symm/rijndael-arm-crypto.S: Use `vmov' rather than `veor' to zero-init. X-Git-Tag: 2.4.3~20 X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/commitdiff_plain/62bb18d7b2fec62977a8e5f60bddfe1869e03021 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. --- 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