Lines Matching refs:b
19 ld1 {v0.16b}, [x0] /* load mac */
22 eor v1.16b, v1.16b, v1.16b
26 ins v1.b[0], w7
27 ext v1.16b, v1.16b, v1.16b, #1 /* rotate in the input bytes */
29 cbnz w3, 0b
30 eor v0.16b, v0.16b, v1.16b
38 mov v5.16b, v3.16b
39 b 4f
40 2: mov v4.16b, v3.16b
42 3: aese v0.16b, v4.16b
43 aesmc v0.16b, v0.16b
45 aese v0.16b, v5.16b
46 aesmc v0.16b, v0.16b
49 aese v0.16b, v3.16b
50 aesmc v0.16b, v0.16b
52 bpl 3b
53 aese v0.16b, v4.16b
55 eor v0.16b, v0.16b, v5.16b /* final round */
57 ld1 {v1.16b}, [x1], #16 /* load next input block */
58 eor v0.16b, v0.16b, v1.16b /* xor with mac */
59 bne 1b
60 6: st1 {v0.16b}, [x0] /* store mac */
66 umov w6, v0.b[0]
71 ext v0.16b, v0.16b, v0.16b, #1 /* rotate out the mac bytes */
72 b 7b
76 9: ext v1.16b, v1.16b, v1.16b, #1
78 bne 9b
79 91: eor v0.16b, v0.16b, v1.16b
80 st1 {v0.16b}, [x0]
91 ld1 {v0.16b}, [x0] /* load mac */
94 ld1 {v1.16b}, [x1] /* load 1st ctriv */
97 mov v5.16b, v3.16b
98 b 2f
99 0: mov v4.16b, v3.16b
101 aese v0.16b, v4.16b
102 aesmc v0.16b, v0.16b
103 aese v1.16b, v4.16b
104 aesmc v1.16b, v1.16b
106 aese v0.16b, v5.16b
107 aesmc v0.16b, v0.16b
108 aese v1.16b, v5.16b
109 aesmc v1.16b, v1.16b
112 aese v0.16b, v3.16b
113 aesmc v0.16b, v0.16b
114 aese v1.16b, v3.16b
115 aesmc v1.16b, v1.16b
116 bpl 1b
117 aese v0.16b, v4.16b
118 aese v1.16b, v4.16b
120 eor v0.16b, v0.16b, v1.16b /* en-/decrypt the mac */
121 st1 {v0.16b}, [x0] /* store result */
128 ld1 {v0.16b}, [x5] /* load mac */
131 ld1 {v1.8b}, [x6] /* load upper ctr */
142 mov v5.16b, v3.16b
143 b 3f
144 1: mov v4.16b, v3.16b
147 aese v0.16b, v4.16b
148 aesmc v0.16b, v0.16b
149 aese v1.16b, v4.16b
150 aesmc v1.16b, v1.16b
152 aese v0.16b, v5.16b
153 aesmc v0.16b, v0.16b
154 aese v1.16b, v5.16b
155 aesmc v1.16b, v1.16b
158 aese v0.16b, v3.16b
159 aesmc v0.16b, v0.16b
160 aese v1.16b, v3.16b
161 aesmc v1.16b, v1.16b
163 bpl 2b
164 aese v0.16b, v4.16b
165 aese v1.16b, v4.16b
168 ld1 {v2.16b}, [x1], #16 /* load next input block */
170 eor v2.16b, v2.16b, v5.16b /* final round enc+mac */
171 eor v1.16b, v1.16b, v2.16b /* xor with crypted ctr */
173 eor v2.16b, v2.16b, v1.16b /* xor with crypted ctr */
174 eor v1.16b, v2.16b, v5.16b /* final round enc */
176 eor v0.16b, v0.16b, v2.16b /* xor mac with pt ^ rk[last] */
177 st1 {v1.16b}, [x0], #16 /* write output block */
178 bne 0b
180 st1 {v0.16b}, [x5] /* store mac */
184 6: eor v0.16b, v0.16b, v5.16b /* final round mac */
185 eor v1.16b, v1.16b, v5.16b /* final round enc */
186 st1 {v0.16b}, [x5] /* store mac */
189 umov w6, v1.b[0] /* get top crypted ctr byte */
190 umov w7, v0.b[0] /* get top mac byte */
201 beq 5b
202 ext v0.16b, v0.16b, v0.16b, #1 /* shift out mac byte */
203 ext v1.16b, v1.16b, v1.16b, #1 /* shift out ctr byte */
204 b 7b