X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/df07f2c0e49fedbddf12149e986b6ea8626dc311..bd6d65e32b835551677456bf286d09ced6859882:/symm/rijndael-arm64-crypto.S diff --git a/symm/rijndael-arm64-crypto.S b/symm/rijndael-arm64-crypto.S index f2d3f459..98f61734 100644 --- a/symm/rijndael-arm64-crypto.S +++ b/symm/rijndael-arm64-crypto.S @@ -110,7 +110,7 @@ FUNC(rijndael_setup_arm64_crypto) // the byte substitution. dup v0.4s, w14 aese v0.16b, v1.16b // effectively, just SubBytes - mov w14, v0.4s[0] + mov w14, v0.s[0] b 2f // First word of the cycle. Byte substitution, rotation, and round @@ -118,7 +118,7 @@ FUNC(rijndael_setup_arm64_crypto) 1: ldrb w13, [x5], #1 // next round constant dup v0.4s, w14 aese v0.16b, v1.16b // effectively, just SubBytes - mov w14, v0.4s[0] + mov w14, v0.s[0] eor w14, w13, w14, ror #8 // Common ending: mix in the word from the previous cycle and store.