Lines Matching +full:- +full:2
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * sha512-ce-core.S - core SHA-384/SHA-512 transform using v8 Crypto Extensions
8 * it under the terms of the GNU General Public License version 2 as
17 * assemblers both consider the SHA-512 instructions to be part of the
20 * versions.) "sha3" doesn't make a lot of sense, since SHA-512 is part
21 * of the SHA-2 family of algorithms, and also the Arm Architecture
25 .arch armv8-a+sha3
28 * The SHA-512 round constants
76 ld1 {v\rc1\().2d}, [x4], #16
78 add v5.2d, v\rc0\().2d, v\in0\().2d
82 add v\i3\().2d, v\i3\().2d, v5.2d
85 sha512su0 v\in0\().2d, v\in1\().2d
87 sha512h q\i3, q6, v7.2d
89 sha512su1 v\in0\().2d, v\in2\().2d, v5.2d
91 add v\i4\().2d, v\i1\().2d, v\i3\().2d
92 sha512h2 q\i3, q\i1, v\i0\().2d
102 ld1 {v8.2d-v11.2d}, [x0]
106 ld1 {v20.2d-v23.2d}, [x3], #64
109 0: ld1 {v12.2d-v15.2d}, [x1], #64
110 ld1 {v16.2d-v19.2d}, [x1], #64
129 // v0 ab cd -- ef gh ab
130 // v1 cd -- ef gh ab cd
131 // v2 ef gh ab cd -- ef
132 // v3 gh ab cd -- ef gh
133 // v4 -- ef gh ab cd --
135 dround 0, 1, 2, 3, 4, 20, 24, 12, 13, 19, 16, 17
136 dround 3, 0, 4, 2, 1, 21, 25, 13, 14, 12, 17, 18
137 dround 2, 3, 1, 4, 0, 22, 26, 14, 15, 13, 18, 19
138 dround 4, 2, 0, 1, 3, 23, 27, 15, 16, 14, 19, 12
139 dround 1, 4, 3, 0, 2, 24, 28, 16, 17, 15, 12, 13
141 dround 0, 1, 2, 3, 4, 25, 29, 17, 18, 16, 13, 14
142 dround 3, 0, 4, 2, 1, 26, 30, 18, 19, 17, 14, 15
143 dround 2, 3, 1, 4, 0, 27, 31, 19, 12, 18, 15, 16
144 dround 4, 2, 0, 1, 3, 28, 24, 12, 13, 19, 16, 17
145 dround 1, 4, 3, 0, 2, 29, 25, 13, 14, 12, 17, 18
147 dround 0, 1, 2, 3, 4, 30, 26, 14, 15, 13, 18, 19
148 dround 3, 0, 4, 2, 1, 31, 27, 15, 16, 14, 19, 12
149 dround 2, 3, 1, 4, 0, 24, 28, 16, 17, 15, 12, 13
150 dround 4, 2, 0, 1, 3, 25, 29, 17, 18, 16, 13, 14
151 dround 1, 4, 3, 0, 2, 26, 30, 18, 19, 17, 14, 15
153 dround 0, 1, 2, 3, 4, 27, 31, 19, 12, 18, 15, 16
154 dround 3, 0, 4, 2, 1, 28, 24, 12, 13, 19, 16, 17
155 dround 2, 3, 1, 4, 0, 29, 25, 13, 14, 12, 17, 18
156 dround 4, 2, 0, 1, 3, 30, 26, 14, 15, 13, 18, 19
157 dround 1, 4, 3, 0, 2, 31, 27, 15, 16, 14, 19, 12
159 dround 0, 1, 2, 3, 4, 24, 28, 16, 17, 15, 12, 13
160 dround 3, 0, 4, 2, 1, 25, 29, 17, 18, 16, 13, 14
161 dround 2, 3, 1, 4, 0, 26, 30, 18, 19, 17, 14, 15
162 dround 4, 2, 0, 1, 3, 27, 31, 19, 12, 18, 15, 16
163 dround 1, 4, 3, 0, 2, 28, 24, 12, 13, 19, 16, 17
165 dround 0, 1, 2, 3, 4, 29, 25, 13, 14, 12, 17, 18
166 dround 3, 0, 4, 2, 1, 30, 26, 14, 15, 13, 18, 19
167 dround 2, 3, 1, 4, 0, 31, 27, 15, 16, 14, 19, 12
168 dround 4, 2, 0, 1, 3, 24, 28, 16, 17, 15, 12, 13
169 dround 1, 4, 3, 0, 2, 25, 29, 17, 18, 16, 13, 14
171 dround 0, 1, 2, 3, 4, 26, 30, 18, 19, 17, 14, 15
172 dround 3, 0, 4, 2, 1, 27, 31, 19, 12, 18, 15, 16
173 dround 2, 3, 1, 4, 0, 28, 24, 12
174 dround 4, 2, 0, 1, 3, 29, 25, 13
175 dround 1, 4, 3, 0, 2, 30, 26, 14
177 dround 0, 1, 2, 3, 4, 31, 27, 15
178 dround 3, 0, 4, 2, 1, 24, , 16
179 dround 2, 3, 1, 4, 0, 25, , 17
180 dround 4, 2, 0, 1, 3, 26, , 18
181 dround 1, 4, 3, 0, 2, 27, , 19
184 add v8.2d, v8.2d, v0.2d
185 add v9.2d, v9.2d, v1.2d
186 add v10.2d, v10.2d, v2.2d
187 add v11.2d, v11.2d, v3.2d
194 3: st1 {v8.2d-v11.2d}, [x0]