Lines Matching +full:3 +full:- +full:4
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * sha512-ce-core.S - core SHA-384/SHA-512 transform using v8 Crypto Extensions
15 .irp b,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19
37 * The SHA-512 round constants
40 .align 4
111 ld1 {v8.2d-v11.2d}, [x0]
113 /* load first 4 round constants */
115 ld1 {v20.2d-v23.2d}, [x3], #64
118 0: ld1 {v12.2d-v15.2d}, [x1], #64
119 ld1 {v16.2d-v19.2d}, [x1], #64
138 // v0 ab cd -- ef gh ab
139 // v1 cd -- ef gh ab cd
140 // v2 ef gh ab cd -- ef
141 // v3 gh ab cd -- ef gh
142 // v4 -- ef gh ab cd --
144 dround 0, 1, 2, 3, 4, 20, 24, 12, 13, 19, 16, 17
145 dround 3, 0, 4, 2, 1, 21, 25, 13, 14, 12, 17, 18
146 dround 2, 3, 1, 4, 0, 22, 26, 14, 15, 13, 18, 19
147 dround 4, 2, 0, 1, 3, 23, 27, 15, 16, 14, 19, 12
148 dround 1, 4, 3, 0, 2, 24, 28, 16, 17, 15, 12, 13
150 dround 0, 1, 2, 3, 4, 25, 29, 17, 18, 16, 13, 14
151 dround 3, 0, 4, 2, 1, 26, 30, 18, 19, 17, 14, 15
152 dround 2, 3, 1, 4, 0, 27, 31, 19, 12, 18, 15, 16
153 dround 4, 2, 0, 1, 3, 28, 24, 12, 13, 19, 16, 17
154 dround 1, 4, 3, 0, 2, 29, 25, 13, 14, 12, 17, 18
156 dround 0, 1, 2, 3, 4, 30, 26, 14, 15, 13, 18, 19
157 dround 3, 0, 4, 2, 1, 31, 27, 15, 16, 14, 19, 12
158 dround 2, 3, 1, 4, 0, 24, 28, 16, 17, 15, 12, 13
159 dround 4, 2, 0, 1, 3, 25, 29, 17, 18, 16, 13, 14
160 dround 1, 4, 3, 0, 2, 26, 30, 18, 19, 17, 14, 15
162 dround 0, 1, 2, 3, 4, 27, 31, 19, 12, 18, 15, 16
163 dround 3, 0, 4, 2, 1, 28, 24, 12, 13, 19, 16, 17
164 dround 2, 3, 1, 4, 0, 29, 25, 13, 14, 12, 17, 18
165 dround 4, 2, 0, 1, 3, 30, 26, 14, 15, 13, 18, 19
166 dround 1, 4, 3, 0, 2, 31, 27, 15, 16, 14, 19, 12
168 dround 0, 1, 2, 3, 4, 24, 28, 16, 17, 15, 12, 13
169 dround 3, 0, 4, 2, 1, 25, 29, 17, 18, 16, 13, 14
170 dround 2, 3, 1, 4, 0, 26, 30, 18, 19, 17, 14, 15
171 dround 4, 2, 0, 1, 3, 27, 31, 19, 12, 18, 15, 16
172 dround 1, 4, 3, 0, 2, 28, 24, 12, 13, 19, 16, 17
174 dround 0, 1, 2, 3, 4, 29, 25, 13, 14, 12, 17, 18
175 dround 3, 0, 4, 2, 1, 30, 26, 14, 15, 13, 18, 19
176 dround 2, 3, 1, 4, 0, 31, 27, 15, 16, 14, 19, 12
177 dround 4, 2, 0, 1, 3, 24, 28, 16, 17, 15, 12, 13
178 dround 1, 4, 3, 0, 2, 25, 29, 17, 18, 16, 13, 14
180 dround 0, 1, 2, 3, 4, 26, 30, 18, 19, 17, 14, 15
181 dround 3, 0, 4, 2, 1, 27, 31, 19, 12, 18, 15, 16
182 dround 2, 3, 1, 4, 0, 28, 24, 12
183 dround 4, 2, 0, 1, 3, 29, 25, 13
184 dround 1, 4, 3, 0, 2, 30, 26, 14
186 dround 0, 1, 2, 3, 4, 31, 27, 15
187 dround 3, 0, 4, 2, 1, 24, , 16
188 dround 2, 3, 1, 4, 0, 25, , 17
189 dround 4, 2, 0, 1, 3, 26, , 18
190 dround 1, 4, 3, 0, 2, 27, , 19
198 cond_yield 3f, x4, x5
203 3: st1 {v8.2d-v11.2d}, [x0]