Lines Matching refs:in0
117 .macro sub_bytes_2x, in0, in1
118 sub v8.16b, \in0\().16b, v12.16b
120 tbl \in0\().16b, {v16.16b-v19.16b}, \in0\().16b
124 tbx \in0\().16b, {v20.16b-v23.16b}, v8.16b
128 tbx \in0\().16b, {v24.16b-v27.16b}, v10.16b
130 tbx \in0\().16b, {v28.16b-v31.16b}, v8.16b
134 .macro sub_bytes_4x, in0, in1, in2, in3
135 sub v8.16b, \in0\().16b, v12.16b
136 tbl \in0\().16b, {v16.16b-v19.16b}, \in0\().16b
143 tbx \in0\().16b, {v20.16b-v23.16b}, v8.16b
150 tbx \in0\().16b, {v24.16b-v27.16b}, v8.16b
158 tbx \in0\().16b, {v28.16b-v31.16b}, v8.16b
165 .macro mul_by_x_2x, out0, out1, in0, in1, tmp0, tmp1, const
166 sshr \tmp0\().16b, \in0\().16b, #7
167 add \out0\().16b, \in0\().16b, \in0\().16b
176 .macro mix_columns_2x, in0, in1
177 mul_by_x_2x v8, v9, \in0, \in1, v10, v11, v14
178 rev32 v10.8h, \in0\().8h
180 eor \in0\().16b, v8.16b, \in0\().16b
186 shl v10.4s, \in0\().4s, #24
190 sri v10.4s, \in0\().4s, #8
191 eor \in0\().16b, v8.16b, v12.16b
194 eor \in0\().16b, v10.16b, \in0\().16b
198 .macro inv_mix_cols_2x, in0, in1
199 mul_by_x_2x v8, v9, \in0, \in1, v10, v11, v14
201 eor \in0\().16b, \in0\().16b, v8.16b
205 eor \in0\().16b, \in0\().16b, v8.16b
207 mix_columns_2x \in0, \in1
210 .macro inv_mix_cols_4x, in0, in1, in2, in3
211 mul_by_x_2x v8, v9, \in0, \in1, v10, v11, v14
215 eor \in0\().16b, \in0\().16b, v8.16b
223 eor \in0\().16b, \in0\().16b, v8.16b
227 mix_columns_2x \in0, \in1
231 .macro do_block_2x, enc, in0, in1 rounds, rk, rkp, i
235 1111: eor \in0\().16b, \in0\().16b, v15.16b /* ^round key */
237 sub_bytes_2x \in0, \in1
238 tbl \in0\().16b, {\in0\().16b}, v13.16b /* ShiftRows */
244 mix_columns_2x \in0, \in1
247 inv_mix_cols_2x \in0, \in1
252 2222: eor \in0\().16b, \in0\().16b, v15.16b /* ^round key */
256 .macro do_block_4x, enc, in0, in1, in2, in3, rounds, rk, rkp, i
260 1111: eor \in0\().16b, \in0\().16b, v15.16b /* ^round key */
264 sub_bytes_4x \in0, \in1, \in2, \in3
265 tbl \in0\().16b, {\in0\().16b}, v13.16b /* ShiftRows */
273 mix_columns_2x \in0, \in1
277 inv_mix_cols_4x \in0, \in1, \in2, \in3
282 2222: eor \in0\().16b, \in0\().16b, v15.16b /* ^round key */
288 .macro encrypt_block2x, in0, in1, rounds, rk, rkp, i
289 do_block_2x 1, \in0, \in1, \rounds, \rk, \rkp, \i
292 .macro decrypt_block2x, in0, in1, rounds, rk, rkp, i
293 do_block_2x 0, \in0, \in1, \rounds, \rk, \rkp, \i
296 .macro encrypt_block4x, in0, in1, in2, in3, rounds, rk, rkp, i
297 do_block_4x 1, \in0, \in1, \in2, \in3, \rounds, \rk, \rkp, \i
300 .macro decrypt_block4x, in0, in1, in2, in3, rounds, rk, rkp, i
301 do_block_4x 0, \in0, \in1, \in2, \in3, \rounds, \rk, \rkp, \i