Lines Matching +full:64 +full:- +full:byte
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * SM4-CCM AEAD Algorithm using ARMv8 Crypto Extensions
13 #include "sm4-ce-asm.h"
15 .arch armv8-a+crypto
57 ld1 {v0.16b-v3.16b}, [x2], #64
100 /* en-/decrypt the mac with ctr0 */
137 ld1 {v0.16b-v3.16b}, [x2], #64
152 st1 {v8.16b-v11.16b}, [x1], #64
187 ldrb w0, [x2], #1 /* get 1 byte from input */
188 umov w9, v8.b[0] /* get top crypted CTR byte */
189 umov w6, RMAC.b[0] /* get top MAC byte */
194 strb w9, [x1], #1 /* store out byte */
195 strb w6, [x5], #1 /* store MAC byte */
200 /* shift out one byte */
249 ld1 {v0.16b-v3.16b}, [x2], #64
264 st1 {v8.16b-v11.16b}, [x1], #64
299 ldrb w0, [x2], #1 /* get 1 byte from input */
300 umov w9, v8.b[0] /* get top crypted CTR byte */
301 umov w6, RMAC.b[0] /* get top MAC byte */
306 strb w9, [x1], #1 /* store out byte */
307 strb w6, [x5], #1 /* store MAC byte */
312 /* shift out one byte */