Lines Matching +full:v1 +full:- +full:v6
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * aes-ce-ccm-core.S - AES-CCM transform for ARMv8 with Crypto Extensions
5 * Copyright (C) 2013 - 2017 Linaro Ltd.
15 .arch armv8-a+crypto
20 ld1 {v10.4s-v13.4s}, [\rk]
21 ld1 {v14.4s-v17.4s}, [\tmp], #64
22 ld1 {v18.4s-v21.4s}, [\tmp], #64
23 ld1 {v3.4s-v5.4s}, [\tmp]
55 ld1 {v1.8b}, [x6] /* load upper ctr */
59 ins v1.d[1], x9 /* no carry in lower ctr */
61 aes_encrypt v0, v1, w4
68 eor v6.16b, v1.16b, v2.16b /* xor with crypted ctr */
70 eor v2.16b, v2.16b, v1.16b /* xor with crypted ctr */
71 eor v6.16b, v2.16b, v5.16b /* final round enc */
74 st1 {v6.16b}, [x0], #16 /* write output block */
85 eor v1.16b, v1.16b, v5.16b /* final round enc */
93 ld1 {v7.16b-v8.16b}, [x9]
97 tbl v1.16b, {v1.16b}, v7.16b /* move keystream to end of register */
98 eor v7.16b, v2.16b, v1.16b /* encrypt partial input block */
100 tbx v7.16b, {v6.16b}, v8.16b /* insert output from previous iteration */
108 ld1 {v1.16b}, [x7] /* load 1st ctriv */
110 aes_encrypt v0, v1, w4
113 eor v0.16b, v0.16b, v1.16b /* en-/decrypt the mac */