1 | /* Copyright (c) (2021-2023) Apple Inc. All rights reserved. |
2 | * |
3 | * corecrypto is licensed under Apple Inc.’s Internal Use License Agreement (which |
4 | * is contained in the License.txt file distributed with corecrypto) and only to |
5 | * people who accept that license. IMPORTANT: Any license rights granted to you by |
6 | * Apple Inc. (if any) are limited to internal use within your organization only on |
7 | * devices and computers you own or control, for the sole purpose of verifying the |
8 | * security characteristics and correct functioning of the Apple Software. You may |
9 | * not, directly or indirectly, redistribute the Apple Software or any portions thereof. |
10 | * |
11 | * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ |
12 | * |
13 | * This file contains Original Code and/or Modifications of Original Code |
14 | * as defined in and that are subject to the Apple Public Source License |
15 | * Version 2.0 (the 'License'). You may not use this file except in |
16 | * compliance with the License. The rights granted to you under the License |
17 | * may not be used to create, or enable the creation or redistribution of, |
18 | * unlawful or unlicensed copies of an Apple operating system, or to |
19 | * circumvent, violate, or enable the circumvention or violation of, any |
20 | * terms of an Apple operating system software license agreement. |
21 | * |
22 | * Please obtain a copy of the License at |
23 | * http://www.opensource.apple.com/apsl/ and read it before using this file. |
24 | * |
25 | * The Original Code and all software distributed under the License are |
26 | * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER |
27 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, |
28 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, |
29 | * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. |
30 | * Please see the License for the specific language governing rights and |
31 | * limitations under the License. |
32 | * |
33 | * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ |
34 | */ |
35 | |
36 | // This file is auto-generated. Please don't modify it. |
37 | CC_INLINE cc_size CCBFV_CIPHERTEXT_MOD_SWITCH_DOWN_TO_SINGLE_WORKSPACE_N(cc_size n); |
38 | |
39 | // This file is auto-generated. Please don't modify it. |
40 | CC_INLINE cc_size CCBFV_CIPHERTEXT_MOD_SWITCH_DOWN_WORKSPACE_N(cc_size n); |
41 | |
42 | // This file is auto-generated. Please don't modify it. |
43 | CC_INLINE cc_size CCBFV_DCRT_PLAINTEXT_ENCODE_WORKSPACE_N(cc_size n); |
44 | |
45 | // This file is auto-generated. Please don't modify it. |
46 | CC_INLINE cc_size CCBFV_DECRYPT_CTX_INIT_WORKSPACE_N(cc_size n); |
47 | |
48 | // This file is auto-generated. Please don't modify it. |
49 | CC_INLINE cc_size CCBFV_DESERIALIZE_CIPHERTEXT_COEFF_WORKSPACE_N(cc_size n); |
50 | |
51 | // This file is auto-generated. Please don't modify it. |
52 | CC_INLINE cc_size CCBFV_DESERIALIZE_CIPHERTEXT_EVAL_WORKSPACE_N(cc_size n); |
53 | |
54 | // This file is auto-generated. Please don't modify it. |
55 | CC_INLINE cc_size CCBFV_DESERIALIZE_SEEDED_CIPHERTEXT_COEFF_WORKSPACE_N(cc_size n); |
56 | |
57 | // This file is auto-generated. Please don't modify it. |
58 | CC_INLINE cc_size CCBFV_GALOIS_KEY_LOAD_SINGLE_WORKSPACE_N(cc_size n); |
59 | |
60 | // This file is auto-generated. Please don't modify it. |
61 | CC_INLINE cc_size CCBFV_GALOIS_KEY_LOAD_WORKSPACE_N(cc_size n); |
62 | |
63 | // This file is auto-generated. Please don't modify it. |
64 | CC_INLINE cc_size CCBFV_GALOIS_KEY_SAVE_WORKSPACE_N(cc_size n); |
65 | |
66 | // This file is auto-generated. Please don't modify it. |
67 | CC_INLINE cc_size CCBFV_PARAM_CTX_INIT_WORKSPACE_N(cc_size n); |
68 | |
69 | // This file is auto-generated. Please don't modify it. |
70 | CC_INLINE cc_size CCBFV_RELIN_KEY_LOAD_WORKSPACE_N(cc_size n); |
71 | |
72 | // This file is auto-generated. Please don't modify it. |
73 | CC_INLINE cc_size CCBFV_RELIN_KEY_SAVE_WORKSPACE_N(cc_size n); |
74 | |
75 | // This file is auto-generated. Please don't modify it. |
76 | CC_INLINE cc_size CCBFV_SECRET_KEY_GENERATE_FROM_SEED_WORKSPACE_N(cc_size n); |
77 | |
78 | // This file is auto-generated. Please don't modify it. |
79 | CC_INLINE cc_size CCBFV_SECRET_KEY_GENERATE_WORKSPACE_N(cc_size n); |
80 | |
81 | // This file is auto-generated. Please don't modify it. |
82 | CC_INLINE cc_size CCBFV_SERIALIZE_CIPHERTEXT_COEFF_WORKSPACE_N(cc_size n); |
83 | |
84 | // This file is auto-generated. Please don't modify it. |
85 | CC_INLINE cc_size CCBFV_SERIALIZE_CIPHERTEXT_EVAL_WORKSPACE_N(cc_size n); |
86 | |
87 | // This file is auto-generated. Please don't modify it. |
88 | CC_INLINE cc_size CCBFV_SERIALIZE_SEEDED_CIPHERTEXT_COEFF_WORKSPACE_N(cc_size n); |
89 | |
90 | // This file is auto-generated. Please don't modify it. |
91 | CC_INLINE cc_size CCBFV_SERIALIZE_SEEDED_CIPHERTEXT_EVAL_WORKSPACE_N(cc_size n); |
92 | |
93 | // This file is auto-generated. Please don't modify it. |
94 | CC_INLINE cc_size CCCKG_CONTRIBUTOR_FINISH_WORKSPACE_N(cc_size n); |
95 | |
96 | // This file is auto-generated. Please don't modify it. |
97 | CC_INLINE cc_size CCCKG_OWNER_GENERATE_SHARE_WORKSPACE_N(cc_size n); |
98 | |
99 | // This file is auto-generated. Please don't modify it. |
100 | CC_INLINE cc_size CCCURVE25519_INTERNAL_WORKSPACE_N(cc_size n); |
101 | |
102 | // This file is auto-generated. Please don't modify it. |
103 | CC_INLINE cc_size CCCURVE448_WORKSPACE_N(cc_size n); |
104 | |
105 | // This file is auto-generated. Please don't modify it. |
106 | CC_INLINE cc_size CCDER_DECODE_RSA_PRIV_WORKSPACE_N(cc_size n); |
107 | |
108 | // This file is auto-generated. Please don't modify it. |
109 | CC_INLINE cc_size CCDH_CHECK_PUB_WORKSPACE_N(cc_size n); |
110 | |
111 | // This file is auto-generated. Please don't modify it. |
112 | CC_INLINE cc_size CCDH_COMPUTE_SHARED_SECRET_WORKSPACE_N(cc_size n); |
113 | |
114 | // This file is auto-generated. Please don't modify it. |
115 | CC_INLINE cc_size CCDH_GENERATE_KEY_WORKSPACE_N(cc_size n); |
116 | |
117 | // This file is auto-generated. Please don't modify it. |
118 | CC_INLINE cc_size CCDH_GENERATE_PRIVATE_KEY_WORKSPACE_N(cc_size n); |
119 | |
120 | // This file is auto-generated. Please don't modify it. |
121 | CC_INLINE cc_size CCDH_IMPORT_PRIV_WORKSPACE_N(cc_size n); |
122 | |
123 | // This file is auto-generated. Please don't modify it. |
124 | CC_INLINE cc_size CCDH_INIT_GP_FROM_BYTES_WORKSPACE_N(cc_size n); |
125 | |
126 | // This file is auto-generated. Please don't modify it. |
127 | CC_INLINE cc_size CCDH_IS_SAFE_PRIME_GROUP_WORKSPACE_N(cc_size n); |
128 | |
129 | // This file is auto-generated. Please don't modify it. |
130 | CC_INLINE cc_size CCDH_PAIRWISE_CONSISTENCY_CHECK_WORKSPACE_N(cc_size n); |
131 | |
132 | // This file is auto-generated. Please don't modify it. |
133 | CC_INLINE cc_size CCEC25519_ADD_OPT_WORKSPACE_N(cc_size n); |
134 | |
135 | // This file is auto-generated. Please don't modify it. |
136 | CC_INLINE cc_size CCEC25519_ADD_WORKSPACE_N(cc_size n); |
137 | |
138 | // This file is auto-generated. Please don't modify it. |
139 | CC_INLINE cc_size CCEC25519_FROM_WORKSPACE_N(cc_size n); |
140 | |
141 | // This file is auto-generated. Please don't modify it. |
142 | CC_INLINE cc_size CCEC25519_INV_WORKSPACE_N(cc_size n); |
143 | |
144 | // This file is auto-generated. Please don't modify it. |
145 | CC_INLINE cc_size CCEC25519_MUL121666_WORKSPACE_N(cc_size n); |
146 | |
147 | // This file is auto-generated. Please don't modify it. |
148 | CC_INLINE cc_size CCEC25519_MUL_OPT_WORKSPACE_N(cc_size n); |
149 | |
150 | // This file is auto-generated. Please don't modify it. |
151 | CC_INLINE cc_size CCEC25519_MUL_WORKSPACE_N(cc_size n); |
152 | |
153 | // This file is auto-generated. Please don't modify it. |
154 | CC_INLINE cc_size CCEC25519_REDC_WORKSPACE_N(cc_size n); |
155 | |
156 | // This file is auto-generated. Please don't modify it. |
157 | CC_INLINE cc_size CCEC25519_SQR_OPT_WORKSPACE_N(cc_size n); |
158 | |
159 | // This file is auto-generated. Please don't modify it. |
160 | CC_INLINE cc_size CCEC25519_SQR_WORKSPACE_N(cc_size n); |
161 | |
162 | // This file is auto-generated. Please don't modify it. |
163 | CC_INLINE cc_size CCEC25519_SUB_OPT_WORKSPACE_N(cc_size n); |
164 | |
165 | // This file is auto-generated. Please don't modify it. |
166 | CC_INLINE cc_size CCEC25519_SUB_WORKSPACE_N(cc_size n); |
167 | |
168 | // This file is auto-generated. Please don't modify it. |
169 | CC_INLINE cc_size CCEC448_ADD_WORKSPACE_N(cc_size n); |
170 | |
171 | // This file is auto-generated. Please don't modify it. |
172 | CC_INLINE cc_size CCEC448_FROM_WORKSPACE_N(cc_size n); |
173 | |
174 | // This file is auto-generated. Please don't modify it. |
175 | CC_INLINE cc_size CCEC448_INV_WORKSPACE_N(cc_size n); |
176 | |
177 | // This file is auto-generated. Please don't modify it. |
178 | CC_INLINE cc_size CCEC448_MUL_WORKSPACE_N(cc_size n); |
179 | |
180 | // This file is auto-generated. Please don't modify it. |
181 | CC_INLINE cc_size CCEC448_SQR_WORKSPACE_N(cc_size n); |
182 | |
183 | // This file is auto-generated. Please don't modify it. |
184 | CC_INLINE cc_size CCEC448_SUB_WORKSPACE_N(cc_size n); |
185 | |
186 | // This file is auto-generated. Please don't modify it. |
187 | CC_INLINE cc_size CCECDH_COMPUTE_SHARED_SECRET_WORKSPACE_N(cc_size n); |
188 | |
189 | // This file is auto-generated. Please don't modify it. |
190 | CC_INLINE cc_size CCECDH_FAST_COMPUTE_PUB_FROM_PRIV_WORKSPACE_N(cc_size n); |
191 | |
192 | // This file is auto-generated. Please don't modify it. |
193 | CC_INLINE cc_size CCECDH_FAST_COMPUTE_SHARED_SECRET_WORKSPACE_N(cc_size n); |
194 | |
195 | // This file is auto-generated. Please don't modify it. |
196 | CC_INLINE cc_size CCECDH_FAST_SCALAR_MULT_WORKSPACE_N(cc_size n); |
197 | |
198 | // This file is auto-generated. Please don't modify it. |
199 | CC_INLINE cc_size CCECDH_GENERATE_KEY_WORKSPACE_N(cc_size n); |
200 | |
201 | // This file is auto-generated. Please don't modify it. |
202 | CC_INLINE cc_size CCECDH_PAIRWISE_CONSISTENCY_CHECK_WORKSPACE_N(cc_size n); |
203 | |
204 | // This file is auto-generated. Please don't modify it. |
205 | CC_INLINE cc_size CCECDH_PCC_COMPUTE_PUB_FROM_PRIV_WORKSPACE_N(cc_size n); |
206 | |
207 | // This file is auto-generated. Please don't modify it. |
208 | CC_INLINE cc_size CCECDH_PCC_COMPUTE_SHARED_SECRET_WORKSPACE_N(cc_size n); |
209 | |
210 | // This file is auto-generated. Please don't modify it. |
211 | CC_INLINE cc_size CCECIES_DECRYPT_GCM_COMPOSITE_WORKSPACE_N(cc_size n); |
212 | |
213 | // This file is auto-generated. Please don't modify it. |
214 | CC_INLINE cc_size CCECIES_ENCRYPT_GCM_COMPOSITE_WORKSPACE_N(cc_size n); |
215 | |
216 | // This file is auto-generated. Please don't modify it. |
217 | CC_INLINE cc_size CCECIES_IMPORT_EPH_PUB_WORKSPACE_N(cc_size n); |
218 | |
219 | // This file is auto-generated. Please don't modify it. |
220 | CC_INLINE cc_size CCEC_ADD_WORKSPACE_N(cc_size n); |
221 | |
222 | // This file is auto-generated. Please don't modify it. |
223 | CC_INLINE cc_size CCEC_AFFINE_POINT_FROM_X_WORKSPACE_N(cc_size n); |
224 | |
225 | // This file is auto-generated. Please don't modify it. |
226 | CC_INLINE cc_size CCEC_AFFINIFY_HOMOGENEOUS_WORKSPACE_N(cc_size n); |
227 | |
228 | // This file is auto-generated. Please don't modify it. |
229 | CC_INLINE cc_size CCEC_AFFINIFY_JACOBIAN_WORKSPACE_N(cc_size n); |
230 | |
231 | // This file is auto-generated. Please don't modify it. |
232 | CC_INLINE cc_size CCEC_AFFINIFY_WORKSPACE_N(cc_size n); |
233 | |
234 | // This file is auto-generated. Please don't modify it. |
235 | CC_INLINE cc_size CCEC_AFFINIFY_X_ONLY_WORKSPACE_N(cc_size n); |
236 | |
237 | // This file is auto-generated. Please don't modify it. |
238 | CC_INLINE cc_size CCEC_BLINDING_OP_WORKSPACE_N(cc_size n); |
239 | |
240 | // This file is auto-generated. Please don't modify it. |
241 | CC_INLINE cc_size CCEC_COMPACT_GENERATE_KEY_CHECKSIGN_WORKSPACE_N(cc_size n); |
242 | |
243 | // This file is auto-generated. Please don't modify it. |
244 | CC_INLINE cc_size CCEC_COMPACT_GENERATE_KEY_CHECKVERIFY_AND_EXTRACT_WORKSPACE_N(cc_size n); |
245 | |
246 | // This file is auto-generated. Please don't modify it. |
247 | CC_INLINE cc_size CCEC_COMPACT_GENERATE_KEY_STEP_WORKSPACE_N(cc_size n); |
248 | |
249 | // This file is auto-generated. Please don't modify it. |
250 | CC_INLINE cc_size CCEC_COMPACT_GENERATE_KEY_WORKSPACE_N(cc_size n); |
251 | |
252 | // This file is auto-generated. Please don't modify it. |
253 | CC_INLINE cc_size CCEC_COMPACT_IMPORT_PUB_WORKSPACE_N(cc_size n); |
254 | |
255 | // This file is auto-generated. Please don't modify it. |
256 | CC_INLINE cc_size CCEC_COMPACT_TRANSFORM_KEY_WORKSPACE_N(cc_size n); |
257 | |
258 | // This file is auto-generated. Please don't modify it. |
259 | CC_INLINE cc_size CCEC_COMPRESSED_X962_IMPORT_PUB_WORKSPACE_N(cc_size n); |
260 | |
261 | // This file is auto-generated. Please don't modify it. |
262 | CC_INLINE cc_size CCEC_DER_EXPORT_DIVERSIFIED_PUB_WORKSPACE_N(cc_size n); |
263 | |
264 | // This file is auto-generated. Please don't modify it. |
265 | CC_INLINE cc_size CCEC_DER_EXPORT_PRIV_WORKSPACE_N(cc_size n); |
266 | |
267 | // This file is auto-generated. Please don't modify it. |
268 | CC_INLINE cc_size CCEC_DIVERSIFY_PRIV_TWIN_WORKSPACE_N(cc_size n); |
269 | |
270 | // This file is auto-generated. Please don't modify it. |
271 | CC_INLINE cc_size CCEC_DIVERSIFY_PUB_TWIN_WORKSPACE_N(cc_size n); |
272 | |
273 | // This file is auto-generated. Please don't modify it. |
274 | CC_INLINE cc_size CCEC_DIVERSIFY_PUB_WORKSPACE_N(cc_size n); |
275 | |
276 | // This file is auto-generated. Please don't modify it. |
277 | CC_INLINE cc_size CCEC_DIVERSIFY_TWIN_SCALARS_WORKSPACE_N(cc_size n); |
278 | |
279 | // This file is auto-generated. Please don't modify it. |
280 | CC_INLINE cc_size CCEC_DOUBLE_WORKSPACE_N(cc_size n); |
281 | |
282 | // This file is auto-generated. Please don't modify it. |
283 | CC_INLINE cc_size CCEC_EXTRACT_RS_WORKSPACE_N(cc_size n); |
284 | |
285 | // This file is auto-generated. Please don't modify it. |
286 | CC_INLINE cc_size CCEC_FULL_ADD_DEFAULT_WORKSPACE_N(cc_size n); |
287 | |
288 | // This file is auto-generated. Please don't modify it. |
289 | CC_INLINE cc_size CCEC_FULL_ADD_NORMALIZED_WORKSPACE_N(cc_size n); |
290 | |
291 | // This file is auto-generated. Please don't modify it. |
292 | CC_INLINE cc_size CCEC_FULL_ADD_WORKSPACE_N(cc_size n); |
293 | |
294 | // This file is auto-generated. Please don't modify it. |
295 | CC_INLINE cc_size CCEC_FULL_SUB_NORMALIZED_WORKSPACE_N(cc_size n); |
296 | |
297 | // This file is auto-generated. Please don't modify it. |
298 | CC_INLINE cc_size CCEC_FULL_SUB_WORKSPACE_N(cc_size n); |
299 | |
300 | // This file is auto-generated. Please don't modify it. |
301 | CC_INLINE cc_size CCEC_GENERATE_BLINDING_KEYS_WORKSPACE_N(cc_size n); |
302 | |
303 | // This file is auto-generated. Please don't modify it. |
304 | CC_INLINE cc_size CCEC_GENERATE_DIVERSIFIED_KEY_WORKSPACE_N(cc_size n); |
305 | |
306 | // This file is auto-generated. Please don't modify it. |
307 | CC_INLINE cc_size CCEC_GENERATE_KEY_DETERMINISTIC_WORKSPACE_N(cc_size n); |
308 | |
309 | // This file is auto-generated. Please don't modify it. |
310 | CC_INLINE cc_size CCEC_GENERATE_KEY_FIPS_WORKSPACE_N(cc_size n); |
311 | |
312 | // This file is auto-generated. Please don't modify it. |
313 | CC_INLINE cc_size CCEC_GENERATE_KEY_INTERNAL_FIPS_WORKSPACE_N(cc_size n); |
314 | |
315 | // This file is auto-generated. Please don't modify it. |
316 | CC_INLINE cc_size CCEC_GENERATE_KEY_INTERNAL_LEGACY_WORKSPACE_N(cc_size n); |
317 | |
318 | // This file is auto-generated. Please don't modify it. |
319 | CC_INLINE cc_size CCEC_GENERATE_SCALAR_FIPS_EXTRABITS_WORKSPACE_N(cc_size n); |
320 | |
321 | // This file is auto-generated. Please don't modify it. |
322 | CC_INLINE cc_size CCEC_GENERATE_SCALAR_FIPS_RETRY_WORKSPACE_N(cc_size n); |
323 | |
324 | // This file is auto-generated. Please don't modify it. |
325 | CC_INLINE cc_size CCEC_GENERATE_SCALAR_LEGACY_WORKSPACE_N(cc_size n); |
326 | |
327 | // This file is auto-generated. Please don't modify it. |
328 | CC_INLINE cc_size CCEC_IMPORT_AFFINE_POINT_WORKSPACE_N(cc_size n); |
329 | |
330 | // This file is auto-generated. Please don't modify it. |
331 | CC_INLINE cc_size CCEC_IMPORT_PUB_WORKSPACE_N(cc_size n); |
332 | |
333 | // This file is auto-generated. Please don't modify it. |
334 | CC_INLINE cc_size CCEC_IS_COMPACTABLE_POINT_WORKSPACE_N(cc_size n); |
335 | |
336 | // This file is auto-generated. Please don't modify it. |
337 | CC_INLINE cc_size CCEC_IS_POINT_PROJECTIVE_WORKSPACE_N(cc_size n); |
338 | |
339 | // This file is auto-generated. Please don't modify it. |
340 | CC_INLINE cc_size CCEC_IS_POINT_WORKSPACE_N(cc_size n); |
341 | |
342 | // This file is auto-generated. Please don't modify it. |
343 | CC_INLINE cc_size CCEC_MAKE_PUB_FROM_PRIV_WORKSPACE_N(cc_size n); |
344 | |
345 | // This file is auto-generated. Please don't modify it. |
346 | CC_INLINE cc_size CCEC_MULT_BLINDED_WORKSPACE_N(cc_size n); |
347 | |
348 | // This file is auto-generated. Please don't modify it. |
349 | CC_INLINE cc_size CCEC_MULT_DEFAULT_WORKSPACE_N(cc_size n); |
350 | |
351 | // This file is auto-generated. Please don't modify it. |
352 | CC_INLINE cc_size CCEC_MULT_INNER_WORKSPACE_N(cc_size n); |
353 | |
354 | // This file is auto-generated. Please don't modify it. |
355 | CC_INLINE cc_size CCEC_MULT_WORKSPACE_N(cc_size n); |
356 | |
357 | // This file is auto-generated. Please don't modify it. |
358 | CC_INLINE cc_size CCEC_MULT_XYCZADDC_WORKSPACE_N(cc_size n); |
359 | |
360 | // This file is auto-generated. Please don't modify it. |
361 | CC_INLINE cc_size CCEC_MULT_XYCZADD_WORKSPACE_N(cc_size n); |
362 | |
363 | // This file is auto-generated. Please don't modify it. |
364 | CC_INLINE cc_size CCEC_MULT_XYCZDBLJAC_WORKSPACE_N(cc_size n); |
365 | |
366 | // This file is auto-generated. Please don't modify it. |
367 | CC_INLINE cc_size CCEC_MULT_XYCZRECOVERCOEFFJAC_WORKSPACE_N(cc_size n); |
368 | |
369 | // This file is auto-generated. Please don't modify it. |
370 | CC_INLINE cc_size CCEC_PAIRWISE_CONSISTENCY_CHECK_WORKSPACE_N(cc_size n); |
371 | |
372 | // This file is auto-generated. Please don't modify it. |
373 | CC_INLINE cc_size CCEC_PRINT_PROJECTIVE_POINT_WORKSPACE_N(cc_size n); |
374 | |
375 | // This file is auto-generated. Please don't modify it. |
376 | CC_INLINE cc_size CCEC_PROJECTIFY_HOMOGENEOUS_WORKSPACE_N(cc_size n); |
377 | |
378 | // This file is auto-generated. Please don't modify it. |
379 | CC_INLINE cc_size CCEC_PROJECTIFY_JACOBIAN_WORKSPACE_N(cc_size n); |
380 | |
381 | // This file is auto-generated. Please don't modify it. |
382 | CC_INLINE cc_size CCEC_PROJECTIFY_WORKSPACE_N(cc_size n); |
383 | |
384 | // This file is auto-generated. Please don't modify it. |
385 | CC_INLINE cc_size CCEC_RFC6637_UNWRAP_KEY_WORKSPACE_N(cc_size n); |
386 | |
387 | // This file is auto-generated. Please don't modify it. |
388 | CC_INLINE cc_size CCEC_RFC6637_WRAP_CORE_WORKSPACE_N(cc_size n); |
389 | |
390 | // This file is auto-generated. Please don't modify it. |
391 | CC_INLINE cc_size CCEC_RFC6637_WRAP_KEY_DIVERSIFIED_WORKSPACE_N(cc_size n); |
392 | |
393 | // This file is auto-generated. Please don't modify it. |
394 | CC_INLINE cc_size CCEC_RFC6637_WRAP_KEY_WORKSPACE_N(cc_size n); |
395 | |
396 | // This file is auto-generated. Please don't modify it. |
397 | CC_INLINE cc_size CCEC_SIGN_COMPOSITE_WORKSPACE_N(cc_size n); |
398 | |
399 | // This file is auto-generated. Please don't modify it. |
400 | CC_INLINE cc_size CCEC_SIGN_INTERNAL_INNER_WORKSPACE_N(cc_size n); |
401 | |
402 | // This file is auto-generated. Please don't modify it. |
403 | CC_INLINE cc_size CCEC_SIGN_INTERNAL_WORKSPACE_N(cc_size n); |
404 | |
405 | // This file is auto-generated. Please don't modify it. |
406 | CC_INLINE cc_size CCEC_SIGN_MSG_WORKSPACE_N(cc_size n); |
407 | |
408 | // This file is auto-generated. Please don't modify it. |
409 | CC_INLINE cc_size CCEC_SIGN_WORKSPACE_N(cc_size n); |
410 | |
411 | // This file is auto-generated. Please don't modify it. |
412 | CC_INLINE cc_size CCEC_TWIN_MULT_NORMALIZE_WORKSPACE_N(cc_size n); |
413 | |
414 | // This file is auto-generated. Please don't modify it. |
415 | CC_INLINE cc_size CCEC_TWIN_MULT_WORKSPACE_N(cc_size n); |
416 | |
417 | // This file is auto-generated. Please don't modify it. |
418 | CC_INLINE cc_size CCEC_VALIDATE_POINT_AND_PROJECTIFY_WORKSPACE_N(cc_size n); |
419 | |
420 | // This file is auto-generated. Please don't modify it. |
421 | CC_INLINE cc_size CCEC_VALIDATE_PUB_WORKSPACE_N(cc_size n); |
422 | |
423 | // This file is auto-generated. Please don't modify it. |
424 | CC_INLINE cc_size CCEC_VERIFY_COMPOSITE_DIGEST_WORKSPACE_N(cc_size n); |
425 | |
426 | // This file is auto-generated. Please don't modify it. |
427 | CC_INLINE cc_size CCEC_VERIFY_COMPUTEMULTS_WORKSPACE_N(cc_size n); |
428 | |
429 | // This file is auto-generated. Please don't modify it. |
430 | CC_INLINE cc_size CCEC_VERIFY_DIGEST_WORKSPACE_N(cc_size n); |
431 | |
432 | // This file is auto-generated. Please don't modify it. |
433 | CC_INLINE cc_size CCEC_VERIFY_INTERNAL_WITH_BASE_WORKSPACE_N(cc_size n); |
434 | |
435 | // This file is auto-generated. Please don't modify it. |
436 | CC_INLINE cc_size CCEC_VERIFY_INTERNAL_WORKSPACE_N(cc_size n); |
437 | |
438 | // This file is auto-generated. Please don't modify it. |
439 | CC_INLINE cc_size CCEC_VERIFY_MSG_WORKSPACE_N(cc_size n); |
440 | |
441 | // This file is auto-generated. Please don't modify it. |
442 | CC_INLINE cc_size CCEC_VERIFY_SINGLEMULTS_WORKSPACE_N(cc_size n); |
443 | |
444 | // This file is auto-generated. Please don't modify it. |
445 | CC_INLINE cc_size CCEC_VERIFY_STRICT_WORKSPACE_N(cc_size n); |
446 | |
447 | // This file is auto-generated. Please don't modify it. |
448 | CC_INLINE cc_size CCEC_VERIFY_TWINMULT_WORKSPACE_N(cc_size n); |
449 | |
450 | // This file is auto-generated. Please don't modify it. |
451 | CC_INLINE cc_size CCEC_X963_IMPORT_PRIV_WORKSPACE_N(cc_size n); |
452 | |
453 | // This file is auto-generated. Please don't modify it. |
454 | CC_INLINE cc_size CCEC_X963_IMPORT_PUB_WORKSPACE_N(cc_size n); |
455 | |
456 | // This file is auto-generated. Please don't modify it. |
457 | CC_INLINE cc_size CCED25519_ADD_POINTS_UNIFIED_CACHED_WORKSPACE_N(cc_size n); |
458 | |
459 | // This file is auto-generated. Please don't modify it. |
460 | CC_INLINE cc_size CCED25519_ADD_POINTS_UNIFIED_WORKSPACE_N(cc_size n); |
461 | |
462 | // This file is auto-generated. Please don't modify it. |
463 | CC_INLINE cc_size CCED25519_ADD_PRECOMPUTED_POINT_WORKSPACE_N(cc_size n); |
464 | |
465 | // This file is auto-generated. Please don't modify it. |
466 | CC_INLINE cc_size CCED25519_DBL_POINT_WORKSPACE_N(cc_size n); |
467 | |
468 | // This file is auto-generated. Please don't modify it. |
469 | CC_INLINE cc_size CCED25519_DECODE_PUBLIC_AND_NEGATE_KEY_WORKSPACE_N(cc_size n); |
470 | |
471 | // This file is auto-generated. Please don't modify it. |
472 | CC_INLINE cc_size CCED25519_DOUBLE_SCALAR_MULT_WORKSPACE_N(cc_size n); |
473 | |
474 | // This file is auto-generated. Please don't modify it. |
475 | CC_INLINE cc_size CCED25519_FROM_ED25519_POINT_WORKSPACE_N(cc_size n); |
476 | |
477 | // This file is auto-generated. Please don't modify it. |
478 | CC_INLINE cc_size CCED25519_FULL_ADD_WORKSPACE_N(cc_size n); |
479 | |
480 | // This file is auto-generated. Please don't modify it. |
481 | CC_INLINE cc_size CCED25519_HASH_TO_SCALAR_WORKSPACE_N(cc_size n); |
482 | |
483 | // This file is auto-generated. Please don't modify it. |
484 | CC_INLINE cc_size CCED25519_POINT_TO_CACHED_WORKSPACE_N(cc_size n); |
485 | |
486 | // This file is auto-generated. Please don't modify it. |
487 | CC_INLINE cc_size CCED25519_SCALAR_MULT_WORKSPACE_N(cc_size n); |
488 | |
489 | // This file is auto-generated. Please don't modify it. |
490 | CC_INLINE cc_size CCED25519_TO_ED25519_POINT_WORKSPACE_N(cc_size n); |
491 | |
492 | // This file is auto-generated. Please don't modify it. |
493 | CC_INLINE cc_size CCED25519_VERIFY_WORKSPACE_N(cc_size n); |
494 | |
495 | // This file is auto-generated. Please don't modify it. |
496 | CC_INLINE cc_size CCED448_ADD_POINTS_UNIFIED_CACHED_WORKSPACE_N(cc_size n); |
497 | |
498 | // This file is auto-generated. Please don't modify it. |
499 | CC_INLINE cc_size CCED448_ADD_POINTS_UNIFIED_WORKSPACE_N(cc_size n); |
500 | |
501 | // This file is auto-generated. Please don't modify it. |
502 | CC_INLINE cc_size CCED448_ADD_POINTS_WORKSPACE_N(cc_size n); |
503 | |
504 | // This file is auto-generated. Please don't modify it. |
505 | CC_INLINE cc_size CCED448_ADD_PRECOMPUTED_POINT_WORKSPACE_N(cc_size n); |
506 | |
507 | // This file is auto-generated. Please don't modify it. |
508 | CC_INLINE cc_size CCED448_DBL_POINT_WORKSPACE_N(cc_size n); |
509 | |
510 | // This file is auto-generated. Please don't modify it. |
511 | CC_INLINE cc_size CCED448_DECODE_PUBLIC_KEY_AND_NEGATE_WORKSPACE_N(cc_size n); |
512 | |
513 | // This file is auto-generated. Please don't modify it. |
514 | CC_INLINE cc_size CCED448_DOUBLE_SCALAR_MULT_WORKSPACE_N(cc_size n); |
515 | |
516 | // This file is auto-generated. Please don't modify it. |
517 | CC_INLINE cc_size CCED448_FROM_ED448_POINT_WORKSPACE_N(cc_size n); |
518 | |
519 | // This file is auto-generated. Please don't modify it. |
520 | CC_INLINE cc_size CCED448_FULL_ADD_WORKSPACE_N(cc_size n); |
521 | |
522 | // This file is auto-generated. Please don't modify it. |
523 | CC_INLINE cc_size CCED448_MAKE_PUB_WORKSPACE_N(cc_size n); |
524 | |
525 | // This file is auto-generated. Please don't modify it. |
526 | CC_INLINE cc_size CCED448_POINT_TO_CACHED_WORKSPACE_N(cc_size n); |
527 | |
528 | // This file is auto-generated. Please don't modify it. |
529 | CC_INLINE cc_size CCED448_SCALAR_MULT_BASE_MASKED_WORKSPACE_N(cc_size n); |
530 | |
531 | // This file is auto-generated. Please don't modify it. |
532 | CC_INLINE cc_size CCED448_SCALAR_MULT_WORKSPACE_N(cc_size n); |
533 | |
534 | // This file is auto-generated. Please don't modify it. |
535 | CC_INLINE cc_size CCED448_SHAKE_TO_SCALAR_WORKSPACE_N(cc_size n); |
536 | |
537 | // This file is auto-generated. Please don't modify it. |
538 | CC_INLINE cc_size CCED448_SIGN_WORKSPACE_N(cc_size n); |
539 | |
540 | // This file is auto-generated. Please don't modify it. |
541 | CC_INLINE cc_size CCED448_TO_ED448_POINT_WORKSPACE_N(cc_size n); |
542 | |
543 | // This file is auto-generated. Please don't modify it. |
544 | CC_INLINE cc_size CCED448_VERIFY_WORKSPACE_N(cc_size n); |
545 | |
546 | // This file is auto-generated. Please don't modify it. |
547 | CC_INLINE cc_size CCH2C_CCZP_INV0_WORKSPACE_N(cc_size n); |
548 | |
549 | // This file is auto-generated. Please don't modify it. |
550 | CC_INLINE cc_size CCH2C_ENCODE_TO_CURVE_RO_WORKSPACE_N(cc_size n); |
551 | |
552 | // This file is auto-generated. Please don't modify it. |
553 | CC_INLINE cc_size CCH2C_ENCODE_TO_CURVE_WORKSPACE_N(cc_size n); |
554 | |
555 | // This file is auto-generated. Please don't modify it. |
556 | CC_INLINE cc_size CCH2C_HASH_TO_BASE_RFC_WORKSPACE_N(cc_size n); |
557 | |
558 | // This file is auto-generated. Please don't modify it. |
559 | CC_INLINE cc_size CCH2C_HASH_TO_BASE_SAE_WORKSPACE_N(cc_size n); |
560 | |
561 | // This file is auto-generated. Please don't modify it. |
562 | CC_INLINE cc_size CCH2C_HASH_TO_BASE_WORKSPACE_N(cc_size n); |
563 | |
564 | // This file is auto-generated. Please don't modify it. |
565 | CC_INLINE cc_size CCH2C_MAP_TO_CURVE_SSWU_WORKSPACE_N(cc_size n); |
566 | |
567 | // This file is auto-generated. Please don't modify it. |
568 | CC_INLINE cc_size CCH2C_MAP_TO_CURVE_WORKSPACE_N(cc_size n); |
569 | |
570 | // This file is auto-generated. Please don't modify it. |
571 | CC_INLINE cc_size CCH2C_WORKSPACE_N(cc_size n); |
572 | |
573 | // This file is auto-generated. Please don't modify it. |
574 | CC_INLINE cc_size CCN_ADD1_WORKSPACE_N(cc_size n); |
575 | |
576 | // This file is auto-generated. Please don't modify it. |
577 | CC_INLINE cc_size CCN_ADD_WORKSPACE_N(cc_size n); |
578 | |
579 | // This file is auto-generated. Please don't modify it. |
580 | CC_INLINE cc_size CCN_DIVMOD_WORKSPACE_N(cc_size n); |
581 | |
582 | // This file is auto-generated. Please don't modify it. |
583 | CC_INLINE cc_size CCN_DIV_EXACT_WORKSPACE_N(cc_size n); |
584 | |
585 | // This file is auto-generated. Please don't modify it. |
586 | CC_INLINE cc_size CCN_GCD_UPDATE_WORKSPACE_N(cc_size n); |
587 | |
588 | // This file is auto-generated. Please don't modify it. |
589 | CC_INLINE cc_size CCN_GCD_WORKSPACE_N(cc_size n); |
590 | |
591 | // This file is auto-generated. Please don't modify it. |
592 | CC_INLINE cc_size CCN_INVMOD_WORKSPACE_N(cc_size n); |
593 | |
594 | // This file is auto-generated. Please don't modify it. |
595 | CC_INLINE cc_size CCN_LCM_WORKSPACE_N(cc_size n); |
596 | |
597 | // This file is auto-generated. Please don't modify it. |
598 | CC_INLINE cc_size CCN_MOD_192_WORKSPACE_N(cc_size n); |
599 | |
600 | // This file is auto-generated. Please don't modify it. |
601 | CC_INLINE cc_size CCN_MOD_521_WORKSPACE_N(cc_size n); |
602 | |
603 | // This file is auto-generated. Please don't modify it. |
604 | CC_INLINE cc_size CCN_MUL_WORKSPACE_N(cc_size n); |
605 | |
606 | // This file is auto-generated. Please don't modify it. |
607 | CC_INLINE cc_size CCN_P224_FROM_WORKSPACE_N(cc_size n); |
608 | |
609 | // This file is auto-generated. Please don't modify it. |
610 | CC_INLINE cc_size CCN_P224_MUL_WORKSPACE_N(cc_size n); |
611 | |
612 | // This file is auto-generated. Please don't modify it. |
613 | CC_INLINE cc_size CCN_P224_REDC_WORKSPACE_N(cc_size n); |
614 | |
615 | // This file is auto-generated. Please don't modify it. |
616 | CC_INLINE cc_size CCN_P224_SQRT_WORKSPACE_N(cc_size n); |
617 | |
618 | // This file is auto-generated. Please don't modify it. |
619 | CC_INLINE cc_size CCN_P224_SQR_WORKSPACE_N(cc_size n); |
620 | |
621 | // This file is auto-generated. Please don't modify it. |
622 | CC_INLINE cc_size CCN_P224_TO_WORKSPACE_N(cc_size n); |
623 | |
624 | // This file is auto-generated. Please don't modify it. |
625 | CC_INLINE cc_size CCN_P256_FROM_WORKSPACE_N(cc_size n); |
626 | |
627 | // This file is auto-generated. Please don't modify it. |
628 | CC_INLINE cc_size CCN_P256_MUL_WORKSPACE_N(cc_size n); |
629 | |
630 | // This file is auto-generated. Please don't modify it. |
631 | CC_INLINE cc_size CCN_P256_REDC_WORKSPACE_N(cc_size n); |
632 | |
633 | // This file is auto-generated. Please don't modify it. |
634 | CC_INLINE cc_size CCN_P256_SQR_WORKSPACE_N(cc_size n); |
635 | |
636 | // This file is auto-generated. Please don't modify it. |
637 | CC_INLINE cc_size CCN_P256_TO_WORKSPACE_N(cc_size n); |
638 | |
639 | // This file is auto-generated. Please don't modify it. |
640 | CC_INLINE cc_size CCN_P384_FROM_WORKSPACE_N(cc_size n); |
641 | |
642 | // This file is auto-generated. Please don't modify it. |
643 | CC_INLINE cc_size CCN_P384_MUL_WORKSPACE_N(cc_size n); |
644 | |
645 | // This file is auto-generated. Please don't modify it. |
646 | CC_INLINE cc_size CCN_P384_REDC_WORKSPACE_N(cc_size n); |
647 | |
648 | // This file is auto-generated. Please don't modify it. |
649 | CC_INLINE cc_size CCN_P384_SQR_WORKSPACE_N(cc_size n); |
650 | |
651 | // This file is auto-generated. Please don't modify it. |
652 | CC_INLINE cc_size CCN_P384_TO_WORKSPACE_N(cc_size n); |
653 | |
654 | // This file is auto-generated. Please don't modify it. |
655 | CC_INLINE cc_size CCN_SUB_WORKSPACE_N(cc_size n); |
656 | |
657 | // This file is auto-generated. Please don't modify it. |
658 | CC_INLINE cc_size CCPOLYZP_PO2CYC_BASE_CONVERT_INIT_INV_PUNC_PROD_WORKSPACE_N(cc_size n); |
659 | |
660 | // This file is auto-generated. Please don't modify it. |
661 | CC_INLINE cc_size CCPOLYZP_PO2CYC_BASE_CONVERT_POLY_WORKSPACE_N(cc_size n); |
662 | |
663 | // This file is auto-generated. Please don't modify it. |
664 | CC_INLINE cc_size CCPOLYZP_PO2CYC_BASE_CONVERT_Q_INV_MOD_T_WORKSPACE_N(cc_size n); |
665 | |
666 | // This file is auto-generated. Please don't modify it. |
667 | CC_INLINE cc_size CCPOLYZP_PO2CYC_COEFF_SCALAR_MUL_WORKSPACE_N(cc_size n); |
668 | |
669 | // This file is auto-generated. Please don't modify it. |
670 | CC_INLINE cc_size CCPOLYZP_PO2CYC_CTX_CHAIN_INIT_WORKSPACE_N(cc_size n); |
671 | |
672 | // This file is auto-generated. Please don't modify it. |
673 | CC_INLINE cc_size CCPOLYZP_PO2CYC_CTX_INIT_NTT_WORKSPACE_N(cc_size n); |
674 | |
675 | // This file is auto-generated. Please don't modify it. |
676 | CC_INLINE cc_size CCPOLYZP_PO2CYC_DIVIDE_AND_ROUND_Q_LAST_WORKSPACE_N(cc_size n); |
677 | |
678 | // This file is auto-generated. Please don't modify it. |
679 | CC_INLINE cc_size CCPOLYZP_PO2CYC_EVAL_SCALAR_MUL_WORKSPACE_N(cc_size n); |
680 | |
681 | // This file is auto-generated. Please don't modify it. |
682 | CC_INLINE cc_size CCPOLYZP_PO2CYC_GEN_PRIMITIVE_ROOT_WORKSPACE_N(cc_size n); |
683 | |
684 | // This file is auto-generated. Please don't modify it. |
685 | CC_INLINE cc_size CCPOLYZP_PO2CYC_IS_PRIMITIVE_ROOT_WORKSPACE_N(cc_size n); |
686 | |
687 | // This file is auto-generated. Please don't modify it. |
688 | CC_INLINE cc_size CCPOLYZP_PO2CYC_MIN_PRIMITIVE_ROOT_WORKSPACE_N(cc_size n); |
689 | |
690 | // This file is auto-generated. Please don't modify it. |
691 | CC_INLINE cc_size CCPOLYZP_PO2CYC_MODULUS_TO_CCZP_WORKSPACE_N(cc_size n); |
692 | |
693 | // This file is auto-generated. Please don't modify it. |
694 | CC_INLINE cc_size CCPOLYZP_PO2CYC_SCALAR_DIVMOD_WORKSPACE_N(cc_size n); |
695 | |
696 | // This file is auto-generated. Please don't modify it. |
697 | CC_INLINE cc_size CCPRIME_PICK_RANDOM_BASE_WORKSPACE_N(cc_size n); |
698 | |
699 | // This file is auto-generated. Please don't modify it. |
700 | CC_INLINE cc_size CCPRIME_RABIN_MILLER_INIT_WORKSPACE_N(cc_size n); |
701 | |
702 | // This file is auto-generated. Please don't modify it. |
703 | CC_INLINE cc_size CCPRIME_RABIN_MILLER_ITERATION_WORKSPACE_N(cc_size n); |
704 | |
705 | // This file is auto-generated. Please don't modify it. |
706 | CC_INLINE cc_size CCPRIME_RABIN_MILLER_WORKSPACE_N(cc_size n); |
707 | |
708 | // This file is auto-generated. Please don't modify it. |
709 | CC_INLINE cc_size CCRNS_MODULUS_COMPUTE_MOD_FACTOR_VAR_TIME_WORKSPACE_N(cc_size n); |
710 | |
711 | // This file is auto-generated. Please don't modify it. |
712 | CC_INLINE cc_size CCRNS_MODULUS_COMPUTE_MOD_FACTOR_WORKSPACE_N(cc_size n); |
713 | |
714 | // This file is auto-generated. Please don't modify it. |
715 | CC_INLINE cc_size CCRNS_MODULUS_INIT_HELPER_WORKSPACE_N(cc_size n); |
716 | |
717 | // This file is auto-generated. Please don't modify it. |
718 | CC_INLINE cc_size CCRNS_MODULUS_INIT_VAR_TIME_WORKSPACE_N(cc_size n); |
719 | |
720 | // This file is auto-generated. Please don't modify it. |
721 | CC_INLINE cc_size CCRNS_MODULUS_INIT_WORKSPACE_N(cc_size n); |
722 | |
723 | // This file is auto-generated. Please don't modify it. |
724 | CC_INLINE cc_size CCRNS_MUL_MODULUS_INIT_VAR_TIME_WORKSPACE_N(cc_size n); |
725 | |
726 | // This file is auto-generated. Please don't modify it. |
727 | CC_INLINE cc_size CCRNS_MUL_MODULUS_INIT_WORKSPACE_N(cc_size n); |
728 | |
729 | // This file is auto-generated. Please don't modify it. |
730 | CC_INLINE cc_size CCRSABSSA_BLIND_MESSAGE_WORKSPACE_N(cc_size n); |
731 | |
732 | // This file is auto-generated. Please don't modify it. |
733 | CC_INLINE cc_size CCRSABSSA_SIGN_BLINDED_MESSAGE_WORKSPACE_N(cc_size n); |
734 | |
735 | // This file is auto-generated. Please don't modify it. |
736 | CC_INLINE cc_size CCRSABSSA_UNBLIND_SIGNATURE_WORKSPACE_N(cc_size n); |
737 | |
738 | // This file is auto-generated. Please don't modify it. |
739 | CC_INLINE cc_size CCRSABSSA_VERIFY_SIGNATURE_WORKSPACE_N(cc_size n); |
740 | |
741 | // This file is auto-generated. Please don't modify it. |
742 | CC_INLINE cc_size CCRSA_CHECK_DELTA_100BITS_WORKSPACE_N(cc_size n); |
743 | |
744 | // This file is auto-generated. Please don't modify it. |
745 | CC_INLINE cc_size CCRSA_COMPUTE_R_WORKSPACE_N(cc_size n); |
746 | |
747 | // This file is auto-generated. Please don't modify it. |
748 | CC_INLINE cc_size CCRSA_CRT_MAKEKEY_WORKSPACE_N(cc_size n); |
749 | |
750 | // This file is auto-generated. Please don't modify it. |
751 | CC_INLINE cc_size CCRSA_CRT_MAKE_FIPS186_KEY_WORKSPACE_N(cc_size n); |
752 | |
753 | // This file is auto-generated. Please don't modify it. |
754 | CC_INLINE cc_size CCRSA_DECRYPT_EME_PKCS1V15_BLINDED_WORKSPACE_N(cc_size n); |
755 | |
756 | // This file is auto-generated. Please don't modify it. |
757 | CC_INLINE cc_size CCRSA_DECRYPT_EME_PKCS1V15_WORKSPACE_N(cc_size n); |
758 | |
759 | // This file is auto-generated. Please don't modify it. |
760 | CC_INLINE cc_size CCRSA_DECRYPT_OAEP_BLINDED_WORKSPACE_N(cc_size n); |
761 | |
762 | // This file is auto-generated. Please don't modify it. |
763 | CC_INLINE cc_size CCRSA_DECRYPT_OAEP_WORKSPACE_N(cc_size n); |
764 | |
765 | // This file is auto-generated. Please don't modify it. |
766 | CC_INLINE cc_size CCRSA_EMSA_PSS_DECODE_CANARY_OUT_WORKSPACE_N(cc_size n); |
767 | |
768 | // This file is auto-generated. Please don't modify it. |
769 | CC_INLINE cc_size CCRSA_EMSA_PSS_DECODE_WORKSPACE_N(cc_size n); |
770 | |
771 | // This file is auto-generated. Please don't modify it. |
772 | CC_INLINE cc_size CCRSA_ENCRYPT_EME_PKCS1V15_WORKSPACE_N(cc_size n); |
773 | |
774 | // This file is auto-generated. Please don't modify it. |
775 | CC_INLINE cc_size CCRSA_ENCRYPT_OAEP_WORKSPACE_N(cc_size n); |
776 | |
777 | // This file is auto-generated. Please don't modify it. |
778 | CC_INLINE cc_size CCRSA_ENSURE_2P_GT_Q_WORKSPACE_N(cc_size n); |
779 | |
780 | // This file is auto-generated. Please don't modify it. |
781 | CC_INLINE cc_size CCRSA_FIND_NEXT_PRIME_WORKSPACE_N(cc_size n); |
782 | |
783 | // This file is auto-generated. Please don't modify it. |
784 | CC_INLINE cc_size CCRSA_FIND_PRIME_MULTIPLE_WORKSPACE_N(cc_size n); |
785 | |
786 | // This file is auto-generated. Please don't modify it. |
787 | CC_INLINE cc_size CCRSA_GENERATE_AUXILIARY_PRIMES_WORKSPACE_N(cc_size n); |
788 | |
789 | // This file is auto-generated. Please don't modify it. |
790 | CC_INLINE cc_size CCRSA_GENERATE_FIPS186_KEY_TRACE_WORKSPACE_N(cc_size n); |
791 | |
792 | // This file is auto-generated. Please don't modify it. |
793 | CC_INLINE cc_size CCRSA_GENERATE_FIPS186_PRIME_FACTORS_WORKSPACE_N(cc_size n); |
794 | |
795 | // This file is auto-generated. Please don't modify it. |
796 | CC_INLINE cc_size CCRSA_GENERATE_KEY_INTERNAL_WORKSPACE_N(cc_size n); |
797 | |
798 | // This file is auto-generated. Please don't modify it. |
799 | CC_INLINE cc_size CCRSA_GENERATE_PRIME_WORKSPACE_N(cc_size n); |
800 | |
801 | // This file is auto-generated. Please don't modify it. |
802 | CC_INLINE cc_size CCRSA_GENERATE_PROBABLE_PRIME_FROM_AUX_PRIMES_WORKSPACE_N(cc_size n); |
803 | |
804 | // This file is auto-generated. Please don't modify it. |
805 | CC_INLINE cc_size CCRSA_GENERATE_PROBABLE_PRIME_WORKSPACE_N(cc_size n); |
806 | |
807 | // This file is auto-generated. Please don't modify it. |
808 | CC_INLINE cc_size CCRSA_IMPORT_PRIV_WORKSPACE_N(cc_size n); |
809 | |
810 | // This file is auto-generated. Please don't modify it. |
811 | CC_INLINE cc_size CCRSA_INIT_PUB_WORKSPACE_N(cc_size n); |
812 | |
813 | // This file is auto-generated. Please don't modify it. |
814 | CC_INLINE cc_size CCRSA_IS_VALID_PRIME_WORKSPACE_N(cc_size n); |
815 | |
816 | // This file is auto-generated. Please don't modify it. |
817 | CC_INLINE cc_size CCRSA_MAKE_FIPS186_KEY_WORKSPACE_N(cc_size n); |
818 | |
819 | // This file is auto-generated. Please don't modify it. |
820 | CC_INLINE cc_size CCRSA_MAKE_PRIV_PARSE_INPUT_WORKSPACE_N(cc_size n); |
821 | |
822 | // This file is auto-generated. Please don't modify it. |
823 | CC_INLINE cc_size CCRSA_MAKE_PRIV_WORKSPACE_N(cc_size n); |
824 | |
825 | // This file is auto-generated. Please don't modify it. |
826 | CC_INLINE cc_size CCRSA_OAEP_DECODE_PARAMETER_WORKSPACE_N(cc_size n); |
827 | |
828 | // This file is auto-generated. Please don't modify it. |
829 | CC_INLINE cc_size CCRSA_OAEP_ENCODE_PARAMETER_WORKSPACE_N(cc_size n); |
830 | |
831 | // This file is auto-generated. Please don't modify it. |
832 | CC_INLINE cc_size CCRSA_PAIRWISE_CONSISTENCY_CHECK_WORKSPACE_N(cc_size n); |
833 | |
834 | // This file is auto-generated. Please don't modify it. |
835 | CC_INLINE cc_size CCRSA_PRIV_CRYPT_BLINDED_WORKSPACE_N(cc_size n); |
836 | |
837 | // This file is auto-generated. Please don't modify it. |
838 | CC_INLINE cc_size CCRSA_PRIV_CRYPT_WORKSPACE_N(cc_size n); |
839 | |
840 | // This file is auto-generated. Please don't modify it. |
841 | CC_INLINE cc_size CCRSA_PUB_CRYPT_WORKSPACE_N(cc_size n); |
842 | |
843 | // This file is auto-generated. Please don't modify it. |
844 | CC_INLINE cc_size CCRSA_RECOVER_PQ_WORKSPACE_N(cc_size n); |
845 | |
846 | // This file is auto-generated. Please don't modify it. |
847 | CC_INLINE cc_size CCRSA_RECOVER_PRIV_WORKSPACE_N(cc_size n); |
848 | |
849 | // This file is auto-generated. Please don't modify it. |
850 | CC_INLINE cc_size CCRSA_SEED_X_WORKSPACE_N(cc_size n); |
851 | |
852 | // This file is auto-generated. Please don't modify it. |
853 | CC_INLINE cc_size CCRSA_SIGN_PKCS1V15_BLINDED_WORKSPACE_N(cc_size n); |
854 | |
855 | // This file is auto-generated. Please don't modify it. |
856 | CC_INLINE cc_size CCRSA_SIGN_PSS_BLINDED_WORKSPACE_N(cc_size n); |
857 | |
858 | // This file is auto-generated. Please don't modify it. |
859 | CC_INLINE cc_size CCRSA_VERIFY_PKCS1V15_DIGEST_WORKSPACE_N(cc_size n); |
860 | |
861 | // This file is auto-generated. Please don't modify it. |
862 | CC_INLINE cc_size CCRSA_VERIFY_PKCS1V15_INTERNAL_WORKSPACE_N(cc_size n); |
863 | |
864 | // This file is auto-generated. Please don't modify it. |
865 | CC_INLINE cc_size CCRSA_VERIFY_PSS_DIGEST_WORKSPACE_N(cc_size n); |
866 | |
867 | // This file is auto-generated. Please don't modify it. |
868 | CC_INLINE cc_size CCRSA_VERIFY_PSS_MSG_WORKSPACE_N(cc_size n); |
869 | |
870 | // This file is auto-generated. Please don't modify it. |
871 | CC_INLINE cc_size CCSAE_GENERATE_COMMITMENT_FINALIZE_WORKSPACE_N(cc_size n); |
872 | |
873 | // This file is auto-generated. Please don't modify it. |
874 | CC_INLINE cc_size CCSAE_GENERATE_COMMITMENT_PARTIAL_WORKSPACE_N(cc_size n); |
875 | |
876 | // This file is auto-generated. Please don't modify it. |
877 | CC_INLINE cc_size CCSAE_GENERATE_COMMITMENT_SHARED_WORKSPACE_N(cc_size n); |
878 | |
879 | // This file is auto-generated. Please don't modify it. |
880 | CC_INLINE cc_size CCSAE_GENERATE_CONFIRMATION_WORKSPACE_N(cc_size n); |
881 | |
882 | // This file is auto-generated. Please don't modify it. |
883 | CC_INLINE cc_size CCSAE_GENERATE_H2C_COMMIT_FINALIZE_WORKSPACE_N(cc_size n); |
884 | |
885 | // This file is auto-generated. Please don't modify it. |
886 | CC_INLINE cc_size CCSAE_GENERATE_H2C_COMMIT_INIT_WORKSPACE_N(cc_size n); |
887 | |
888 | // This file is auto-generated. Please don't modify it. |
889 | CC_INLINE cc_size CCSAE_GENERATE_H2C_PT_WORKSPACE_N(cc_size n); |
890 | |
891 | // This file is auto-generated. Please don't modify it. |
892 | CC_INLINE cc_size CCSAE_GENERATE_KEYSEED_WORKSPACE_N(cc_size n); |
893 | |
894 | // This file is auto-generated. Please don't modify it. |
895 | CC_INLINE cc_size CCSAE_GEN_KEYS_WORKSPACE_N(cc_size n); |
896 | |
897 | // This file is auto-generated. Please don't modify it. |
898 | CC_INLINE cc_size CCSAE_GEN_PASSWORD_VALUE_WORKSPACE_N(cc_size n); |
899 | |
900 | // This file is auto-generated. Please don't modify it. |
901 | CC_INLINE cc_size CCSAE_GET_KEYS_WORKSPACE_N(cc_size n); |
902 | |
903 | // This file is auto-generated. Please don't modify it. |
904 | CC_INLINE cc_size CCSAE_VERIFY_COMMITMENT_WORKSPACE_N(cc_size n); |
905 | |
906 | // This file is auto-generated. Please don't modify it. |
907 | CC_INLINE cc_size CCSAE_VERIFY_CONFIRMATION_WORKSPACE_N(cc_size n); |
908 | |
909 | // This file is auto-generated. Please don't modify it. |
910 | CC_INLINE cc_size CCSAE_Y2_FROM_X_WORKSPACE_N(cc_size n); |
911 | |
912 | // This file is auto-generated. Please don't modify it. |
913 | CC_INLINE cc_size CCSPAKE_GENERATE_L_WORKSPACE_N(cc_size n); |
914 | |
915 | // This file is auto-generated. Please don't modify it. |
916 | CC_INLINE cc_size CCSPAKE_IMPORT_PUB_WORKSPACE_N(cc_size n); |
917 | |
918 | // This file is auto-generated. Please don't modify it. |
919 | CC_INLINE cc_size CCSPAKE_KEX_PROCESS_WORKSPACE_N(cc_size n); |
920 | |
921 | // This file is auto-generated. Please don't modify it. |
922 | CC_INLINE cc_size CCSPAKE_LAZY_GEN_XY_XY_WORKSPACE_N(cc_size n); |
923 | |
924 | // This file is auto-generated. Please don't modify it. |
925 | CC_INLINE cc_size CCSPAKE_REDUCE_W_WORKSPACE_N(cc_size n); |
926 | |
927 | // This file is auto-generated. Please don't modify it. |
928 | CC_INLINE cc_size CCSPAKE_VERIFIER_INITIALIZE_WORKSPACE_N(cc_size n); |
929 | |
930 | // This file is auto-generated. Please don't modify it. |
931 | CC_INLINE cc_size CCSPAKE_VERIFIER_INIT_WORKSPACE_N(cc_size n); |
932 | |
933 | // This file is auto-generated. Please don't modify it. |
934 | CC_INLINE cc_size CCSRP_CLIENT_PROCESS_CHALLENGE_WORKSPACE_N(cc_size n); |
935 | |
936 | // This file is auto-generated. Please don't modify it. |
937 | CC_INLINE cc_size CCSRP_CLIENT_START_AUTHENTICATION_WORKSPACE_N(cc_size n); |
938 | |
939 | // This file is auto-generated. Please don't modify it. |
940 | CC_INLINE cc_size CCSRP_DIGEST_CCN_CCN_WORKSPACE_N(cc_size n); |
941 | |
942 | // This file is auto-generated. Please don't modify it. |
943 | CC_INLINE cc_size CCSRP_DIGEST_CCN_WORKSPACE_N(cc_size n); |
944 | |
945 | // This file is auto-generated. Please don't modify it. |
946 | CC_INLINE cc_size CCSRP_DIGEST_UPDATE_CCN_WORKSPACE_N(cc_size n); |
947 | |
948 | // This file is auto-generated. Please don't modify it. |
949 | CC_INLINE cc_size CCSRP_GENERATE_CLIENT_PUBKEY_WORKSPACE_N(cc_size n); |
950 | |
951 | // This file is auto-generated. Please don't modify it. |
952 | CC_INLINE cc_size CCSRP_GENERATE_CLIENT_S_WORKSPACE_N(cc_size n); |
953 | |
954 | // This file is auto-generated. Please don't modify it. |
955 | CC_INLINE cc_size CCSRP_GENERATE_H_AMK_WORKSPACE_N(cc_size n); |
956 | |
957 | // This file is auto-generated. Please don't modify it. |
958 | CC_INLINE cc_size CCSRP_GENERATE_K_FROM_S_WORKSPACE_N(cc_size n); |
959 | |
960 | // This file is auto-generated. Please don't modify it. |
961 | CC_INLINE cc_size CCSRP_GENERATE_K_WORKSPACE_N(cc_size n); |
962 | |
963 | // This file is auto-generated. Please don't modify it. |
964 | CC_INLINE cc_size CCSRP_GENERATE_M_WORKSPACE_N(cc_size n); |
965 | |
966 | // This file is auto-generated. Please don't modify it. |
967 | CC_INLINE cc_size CCSRP_GENERATE_SERVER_PUBKEY_WORKSPACE_N(cc_size n); |
968 | |
969 | // This file is auto-generated. Please don't modify it. |
970 | CC_INLINE cc_size CCSRP_GENERATE_SERVER_S_WORKSPACE_N(cc_size n); |
971 | |
972 | // This file is auto-generated. Please don't modify it. |
973 | CC_INLINE cc_size CCSRP_GENERATE_U_WORKSPACE_N(cc_size n); |
974 | |
975 | // This file is auto-generated. Please don't modify it. |
976 | CC_INLINE cc_size CCSRP_GENERATE_VERIFIER_WORKSPACE_N(cc_size n); |
977 | |
978 | // This file is auto-generated. Please don't modify it. |
979 | CC_INLINE cc_size CCSRP_GENERATE_V_WORKSPACE_N(cc_size n); |
980 | |
981 | // This file is auto-generated. Please don't modify it. |
982 | CC_INLINE cc_size CCSRP_MGF_WORKSPACE_N(cc_size n); |
983 | |
984 | // This file is auto-generated. Please don't modify it. |
985 | CC_INLINE cc_size CCSRP_SERVER_COMPUTE_SESSION_WORKSPACE_N(cc_size n); |
986 | |
987 | // This file is auto-generated. Please don't modify it. |
988 | CC_INLINE cc_size CCSRP_SERVER_GENERATE_PUBLIC_KEY_WORKSPACE_N(cc_size n); |
989 | |
990 | // This file is auto-generated. Please don't modify it. |
991 | CC_INLINE cc_size CCSRP_SHA_INTERLEAVE_RFC2945_WORKSPACE_N(cc_size n); |
992 | |
993 | // This file is auto-generated. Please don't modify it. |
994 | CC_INLINE cc_size CCSS_SHAMIR_EVALUATE_POLY_TO_BUFFER_WORKSPACE_N(cc_size n); |
995 | |
996 | // This file is auto-generated. Please don't modify it. |
997 | CC_INLINE cc_size CCSS_SHAMIR_GENERATE_RANDOM_POLY_WORKSPACE_N(cc_size n); |
998 | |
999 | // This file is auto-generated. Please don't modify it. |
1000 | CC_INLINE cc_size CCSS_SHAMIR_GENERATE_SHARE_POLY_WORKSPACE_N(cc_size n); |
1001 | |
1002 | // This file is auto-generated. Please don't modify it. |
1003 | CC_INLINE cc_size CCSS_SHAMIR_LAGRANGE_PRODUCT_FROM_BAG_WORKSPACE_N(cc_size n); |
1004 | |
1005 | // This file is auto-generated. Please don't modify it. |
1006 | CC_INLINE cc_size CCSS_SHAMIR_SHARE_BAG_RECOVER_SECRET_WORKSPACE_N(cc_size n); |
1007 | |
1008 | // This file is auto-generated. Please don't modify it. |
1009 | CC_INLINE cc_size CCSS_SHAMIR_SHARE_GENERATOR_INIT_BACKER_WORKSPACE_N(cc_size n); |
1010 | |
1011 | // This file is auto-generated. Please don't modify it. |
1012 | CC_INLINE cc_size CCX25519_SCALAR_MULT_WORKSPACE_N(cc_size n); |
1013 | |
1014 | // This file is auto-generated. Please don't modify it. |
1015 | CC_INLINE cc_size CCX448_SCALAR_MULT_WORKSPACE_N(cc_size n); |
1016 | |
1017 | // This file is auto-generated. Please don't modify it. |
1018 | CC_INLINE cc_size CCZP_ADD_DEFAULT_WORKSPACE_N(cc_size n); |
1019 | |
1020 | // This file is auto-generated. Please don't modify it. |
1021 | CC_INLINE cc_size CCZP_ADD_WORKSPACE_N(cc_size n); |
1022 | |
1023 | // This file is auto-generated. Please don't modify it. |
1024 | CC_INLINE cc_size CCZP_DIV2_WORKSPACE_N(cc_size n); |
1025 | |
1026 | // This file is auto-generated. Please don't modify it. |
1027 | CC_INLINE cc_size CCZP_FROM_DEFAULT_WORKSPACE_N(cc_size n); |
1028 | |
1029 | // This file is auto-generated. Please don't modify it. |
1030 | CC_INLINE cc_size CCZP_FROM_WORKSPACE_N(cc_size n); |
1031 | |
1032 | // This file is auto-generated. Please don't modify it. |
1033 | CC_INLINE cc_size CCZP_GENERATE_NON_ZERO_ELEMENT_WORKSPACE_N(cc_size n); |
1034 | |
1035 | // This file is auto-generated. Please don't modify it. |
1036 | CC_INLINE cc_size CCZP_GENERATE_RANDOM_ELEMENT_WORKSPACE_N(cc_size n); |
1037 | |
1038 | // This file is auto-generated. Please don't modify it. |
1039 | CC_INLINE cc_size CCZP_INIT_COMPUTE_R2_WORKSPACE_N(cc_size n); |
1040 | |
1041 | // This file is auto-generated. Please don't modify it. |
1042 | CC_INLINE cc_size CCZP_INIT_WORKSPACE_N(cc_size n); |
1043 | |
1044 | // This file is auto-generated. Please don't modify it. |
1045 | CC_INLINE cc_size CCZP_INV_DEFAULT_WORKSPACE_N(cc_size n); |
1046 | |
1047 | // This file is auto-generated. Please don't modify it. |
1048 | CC_INLINE cc_size CCZP_INV_FIELD_WORKSPACE_N(cc_size n); |
1049 | |
1050 | // This file is auto-generated. Please don't modify it. |
1051 | CC_INLINE cc_size CCZP_INV_UPDATE_REDC_WORKSPACE_N(cc_size n); |
1052 | |
1053 | // This file is auto-generated. Please don't modify it. |
1054 | CC_INLINE cc_size CCZP_INV_UPDATE_WORKSPACE_N(cc_size n); |
1055 | |
1056 | // This file is auto-generated. Please don't modify it. |
1057 | CC_INLINE cc_size CCZP_INV_WORKSPACE_N(cc_size n); |
1058 | |
1059 | // This file is auto-generated. Please don't modify it. |
1060 | CC_INLINE cc_size CCZP_IS_QUADRATIC_RESIDUE_WORKSPACE_N(cc_size n); |
1061 | |
1062 | // This file is auto-generated. Please don't modify it. |
1063 | CC_INLINE cc_size CCZP_MM_FROM_WORKSPACE_N(cc_size n); |
1064 | |
1065 | // This file is auto-generated. Please don't modify it. |
1066 | CC_INLINE cc_size CCZP_MM_INIT_WORKSPACE_N(cc_size n); |
1067 | |
1068 | // This file is auto-generated. Please don't modify it. |
1069 | CC_INLINE cc_size CCZP_MM_INV_WORKSPACE_N(cc_size n); |
1070 | |
1071 | // This file is auto-generated. Please don't modify it. |
1072 | CC_INLINE cc_size CCZP_MM_MOD_WORKSPACE_N(cc_size n); |
1073 | |
1074 | // This file is auto-generated. Please don't modify it. |
1075 | CC_INLINE cc_size CCZP_MM_MUL_WORKSPACE_N(cc_size n); |
1076 | |
1077 | // This file is auto-generated. Please don't modify it. |
1078 | CC_INLINE cc_size CCZP_MM_POWER_FAST_WORKSPACE_N(cc_size n); |
1079 | |
1080 | // This file is auto-generated. Please don't modify it. |
1081 | CC_INLINE cc_size CCZP_MM_POWER_WORKSPACE_N(cc_size n); |
1082 | |
1083 | // This file is auto-generated. Please don't modify it. |
1084 | CC_INLINE cc_size CCZP_MM_REDC_WORKSPACE_N(cc_size n); |
1085 | |
1086 | // This file is auto-generated. Please don't modify it. |
1087 | CC_INLINE cc_size CCZP_MM_SQRT_WORKSPACE_N(cc_size n); |
1088 | |
1089 | // This file is auto-generated. Please don't modify it. |
1090 | CC_INLINE cc_size CCZP_MM_SQR_WORKSPACE_N(cc_size n); |
1091 | |
1092 | // This file is auto-generated. Please don't modify it. |
1093 | CC_INLINE cc_size CCZP_MM_TO_WORKSPACE_N(cc_size n); |
1094 | |
1095 | // This file is auto-generated. Please don't modify it. |
1096 | CC_INLINE cc_size CCZP_MODN_WORKSPACE_N(cc_size n); |
1097 | |
1098 | // This file is auto-generated. Please don't modify it. |
1099 | CC_INLINE cc_size CCZP_MOD_DEFAULT_WORKSPACE_N(cc_size n); |
1100 | |
1101 | // This file is auto-generated. Please don't modify it. |
1102 | CC_INLINE cc_size CCZP_MOD_WORKSPACE_N(cc_size n); |
1103 | |
1104 | // This file is auto-generated. Please don't modify it. |
1105 | CC_INLINE cc_size CCZP_MUL_DEFAULT_WORKSPACE_N(cc_size n); |
1106 | |
1107 | // This file is auto-generated. Please don't modify it. |
1108 | CC_INLINE cc_size CCZP_MUL_WORKSPACE_N(cc_size n); |
1109 | |
1110 | // This file is auto-generated. Please don't modify it. |
1111 | CC_INLINE cc_size CCZP_POWER_BLINDED_WORKSPACE_N(cc_size n); |
1112 | |
1113 | // This file is auto-generated. Please don't modify it. |
1114 | CC_INLINE cc_size CCZP_POWER_FAST_WORKSPACE_N(cc_size n); |
1115 | |
1116 | // This file is auto-generated. Please don't modify it. |
1117 | CC_INLINE cc_size CCZP_POWER_WORKSPACE_N(cc_size n); |
1118 | |
1119 | // This file is auto-generated. Please don't modify it. |
1120 | CC_INLINE cc_size CCZP_SQRT_3MOD4_WORKSPACE_N(cc_size n); |
1121 | |
1122 | // This file is auto-generated. Please don't modify it. |
1123 | CC_INLINE cc_size CCZP_SQRT_DEFAULT_WORKSPACE_N(cc_size n); |
1124 | |
1125 | // This file is auto-generated. Please don't modify it. |
1126 | CC_INLINE cc_size CCZP_SQRT_TONELLI_SHANKS_PRECOMP_WORKSPACE_N(cc_size n); |
1127 | |
1128 | // This file is auto-generated. Please don't modify it. |
1129 | CC_INLINE cc_size CCZP_SQRT_TONELLI_SHANKS_WORKSPACE_N(cc_size n); |
1130 | |
1131 | // This file is auto-generated. Please don't modify it. |
1132 | CC_INLINE cc_size CCZP_SQRT_WORKSPACE_N(cc_size n); |
1133 | |
1134 | // This file is auto-generated. Please don't modify it. |
1135 | CC_INLINE cc_size CCZP_SQR_DEFAULT_WORKSPACE_N(cc_size n); |
1136 | |
1137 | // This file is auto-generated. Please don't modify it. |
1138 | CC_INLINE cc_size CCZP_SQR_WORKSPACE_N(cc_size n); |
1139 | |
1140 | // This file is auto-generated. Please don't modify it. |
1141 | CC_INLINE cc_size CCZP_SUB_DEFAULT_WORKSPACE_N(cc_size n); |
1142 | |
1143 | // This file is auto-generated. Please don't modify it. |
1144 | CC_INLINE cc_size CCZP_SUB_WORKSPACE_N(cc_size n); |
1145 | |
1146 | // This file is auto-generated. Please don't modify it. |
1147 | CC_INLINE cc_size CCZP_TO_DEFAULT_WORKSPACE_N(cc_size n); |
1148 | |
1149 | // This file is auto-generated. Please don't modify it. |
1150 | CC_INLINE cc_size CCZP_TO_WORKSPACE_N(cc_size n); |
1151 | |
1152 | // This file is auto-generated. Please don't modify it. |
1153 | CC_INLINE cc_size CCZ_EXPMOD_WORKSPACE_N(cc_size n); |
1154 | |
1155 | // This file is auto-generated. Please don't modify it. |
1156 | CC_INLINE cc_size FIPSPOST_POST_ECDH_WORKSPACE_N(cc_size n); |
1157 | |
1158 | // This file is auto-generated. Please don't modify it. |
1159 | CC_INLINE cc_size FIPSPOST_POST_ECDSA_KAT_SIGN_WORKSPACE_N(cc_size n); |
1160 | |
1161 | // This file is auto-generated. Please don't modify it. |
1162 | CC_INLINE cc_size FIPSPOST_POST_ECDSA_KAT_VERIFY_WORKSPACE_N(cc_size n); |
1163 | |
1164 | // This file is auto-generated. Please don't modify it. |
1165 | CC_INLINE cc_size FIPSPOST_POST_ECDSA_SIGN_WORKSPACE_N(cc_size n); |
1166 | |
1167 | // This file is auto-generated. Please don't modify it. |
1168 | CC_INLINE cc_size FIPSPOST_POST_ECDSA_VERIFY_WORKSPACE_N(cc_size n); |
1169 | |
1170 | // This file is auto-generated. Please don't modify it. |
1171 | CC_INLINE cc_size FIPSPOST_POST_ECDSA_WORKSPACE_N(cc_size n); |
1172 | |
1173 | // This file is auto-generated. Please don't modify it. |
1174 | CC_INLINE cc_size FIPSPOST_POST_FFDH_WORKSPACE_N(cc_size n); |
1175 | |
1176 | // This file is auto-generated. Please don't modify it. |
1177 | CC_INLINE cc_size FIPSPOST_POST_RSA_ENC_DEC_WORKSPACE_N(cc_size n); |
1178 | |
1179 | // This file is auto-generated. Please don't modify it. |
1180 | CC_INLINE cc_size FIPSPOST_POST_RSA_OAEP_CONSISTENCY_WORKSPACE_N(cc_size n); |
1181 | |
1182 | // This file is auto-generated. Please don't modify it. |
1183 | CC_INLINE cc_size FIPSPOST_POST_RSA_OAEP_DECRYPT_WORKSPACE_N(cc_size n); |
1184 | |
1185 | // This file is auto-generated. Please don't modify it. |
1186 | CC_INLINE cc_size FIPSPOST_POST_RSA_OAEP_KAT_WORKSPACE_N(cc_size n); |
1187 | |
1188 | // This file is auto-generated. Please don't modify it. |
1189 | CC_INLINE cc_size |
1190 | CCBFV_CIPHERTEXT_MOD_SWITCH_DOWN_TO_SINGLE_WORKSPACE_N(cc_size n) |
1191 | { |
1192 | return CCZP_INV_FIELD_WORKSPACE_N(n); |
1193 | } |
1194 | |
1195 | // This file is auto-generated. Please don't modify it. |
1196 | CC_INLINE cc_size |
1197 | CCBFV_CIPHERTEXT_MOD_SWITCH_DOWN_WORKSPACE_N(cc_size n) |
1198 | { |
1199 | return CCZP_INV_FIELD_WORKSPACE_N(n); |
1200 | } |
1201 | |
1202 | // This file is auto-generated. Please don't modify it. |
1203 | CC_PURE CC_INLINE cc_size |
1204 | CCBFV_DCRT_PLAINTEXT_ENCODE_WORKSPACE_N(CC_UNUSED cc_size n) |
1205 | { |
1206 | return 0; |
1207 | } |
1208 | |
1209 | // This file is auto-generated. Please don't modify it. |
1210 | CC_INLINE cc_size |
1211 | CCBFV_DECRYPT_CTX_INIT_WORKSPACE_N(cc_size n) |
1212 | { |
1213 | return CC_MAX_EVAL(CCPOLYZP_PO2CYC_CTX_INIT_WORKSPACE_N(n), CCPOLYZP_PO2CYC_BASE_CONVERT_INIT_WORKSPACE_N(n)); |
1214 | } |
1215 | |
1216 | // This file is auto-generated. Please don't modify it. |
1217 | CC_INLINE cc_size |
1218 | CCBFV_DESERIALIZE_CIPHERTEXT_COEFF_WORKSPACE_N(cc_size n) |
1219 | { |
1220 | return CCPOLYZP_PO2CYC_DESERIALIZE_POLY_WORKSPACE_N(degree: n); |
1221 | } |
1222 | |
1223 | // This file is auto-generated. Please don't modify it. |
1224 | CC_INLINE cc_size |
1225 | CCBFV_DESERIALIZE_CIPHERTEXT_EVAL_WORKSPACE_N(cc_size n) |
1226 | { |
1227 | return CCPOLYZP_PO2CYC_DESERIALIZE_POLY_WORKSPACE_N(degree: n); |
1228 | } |
1229 | |
1230 | // This file is auto-generated. Please don't modify it. |
1231 | CC_INLINE cc_size |
1232 | CCBFV_DESERIALIZE_SEEDED_CIPHERTEXT_COEFF_WORKSPACE_N(cc_size n) |
1233 | { |
1234 | return CCBFV_DESERIALIZE_SEEDED_CIPHERTEXT_EVAL_WORKSPACE_N(degree: n); |
1235 | } |
1236 | |
1237 | // This file is auto-generated. Please don't modify it. |
1238 | CC_INLINE cc_size |
1239 | CCBFV_GALOIS_KEY_LOAD_SINGLE_WORKSPACE_N(cc_size n) |
1240 | { |
1241 | return CCBFV_DESERIALIZE_SEEDED_CIPHERTEXT_EVAL_WORKSPACE_N(degree: n); |
1242 | } |
1243 | |
1244 | // This file is auto-generated. Please don't modify it. |
1245 | CC_INLINE cc_size |
1246 | CCBFV_GALOIS_KEY_LOAD_WORKSPACE_N(cc_size n) |
1247 | { |
1248 | return CCBFV_DESERIALIZE_SEEDED_CIPHERTEXT_EVAL_WORKSPACE_N(degree: n); |
1249 | } |
1250 | |
1251 | // This file is auto-generated. Please don't modify it. |
1252 | CC_INLINE cc_size |
1253 | CCBFV_GALOIS_KEY_SAVE_WORKSPACE_N(cc_size n) |
1254 | { |
1255 | return CCPOLYZP_PO2CYC_SERIALIZE_POLY_WORKSPACE_N(degree: n); |
1256 | } |
1257 | |
1258 | // This file is auto-generated. Please don't modify it. |
1259 | CC_INLINE cc_size |
1260 | CCBFV_PARAM_CTX_INIT_WORKSPACE_N(cc_size n) |
1261 | { |
1262 | return CC_MAX_EVAL(CCBFV_DECRYPT_CTX_INIT_WORKSPACE_N(n), CCBFV_CIPHER_PLAIN_CTX_INIT_WORKSPACE_N(n)); |
1263 | } |
1264 | |
1265 | // This file is auto-generated. Please don't modify it. |
1266 | CC_INLINE cc_size |
1267 | CCBFV_RELIN_KEY_LOAD_WORKSPACE_N(cc_size n) |
1268 | { |
1269 | return CCBFV_DESERIALIZE_SEEDED_CIPHERTEXT_EVAL_WORKSPACE_N(degree: n); |
1270 | } |
1271 | |
1272 | // This file is auto-generated. Please don't modify it. |
1273 | CC_INLINE cc_size |
1274 | CCBFV_RELIN_KEY_SAVE_WORKSPACE_N(cc_size n) |
1275 | { |
1276 | return CCPOLYZP_PO2CYC_SERIALIZE_POLY_WORKSPACE_N(degree: n); |
1277 | } |
1278 | |
1279 | // This file is auto-generated. Please don't modify it. |
1280 | CC_INLINE cc_size |
1281 | CCBFV_SECRET_KEY_GENERATE_FROM_SEED_WORKSPACE_N(cc_size n) |
1282 | { |
1283 | return ((((sizeof_struct_ccpolyzp_po2cyc_block_rng_state()) + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit())) + |
1284 | CCPOLYZP_PO2CYC_RANDOM_TERNARY_WORKSPACE_N(degree: n); |
1285 | } |
1286 | |
1287 | // This file is auto-generated. Please don't modify it. |
1288 | CC_INLINE cc_size |
1289 | CCBFV_SECRET_KEY_GENERATE_WORKSPACE_N(cc_size n) |
1290 | { |
1291 | return CCPOLYZP_PO2CYC_RANDOM_TERNARY_WORKSPACE_N(degree: n); |
1292 | } |
1293 | |
1294 | // This file is auto-generated. Please don't modify it. |
1295 | CC_INLINE cc_size |
1296 | CCBFV_SERIALIZE_CIPHERTEXT_COEFF_WORKSPACE_N(cc_size n) |
1297 | { |
1298 | return CCPOLYZP_PO2CYC_SERIALIZE_POLY_WORKSPACE_N(degree: n); |
1299 | } |
1300 | |
1301 | // This file is auto-generated. Please don't modify it. |
1302 | CC_INLINE cc_size |
1303 | CCBFV_SERIALIZE_CIPHERTEXT_EVAL_WORKSPACE_N(cc_size n) |
1304 | { |
1305 | return CCPOLYZP_PO2CYC_SERIALIZE_POLY_WORKSPACE_N(degree: n); |
1306 | } |
1307 | |
1308 | // This file is auto-generated. Please don't modify it. |
1309 | CC_INLINE cc_size |
1310 | CCBFV_SERIALIZE_SEEDED_CIPHERTEXT_COEFF_WORKSPACE_N(cc_size n) |
1311 | { |
1312 | return CCPOLYZP_PO2CYC_SERIALIZE_POLY_WORKSPACE_N(degree: n); |
1313 | } |
1314 | |
1315 | // This file is auto-generated. Please don't modify it. |
1316 | CC_INLINE cc_size |
1317 | CCBFV_SERIALIZE_SEEDED_CIPHERTEXT_EVAL_WORKSPACE_N(cc_size n) |
1318 | { |
1319 | return CCPOLYZP_PO2CYC_SERIALIZE_POLY_WORKSPACE_N(degree: n); |
1320 | } |
1321 | |
1322 | // This file is auto-generated. Please don't modify it. |
1323 | CC_INLINE cc_size |
1324 | CCCKG_CONTRIBUTOR_FINISH_WORKSPACE_N(cc_size n) |
1325 | { |
1326 | return (3 * n) + (3 * n) + (3 * n) + (3 * n) + |
1327 | (((((sizeof_struct_ccec_pub_ctx()) + (3 * ((sizeof_cc_unit()) * n))) + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit())) + |
1328 | CCEC_MULT_BLINDED_WORKSPACE_N(n); |
1329 | } |
1330 | |
1331 | // This file is auto-generated. Please don't modify it. |
1332 | CC_INLINE cc_size |
1333 | CCCKG_OWNER_GENERATE_SHARE_WORKSPACE_N(cc_size n) |
1334 | { |
1335 | return (((((sizeof_struct_ccec_full_ctx()) + (4 * ((sizeof_cc_unit()) * n))) + (sizeof_cc_unit())) - 1) / |
1336 | (sizeof_cc_unit())) + |
1337 | CCEC_PAIRWISE_CONSISTENCY_CHECK_WORKSPACE_N(n); |
1338 | } |
1339 | |
1340 | // This file is auto-generated. Please don't modify it. |
1341 | CC_INLINE cc_size |
1342 | CCCURVE25519_INTERNAL_WORKSPACE_N(cc_size n) |
1343 | { |
1344 | return (n) + (n) + (n) + (n) + (n) + (n) + CCX25519_SCALAR_MULT_WORKSPACE_N(n); |
1345 | } |
1346 | |
1347 | // This file is auto-generated. Please don't modify it. |
1348 | CC_INLINE cc_size |
1349 | CCCURVE448_WORKSPACE_N(cc_size n) |
1350 | { |
1351 | return (n) + (n) + (n) + (n) + (n) + (n) + CCX448_SCALAR_MULT_WORKSPACE_N(n); |
1352 | } |
1353 | |
1354 | // This file is auto-generated. Please don't modify it. |
1355 | CC_INLINE cc_size |
1356 | CCDER_DECODE_RSA_PRIV_WORKSPACE_N(cc_size n) |
1357 | { |
1358 | return CCZP_INIT_COMPUTE_R2_WORKSPACE_N(n); |
1359 | } |
1360 | |
1361 | // This file is auto-generated. Please don't modify it. |
1362 | CC_INLINE cc_size |
1363 | CCDH_CHECK_PUB_WORKSPACE_N(cc_size n) |
1364 | { |
1365 | return (n) + CCZP_MM_POWER_FAST_WORKSPACE_N(n); |
1366 | } |
1367 | |
1368 | // This file is auto-generated. Please don't modify it. |
1369 | CC_INLINE cc_size |
1370 | CCDH_COMPUTE_SHARED_SECRET_WORKSPACE_N(cc_size n) |
1371 | { |
1372 | return (n) + CCDH_POWER_BLINDED_WORKSPACE_N(n); |
1373 | } |
1374 | |
1375 | // This file is auto-generated. Please don't modify it. |
1376 | CC_INLINE cc_size |
1377 | CCDH_GENERATE_KEY_WORKSPACE_N(cc_size n) |
1378 | { |
1379 | return CCDH_PAIRWISE_CONSISTENCY_CHECK_WORKSPACE_N(n); |
1380 | } |
1381 | |
1382 | // This file is auto-generated. Please don't modify it. |
1383 | CC_INLINE cc_size |
1384 | CCDH_GENERATE_PRIVATE_KEY_WORKSPACE_N(cc_size n) |
1385 | { |
1386 | return n; |
1387 | } |
1388 | |
1389 | // This file is auto-generated. Please don't modify it. |
1390 | CC_INLINE cc_size |
1391 | CCDH_IMPORT_PRIV_WORKSPACE_N(cc_size n) |
1392 | { |
1393 | return CCZP_MM_POWER_WORKSPACE_N(n); |
1394 | } |
1395 | |
1396 | // This file is auto-generated. Please don't modify it. |
1397 | CC_INLINE cc_size |
1398 | CCDH_INIT_GP_FROM_BYTES_WORKSPACE_N(cc_size n) |
1399 | { |
1400 | return CCDH_IS_SAFE_PRIME_GROUP_WORKSPACE_N(n); |
1401 | } |
1402 | |
1403 | // This file is auto-generated. Please don't modify it. |
1404 | CC_INLINE cc_size |
1405 | CCDH_IS_SAFE_PRIME_GROUP_WORKSPACE_N(cc_size n) |
1406 | { |
1407 | return (n) + CCPRIME_RABIN_MILLER_WORKSPACE_N(n); |
1408 | } |
1409 | |
1410 | // This file is auto-generated. Please don't modify it. |
1411 | CC_INLINE cc_size |
1412 | CCDH_PAIRWISE_CONSISTENCY_CHECK_WORKSPACE_N(cc_size n) |
1413 | { |
1414 | return (n) + (((((sizeof_struct_ccdh_full_ctx()) + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit())) + (2 * n)) + (n) + (n) + |
1415 | CCDH_COMPUTE_SHARED_SECRET_WORKSPACE_N(n); |
1416 | } |
1417 | |
1418 | // This file is auto-generated. Please don't modify it. |
1419 | CC_PURE CC_INLINE cc_size |
1420 | CCEC25519_ADD_OPT_WORKSPACE_N(CC_UNUSED cc_size n) |
1421 | { |
1422 | return 0; |
1423 | } |
1424 | |
1425 | // This file is auto-generated. Please don't modify it. |
1426 | CC_PURE CC_INLINE cc_size |
1427 | CCEC25519_ADD_WORKSPACE_N(CC_UNUSED cc_size n) |
1428 | { |
1429 | return 0; |
1430 | } |
1431 | |
1432 | // This file is auto-generated. Please don't modify it. |
1433 | CC_PURE CC_INLINE cc_size |
1434 | CCEC25519_FROM_WORKSPACE_N(CC_UNUSED cc_size n) |
1435 | { |
1436 | return 0; |
1437 | } |
1438 | |
1439 | // This file is auto-generated. Please don't modify it. |
1440 | CC_INLINE cc_size |
1441 | CCEC25519_INV_WORKSPACE_N(cc_size n) |
1442 | { |
1443 | return (n) + (n) + (n) + CCZP_MUL_DEFAULT_WORKSPACE_N(n); |
1444 | } |
1445 | |
1446 | // This file is auto-generated. Please don't modify it. |
1447 | CC_PURE CC_INLINE cc_size |
1448 | CCEC25519_MUL121666_WORKSPACE_N(CC_UNUSED cc_size n) |
1449 | { |
1450 | return 0; |
1451 | } |
1452 | |
1453 | // This file is auto-generated. Please don't modify it. |
1454 | CC_PURE CC_INLINE cc_size |
1455 | CCEC25519_MUL_OPT_WORKSPACE_N(CC_UNUSED cc_size n) |
1456 | { |
1457 | return 0; |
1458 | } |
1459 | |
1460 | // This file is auto-generated. Please don't modify it. |
1461 | CC_PURE CC_INLINE cc_size |
1462 | CCEC25519_MUL_WORKSPACE_N(CC_UNUSED cc_size n) |
1463 | { |
1464 | return 0; |
1465 | } |
1466 | |
1467 | // This file is auto-generated. Please don't modify it. |
1468 | CC_PURE CC_INLINE cc_size |
1469 | CCEC25519_REDC_WORKSPACE_N(CC_UNUSED cc_size n) |
1470 | { |
1471 | return 0; |
1472 | } |
1473 | |
1474 | // This file is auto-generated. Please don't modify it. |
1475 | CC_PURE CC_INLINE cc_size |
1476 | CCEC25519_SQR_OPT_WORKSPACE_N(CC_UNUSED cc_size n) |
1477 | { |
1478 | return 0; |
1479 | } |
1480 | |
1481 | // This file is auto-generated. Please don't modify it. |
1482 | CC_INLINE cc_size |
1483 | CCEC25519_SQR_WORKSPACE_N(cc_size n) |
1484 | { |
1485 | return CCN_SQR_WORKSPACE_N(n); |
1486 | } |
1487 | |
1488 | // This file is auto-generated. Please don't modify it. |
1489 | CC_PURE CC_INLINE cc_size |
1490 | CCEC25519_SUB_OPT_WORKSPACE_N(CC_UNUSED cc_size n) |
1491 | { |
1492 | return 0; |
1493 | } |
1494 | |
1495 | // This file is auto-generated. Please don't modify it. |
1496 | CC_PURE CC_INLINE cc_size |
1497 | CCEC25519_SUB_WORKSPACE_N(CC_UNUSED cc_size n) |
1498 | { |
1499 | return 0; |
1500 | } |
1501 | |
1502 | // This file is auto-generated. Please don't modify it. |
1503 | CC_PURE CC_INLINE cc_size |
1504 | CCEC448_ADD_WORKSPACE_N(CC_UNUSED cc_size n) |
1505 | { |
1506 | return 0; |
1507 | } |
1508 | |
1509 | // This file is auto-generated. Please don't modify it. |
1510 | CC_PURE CC_INLINE cc_size |
1511 | CCEC448_FROM_WORKSPACE_N(CC_UNUSED cc_size n) |
1512 | { |
1513 | return 0; |
1514 | } |
1515 | |
1516 | // This file is auto-generated. Please don't modify it. |
1517 | CC_INLINE cc_size |
1518 | CCEC448_INV_WORKSPACE_N(cc_size n) |
1519 | { |
1520 | return CCZP_MUL_DEFAULT_WORKSPACE_N(n); |
1521 | } |
1522 | |
1523 | // This file is auto-generated. Please don't modify it. |
1524 | CC_PURE CC_INLINE cc_size |
1525 | CCEC448_MUL_WORKSPACE_N(CC_UNUSED cc_size n) |
1526 | { |
1527 | return 0; |
1528 | } |
1529 | |
1530 | // This file is auto-generated. Please don't modify it. |
1531 | CC_PURE CC_INLINE cc_size |
1532 | CCEC448_SQR_WORKSPACE_N(CC_UNUSED cc_size n) |
1533 | { |
1534 | return 0; |
1535 | } |
1536 | |
1537 | // This file is auto-generated. Please don't modify it. |
1538 | CC_PURE CC_INLINE cc_size |
1539 | CCEC448_SUB_WORKSPACE_N(CC_UNUSED cc_size n) |
1540 | { |
1541 | return 0; |
1542 | } |
1543 | |
1544 | // This file is auto-generated. Please don't modify it. |
1545 | CC_INLINE cc_size |
1546 | CCECDH_COMPUTE_SHARED_SECRET_WORKSPACE_N(cc_size n) |
1547 | { |
1548 | return (3 * n) + (3 * n) + CCEC_MULT_BLINDED_WORKSPACE_N(n); |
1549 | } |
1550 | |
1551 | // This file is auto-generated. Please don't modify it. |
1552 | CC_INLINE cc_size |
1553 | CCECDH_FAST_COMPUTE_PUB_FROM_PRIV_WORKSPACE_N(cc_size n) |
1554 | { |
1555 | return (3 * n) + CCECDH_FAST_SCALAR_MULT_WORKSPACE_N(n); |
1556 | } |
1557 | |
1558 | // This file is auto-generated. Please don't modify it. |
1559 | CC_INLINE cc_size |
1560 | CCECDH_FAST_COMPUTE_SHARED_SECRET_WORKSPACE_N(cc_size n) |
1561 | { |
1562 | return (3 * n) + (n) + CCECDH_FAST_SCALAR_MULT_WORKSPACE_N(n); |
1563 | } |
1564 | |
1565 | // This file is auto-generated. Please don't modify it. |
1566 | CC_INLINE cc_size |
1567 | CCECDH_FAST_SCALAR_MULT_WORKSPACE_N(cc_size n) |
1568 | { |
1569 | return (3 * n) + CCED448_FULL_ADD_WORKSPACE_N(n); |
1570 | } |
1571 | |
1572 | // This file is auto-generated. Please don't modify it. |
1573 | CC_INLINE cc_size |
1574 | CCECDH_GENERATE_KEY_WORKSPACE_N(cc_size n) |
1575 | { |
1576 | return CCECDH_PAIRWISE_CONSISTENCY_CHECK_WORKSPACE_N(n); |
1577 | } |
1578 | |
1579 | // This file is auto-generated. Please don't modify it. |
1580 | CC_INLINE cc_size |
1581 | CCECDH_PAIRWISE_CONSISTENCY_CHECK_WORKSPACE_N(cc_size n) |
1582 | { |
1583 | return (((((sizeof_struct_ccec_full_ctx()) + (4 * ((sizeof_cc_unit()) * n))) + (sizeof_cc_unit())) - 1) / |
1584 | (sizeof_cc_unit())) + |
1585 | (n) + (n) + CCECDH_COMPUTE_SHARED_SECRET_WORKSPACE_N(n); |
1586 | } |
1587 | |
1588 | // This file is auto-generated. Please don't modify it. |
1589 | CC_INLINE cc_size |
1590 | CCECDH_PCC_COMPUTE_PUB_FROM_PRIV_WORKSPACE_N(cc_size n) |
1591 | { |
1592 | return CCEC_MAKE_PUB_FROM_PRIV_WORKSPACE_N(n); |
1593 | } |
1594 | |
1595 | // This file is auto-generated. Please don't modify it. |
1596 | CC_INLINE cc_size |
1597 | CCECDH_PCC_COMPUTE_SHARED_SECRET_WORKSPACE_N(cc_size n) |
1598 | { |
1599 | return CCECDH_COMPUTE_SHARED_SECRET_WORKSPACE_N(n); |
1600 | } |
1601 | |
1602 | // This file is auto-generated. Please don't modify it. |
1603 | CC_INLINE cc_size |
1604 | CCECIES_DECRYPT_GCM_COMPOSITE_WORKSPACE_N(cc_size n) |
1605 | { |
1606 | return (((((sizeof_struct_ccec_pub_ctx()) + (3 * ((sizeof_cc_unit()) * n))) + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit())) + |
1607 | (n) + CCECDH_COMPUTE_SHARED_SECRET_WORKSPACE_N(n); |
1608 | } |
1609 | |
1610 | // This file is auto-generated. Please don't modify it. |
1611 | CC_INLINE cc_size |
1612 | CCECIES_ENCRYPT_GCM_COMPOSITE_WORKSPACE_N(cc_size n) |
1613 | { |
1614 | return (((((sizeof_struct_ccec_full_ctx()) + (4 * ((sizeof_cc_unit()) * n))) + (sizeof_cc_unit())) - 1) / |
1615 | (sizeof_cc_unit())) + |
1616 | (n) + CCECDH_PAIRWISE_CONSISTENCY_CHECK_WORKSPACE_N(n); |
1617 | } |
1618 | |
1619 | // This file is auto-generated. Please don't modify it. |
1620 | CC_INLINE cc_size |
1621 | CCECIES_IMPORT_EPH_PUB_WORKSPACE_N(cc_size n) |
1622 | { |
1623 | return CCEC_COMPACT_IMPORT_PUB_WORKSPACE_N(n); |
1624 | } |
1625 | |
1626 | // This file is auto-generated. Please don't modify it. |
1627 | CC_INLINE cc_size |
1628 | CCEC_ADD_WORKSPACE_N(cc_size n) |
1629 | { |
1630 | return (n) + (n) + (n) + CCEC_DOUBLE_WORKSPACE_N(n); |
1631 | } |
1632 | |
1633 | // This file is auto-generated. Please don't modify it. |
1634 | CC_INLINE cc_size |
1635 | CCEC_AFFINE_POINT_FROM_X_WORKSPACE_N(cc_size n) |
1636 | { |
1637 | return (n) + (n) + CCZP_SQRT_TONELLI_SHANKS_WORKSPACE_N(n); |
1638 | } |
1639 | |
1640 | // This file is auto-generated. Please don't modify it. |
1641 | CC_INLINE cc_size |
1642 | CCEC_AFFINIFY_HOMOGENEOUS_WORKSPACE_N(cc_size n) |
1643 | { |
1644 | return (n) + CCZP_INV_DEFAULT_WORKSPACE_N(n); |
1645 | } |
1646 | |
1647 | // This file is auto-generated. Please don't modify it. |
1648 | CC_INLINE cc_size |
1649 | CCEC_AFFINIFY_JACOBIAN_WORKSPACE_N(cc_size n) |
1650 | { |
1651 | return (n) + (n) + CCZP_INV_DEFAULT_WORKSPACE_N(n); |
1652 | } |
1653 | |
1654 | // This file is auto-generated. Please don't modify it. |
1655 | CC_INLINE cc_size |
1656 | CCEC_AFFINIFY_WORKSPACE_N(cc_size n) |
1657 | { |
1658 | return CCEC_AFFINIFY_JACOBIAN_WORKSPACE_N(n); |
1659 | } |
1660 | |
1661 | // This file is auto-generated. Please don't modify it. |
1662 | CC_INLINE cc_size |
1663 | CCEC_AFFINIFY_X_ONLY_WORKSPACE_N(cc_size n) |
1664 | { |
1665 | return (n) + CCZP_INV_DEFAULT_WORKSPACE_N(n); |
1666 | } |
1667 | |
1668 | // This file is auto-generated. Please don't modify it. |
1669 | CC_INLINE cc_size |
1670 | CCEC_BLINDING_OP_WORKSPACE_N(cc_size n) |
1671 | { |
1672 | return (3 * n) + (3 * n) + CCEC_MULT_BLINDED_WORKSPACE_N(n); |
1673 | } |
1674 | |
1675 | // This file is auto-generated. Please don't modify it. |
1676 | CC_INLINE cc_size |
1677 | CCEC_COMPACT_GENERATE_KEY_CHECKSIGN_WORKSPACE_N(cc_size n) |
1678 | { |
1679 | return CCEC_SIGN_INTERNAL_WORKSPACE_N(n); |
1680 | } |
1681 | |
1682 | // This file is auto-generated. Please don't modify it. |
1683 | CC_INLINE cc_size |
1684 | CCEC_COMPACT_GENERATE_KEY_CHECKVERIFY_AND_EXTRACT_WORKSPACE_N(cc_size n) |
1685 | { |
1686 | return CCEC_VERIFY_INTERNAL_WITH_BASE_WORKSPACE_N(n); |
1687 | } |
1688 | |
1689 | // This file is auto-generated. Please don't modify it. |
1690 | CC_INLINE cc_size |
1691 | CCEC_COMPACT_GENERATE_KEY_STEP_WORKSPACE_N(cc_size n) |
1692 | { |
1693 | return CCEC_VERIFY_INTERNAL_WITH_BASE_WORKSPACE_N(n); |
1694 | } |
1695 | |
1696 | // This file is auto-generated. Please don't modify it. |
1697 | CC_INLINE cc_size |
1698 | CCEC_COMPACT_GENERATE_KEY_WORKSPACE_N(cc_size n) |
1699 | { |
1700 | return CCEC_PAIRWISE_CONSISTENCY_CHECK_WORKSPACE_N(n); |
1701 | } |
1702 | |
1703 | // This file is auto-generated. Please don't modify it. |
1704 | CC_INLINE cc_size |
1705 | CCEC_COMPACT_IMPORT_PUB_WORKSPACE_N(cc_size n) |
1706 | { |
1707 | return (3 * n) + CCEC_IMPORT_AFFINE_POINT_WORKSPACE_N(n); |
1708 | } |
1709 | |
1710 | // This file is auto-generated. Please don't modify it. |
1711 | CC_INLINE cc_size |
1712 | CCEC_COMPACT_TRANSFORM_KEY_WORKSPACE_N(cc_size n) |
1713 | { |
1714 | return n; |
1715 | } |
1716 | |
1717 | // This file is auto-generated. Please don't modify it. |
1718 | CC_INLINE cc_size |
1719 | CCEC_COMPRESSED_X962_IMPORT_PUB_WORKSPACE_N(cc_size n) |
1720 | { |
1721 | return CCEC_X963_IMPORT_PUB_WORKSPACE_N(n); |
1722 | } |
1723 | |
1724 | // This file is auto-generated. Please don't modify it. |
1725 | CC_INLINE cc_size |
1726 | CCEC_DER_EXPORT_DIVERSIFIED_PUB_WORKSPACE_N(cc_size n) |
1727 | { |
1728 | return ((2 * n) + 1) + ((2 * n) + 1); |
1729 | } |
1730 | |
1731 | // This file is auto-generated. Please don't modify it. |
1732 | CC_INLINE cc_size |
1733 | CCEC_DER_EXPORT_PRIV_WORKSPACE_N(cc_size n) |
1734 | { |
1735 | return (n) + ((2 * n) + 1); |
1736 | } |
1737 | |
1738 | // This file is auto-generated. Please don't modify it. |
1739 | CC_INLINE cc_size |
1740 | CCEC_DIVERSIFY_PRIV_TWIN_WORKSPACE_N(cc_size n) |
1741 | { |
1742 | return (n) + (n) + CC_MAX_EVAL(CCEC_MAKE_PUB_FROM_PRIV_WORKSPACE_N(n), CCEC_GENERATE_SCALAR_FIPS_EXTRABITS_WORKSPACE_N(n)); |
1743 | } |
1744 | |
1745 | // This file is auto-generated. Please don't modify it. |
1746 | CC_INLINE cc_size |
1747 | CCEC_DIVERSIFY_PUB_TWIN_WORKSPACE_N(cc_size n) |
1748 | { |
1749 | return (n) + (n) + (3 * n) + (3 * n) + (3 * n) + |
1750 | CC_MAX_EVAL(CCEC_MULT_BLINDED_WORKSPACE_N(n), CCEC_GENERATE_SCALAR_FIPS_EXTRABITS_WORKSPACE_N(n)); |
1751 | } |
1752 | |
1753 | // This file is auto-generated. Please don't modify it. |
1754 | CC_INLINE cc_size |
1755 | CCEC_DIVERSIFY_PUB_WORKSPACE_N(cc_size n) |
1756 | { |
1757 | return (n) + CC_MAX_EVAL(CCEC_MAKE_PUB_FROM_PRIV_WORKSPACE_N(n), CCEC_GENERATE_SCALAR_FIPS_EXTRABITS_WORKSPACE_N(n)); |
1758 | } |
1759 | |
1760 | // This file is auto-generated. Please don't modify it. |
1761 | CC_INLINE cc_size |
1762 | CCEC_DIVERSIFY_TWIN_SCALARS_WORKSPACE_N(cc_size n) |
1763 | { |
1764 | return CCEC_GENERATE_SCALAR_FIPS_EXTRABITS_WORKSPACE_N(n); |
1765 | } |
1766 | |
1767 | // This file is auto-generated. Please don't modify it. |
1768 | CC_INLINE cc_size |
1769 | CCEC_DOUBLE_WORKSPACE_N(cc_size n) |
1770 | { |
1771 | return (n) + (n) + CCZP_MUL_DEFAULT_WORKSPACE_N(n); |
1772 | } |
1773 | |
1774 | // This file is auto-generated. Please don't modify it. |
1775 | CC_INLINE cc_size |
1776 | (cc_size n) |
1777 | { |
1778 | return (n) + (n); |
1779 | } |
1780 | |
1781 | // This file is auto-generated. Please don't modify it. |
1782 | CC_INLINE cc_size |
1783 | CCEC_FULL_ADD_DEFAULT_WORKSPACE_N(cc_size n) |
1784 | { |
1785 | return CCEC_ADD_WORKSPACE_N(n); |
1786 | } |
1787 | |
1788 | // This file is auto-generated. Please don't modify it. |
1789 | CC_INLINE cc_size |
1790 | CCEC_FULL_ADD_NORMALIZED_WORKSPACE_N(cc_size n) |
1791 | { |
1792 | return CCEC_ADD_WORKSPACE_N(n); |
1793 | } |
1794 | |
1795 | // This file is auto-generated. Please don't modify it. |
1796 | CC_INLINE cc_size |
1797 | CCEC_FULL_ADD_WORKSPACE_N(cc_size n) |
1798 | { |
1799 | return CCED448_FULL_ADD_WORKSPACE_N(n); |
1800 | } |
1801 | |
1802 | // This file is auto-generated. Please don't modify it. |
1803 | CC_INLINE cc_size |
1804 | CCEC_FULL_SUB_NORMALIZED_WORKSPACE_N(cc_size n) |
1805 | { |
1806 | return CCEC_ADD_WORKSPACE_N(n); |
1807 | } |
1808 | |
1809 | // This file is auto-generated. Please don't modify it. |
1810 | CC_INLINE cc_size |
1811 | CCEC_FULL_SUB_WORKSPACE_N(cc_size n) |
1812 | { |
1813 | return CCEC_ADD_WORKSPACE_N(n); |
1814 | } |
1815 | |
1816 | // This file is auto-generated. Please don't modify it. |
1817 | CC_INLINE cc_size |
1818 | CCEC_GENERATE_BLINDING_KEYS_WORKSPACE_N(cc_size n) |
1819 | { |
1820 | return (((((sizeof_struct_ccec_pub_ctx()) + (3 * ((sizeof_cc_unit()) * n))) + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit())) + |
1821 | (3 * n) + CCEC_BLINDING_OP_WORKSPACE_N(n); |
1822 | } |
1823 | |
1824 | // This file is auto-generated. Please don't modify it. |
1825 | CC_INLINE cc_size |
1826 | CCEC_GENERATE_DIVERSIFIED_KEY_WORKSPACE_N(cc_size n) |
1827 | { |
1828 | return CCECDH_PAIRWISE_CONSISTENCY_CHECK_WORKSPACE_N(n); |
1829 | } |
1830 | |
1831 | // This file is auto-generated. Please don't modify it. |
1832 | CC_INLINE cc_size |
1833 | CCEC_GENERATE_KEY_DETERMINISTIC_WORKSPACE_N(cc_size n) |
1834 | { |
1835 | return CCEC_PAIRWISE_CONSISTENCY_CHECK_WORKSPACE_N(n); |
1836 | } |
1837 | |
1838 | // This file is auto-generated. Please don't modify it. |
1839 | CC_INLINE cc_size |
1840 | CCEC_GENERATE_KEY_FIPS_WORKSPACE_N(cc_size n) |
1841 | { |
1842 | return CCEC_PAIRWISE_CONSISTENCY_CHECK_WORKSPACE_N(n); |
1843 | } |
1844 | |
1845 | // This file is auto-generated. Please don't modify it. |
1846 | CC_INLINE cc_size |
1847 | CCEC_GENERATE_KEY_INTERNAL_FIPS_WORKSPACE_N(cc_size n) |
1848 | { |
1849 | return (n) + CCEC_MAKE_PUB_FROM_PRIV_WORKSPACE_N(n); |
1850 | } |
1851 | |
1852 | // This file is auto-generated. Please don't modify it. |
1853 | CC_INLINE cc_size |
1854 | CCEC_GENERATE_KEY_INTERNAL_LEGACY_WORKSPACE_N(cc_size n) |
1855 | { |
1856 | return (n) + CCEC_MAKE_PUB_FROM_PRIV_WORKSPACE_N(n); |
1857 | } |
1858 | |
1859 | // This file is auto-generated. Please don't modify it. |
1860 | CC_INLINE cc_size |
1861 | (cc_size n) |
1862 | { |
1863 | return (((128 + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit())) + (n) + CCN_DIVMOD_WORKSPACE_N(n); |
1864 | } |
1865 | |
1866 | // This file is auto-generated. Please don't modify it. |
1867 | CC_INLINE cc_size |
1868 | CCEC_GENERATE_SCALAR_FIPS_RETRY_WORKSPACE_N(cc_size n) |
1869 | { |
1870 | return n; |
1871 | } |
1872 | |
1873 | // This file is auto-generated. Please don't modify it. |
1874 | CC_INLINE cc_size |
1875 | CCEC_GENERATE_SCALAR_LEGACY_WORKSPACE_N(cc_size n) |
1876 | { |
1877 | return n; |
1878 | } |
1879 | |
1880 | // This file is auto-generated. Please don't modify it. |
1881 | CC_INLINE cc_size |
1882 | CCEC_IMPORT_AFFINE_POINT_WORKSPACE_N(cc_size n) |
1883 | { |
1884 | return (n) + CCEC_AFFINE_POINT_FROM_X_WORKSPACE_N(n); |
1885 | } |
1886 | |
1887 | // This file is auto-generated. Please don't modify it. |
1888 | CC_INLINE cc_size |
1889 | CCEC_IMPORT_PUB_WORKSPACE_N(cc_size n) |
1890 | { |
1891 | return CCEC_X963_IMPORT_PUB_WORKSPACE_N(n); |
1892 | } |
1893 | |
1894 | // This file is auto-generated. Please don't modify it. |
1895 | CC_INLINE cc_size |
1896 | CCEC_IS_COMPACTABLE_POINT_WORKSPACE_N(cc_size n) |
1897 | { |
1898 | return n; |
1899 | } |
1900 | |
1901 | // This file is auto-generated. Please don't modify it. |
1902 | CC_INLINE cc_size |
1903 | CCEC_IS_POINT_PROJECTIVE_WORKSPACE_N(cc_size n) |
1904 | { |
1905 | return (n) + (n) + (n) + CCZP_MUL_DEFAULT_WORKSPACE_N(n); |
1906 | } |
1907 | |
1908 | // This file is auto-generated. Please don't modify it. |
1909 | CC_INLINE cc_size |
1910 | CCEC_IS_POINT_WORKSPACE_N(cc_size n) |
1911 | { |
1912 | return CCEC_IS_POINT_PROJECTIVE_WORKSPACE_N(n); |
1913 | } |
1914 | |
1915 | // This file is auto-generated. Please don't modify it. |
1916 | CC_INLINE cc_size |
1917 | CCEC_MAKE_PUB_FROM_PRIV_WORKSPACE_N(cc_size n) |
1918 | { |
1919 | return (3 * n) + CCEC_MULT_BLINDED_WORKSPACE_N(n); |
1920 | } |
1921 | |
1922 | // This file is auto-generated. Please don't modify it. |
1923 | CC_INLINE cc_size |
1924 | CCEC_MULT_BLINDED_WORKSPACE_N(cc_size n) |
1925 | { |
1926 | return (3 * n) + (n) + CCEC_MULT_DEFAULT_WORKSPACE_N(n); |
1927 | } |
1928 | |
1929 | // This file is auto-generated. Please don't modify it. |
1930 | CC_INLINE cc_size |
1931 | CCEC_MULT_DEFAULT_WORKSPACE_N(cc_size n) |
1932 | { |
1933 | return (3 * n) + (n) + CCED448_FULL_ADD_WORKSPACE_N(n); |
1934 | } |
1935 | |
1936 | // This file is auto-generated. Please don't modify it. |
1937 | CC_INLINE cc_size |
1938 | CCEC_MULT_INNER_WORKSPACE_N(cc_size n) |
1939 | { |
1940 | return (2 * n) + (2 * n) + (2 * n) + CCEC_MULT_XYCZADDC_WORKSPACE_N(n); |
1941 | } |
1942 | |
1943 | // This file is auto-generated. Please don't modify it. |
1944 | CC_INLINE cc_size |
1945 | CCEC_MULT_WORKSPACE_N(cc_size n) |
1946 | { |
1947 | return CCEC_MULT_DEFAULT_WORKSPACE_N(n); |
1948 | } |
1949 | |
1950 | // This file is auto-generated. Please don't modify it. |
1951 | CC_INLINE cc_size |
1952 | CCEC_MULT_XYCZADDC_WORKSPACE_N(cc_size n) |
1953 | { |
1954 | return (n) + (n) + (n) + CCZP_MUL_DEFAULT_WORKSPACE_N(n); |
1955 | } |
1956 | |
1957 | // This file is auto-generated. Please don't modify it. |
1958 | CC_INLINE cc_size |
1959 | CCEC_MULT_XYCZADD_WORKSPACE_N(cc_size n) |
1960 | { |
1961 | return (n) + (n) + CCZP_MUL_DEFAULT_WORKSPACE_N(n); |
1962 | } |
1963 | |
1964 | // This file is auto-generated. Please don't modify it. |
1965 | CC_INLINE cc_size |
1966 | CCEC_MULT_XYCZDBLJAC_WORKSPACE_N(cc_size n) |
1967 | { |
1968 | return (n) + (n) + (n) + CCZP_MUL_DEFAULT_WORKSPACE_N(n); |
1969 | } |
1970 | |
1971 | // This file is auto-generated. Please don't modify it. |
1972 | CC_INLINE cc_size |
1973 | CCEC_MULT_XYCZRECOVERCOEFFJAC_WORKSPACE_N(cc_size n) |
1974 | { |
1975 | return CCZP_MUL_DEFAULT_WORKSPACE_N(n); |
1976 | } |
1977 | |
1978 | // This file is auto-generated. Please don't modify it. |
1979 | CC_INLINE cc_size |
1980 | CCEC_PAIRWISE_CONSISTENCY_CHECK_WORKSPACE_N(cc_size n) |
1981 | { |
1982 | return (n) + (n) + CCEC_VERIFY_INTERNAL_WITH_BASE_WORKSPACE_N(n); |
1983 | } |
1984 | |
1985 | // This file is auto-generated. Please don't modify it. |
1986 | CC_INLINE cc_size |
1987 | CCEC_PRINT_PROJECTIVE_POINT_WORKSPACE_N(cc_size n) |
1988 | { |
1989 | return (3 * n) + CCEC_AFFINIFY_JACOBIAN_WORKSPACE_N(n); |
1990 | } |
1991 | |
1992 | // This file is auto-generated. Please don't modify it. |
1993 | CC_INLINE cc_size |
1994 | CCEC_PROJECTIFY_HOMOGENEOUS_WORKSPACE_N(cc_size n) |
1995 | { |
1996 | return CCZP_GENERATE_NON_ZERO_ELEMENT_WORKSPACE_N(n); |
1997 | } |
1998 | |
1999 | // This file is auto-generated. Please don't modify it. |
2000 | CC_INLINE cc_size |
2001 | CCEC_PROJECTIFY_JACOBIAN_WORKSPACE_N(cc_size n) |
2002 | { |
2003 | return CCZP_MUL_DEFAULT_WORKSPACE_N(n); |
2004 | } |
2005 | |
2006 | // This file is auto-generated. Please don't modify it. |
2007 | CC_INLINE cc_size |
2008 | CCEC_PROJECTIFY_WORKSPACE_N(cc_size n) |
2009 | { |
2010 | return CCZP_GENERATE_NON_ZERO_ELEMENT_WORKSPACE_N(n); |
2011 | } |
2012 | |
2013 | // This file is auto-generated. Please don't modify it. |
2014 | CC_INLINE cc_size |
2015 | CCEC_RFC6637_UNWRAP_KEY_WORKSPACE_N(cc_size n) |
2016 | { |
2017 | return (n) + |
2018 | (((((sizeof_struct_ccec_pub_ctx()) + (3 * ((sizeof_cc_unit()) * n))) + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit())) + |
2019 | (((((((2 + 1) + 48) + 1) + (2 * ((sizeof_cc_unit()) * n))) + 2) + 36) + ((sizeof_cc_unit()) * n)) + |
2020 | CCECDH_COMPUTE_SHARED_SECRET_WORKSPACE_N(n); |
2021 | } |
2022 | |
2023 | // This file is auto-generated. Please don't modify it. |
2024 | CC_INLINE cc_size |
2025 | CCEC_RFC6637_WRAP_CORE_WORKSPACE_N(cc_size n) |
2026 | { |
2027 | return (n) + ((2 * n) + 1) + CCECDH_COMPUTE_SHARED_SECRET_WORKSPACE_N(n); |
2028 | } |
2029 | |
2030 | // This file is auto-generated. Please don't modify it. |
2031 | CC_INLINE cc_size |
2032 | CCEC_RFC6637_WRAP_KEY_DIVERSIFIED_WORKSPACE_N(cc_size n) |
2033 | { |
2034 | return (((((sizeof_struct_ccec_full_ctx()) + (4 * ((sizeof_cc_unit()) * n))) + (sizeof_cc_unit())) - 1) / |
2035 | (sizeof_cc_unit())) + |
2036 | CCECDH_PAIRWISE_CONSISTENCY_CHECK_WORKSPACE_N(n); |
2037 | } |
2038 | |
2039 | // This file is auto-generated. Please don't modify it. |
2040 | CC_INLINE cc_size |
2041 | CCEC_RFC6637_WRAP_KEY_WORKSPACE_N(cc_size n) |
2042 | { |
2043 | return (((((sizeof_struct_ccec_full_ctx()) + (4 * ((sizeof_cc_unit()) * n))) + (sizeof_cc_unit())) - 1) / |
2044 | (sizeof_cc_unit())) + |
2045 | CCECDH_PAIRWISE_CONSISTENCY_CHECK_WORKSPACE_N(n); |
2046 | } |
2047 | |
2048 | // This file is auto-generated. Please don't modify it. |
2049 | CC_INLINE cc_size |
2050 | CCEC_SIGN_COMPOSITE_WORKSPACE_N(cc_size n) |
2051 | { |
2052 | return (n) + (n) + CCEC_SIGN_INTERNAL_WORKSPACE_N(n); |
2053 | } |
2054 | |
2055 | // This file is auto-generated. Please don't modify it. |
2056 | CC_INLINE cc_size |
2057 | CCEC_SIGN_INTERNAL_INNER_WORKSPACE_N(cc_size n) |
2058 | { |
2059 | return (n) + (3 * n) + CCEC_MULT_BLINDED_WORKSPACE_N(n); |
2060 | } |
2061 | |
2062 | // This file is auto-generated. Please don't modify it. |
2063 | CC_INLINE cc_size |
2064 | CCEC_SIGN_INTERNAL_WORKSPACE_N(cc_size n) |
2065 | { |
2066 | return (n) + (n) + (n) + (3 * n) + CCEC_SIGN_INTERNAL_INNER_WORKSPACE_N(n); |
2067 | } |
2068 | |
2069 | // This file is auto-generated. Please don't modify it. |
2070 | CC_INLINE cc_size |
2071 | CCEC_SIGN_MSG_WORKSPACE_N(cc_size n) |
2072 | { |
2073 | return CCEC_SIGN_WORKSPACE_N(n); |
2074 | } |
2075 | |
2076 | // This file is auto-generated. Please don't modify it. |
2077 | CC_INLINE cc_size |
2078 | CCEC_SIGN_WORKSPACE_N(cc_size n) |
2079 | { |
2080 | return (n) + (n) + CCEC_SIGN_INTERNAL_WORKSPACE_N(n); |
2081 | } |
2082 | |
2083 | // This file is auto-generated. Please don't modify it. |
2084 | CC_INLINE cc_size |
2085 | CCEC_TWIN_MULT_NORMALIZE_WORKSPACE_N(cc_size n) |
2086 | { |
2087 | return (n) + (n) + CCZP_MUL_DEFAULT_WORKSPACE_N(n); |
2088 | } |
2089 | |
2090 | // This file is auto-generated. Please don't modify it. |
2091 | CC_INLINE cc_size |
2092 | CCEC_TWIN_MULT_WORKSPACE_N(cc_size n) |
2093 | { |
2094 | return (n) + (n) + (n) + (4 * (3 * n)) + CCED448_FULL_ADD_WORKSPACE_N(n); |
2095 | } |
2096 | |
2097 | // This file is auto-generated. Please don't modify it. |
2098 | CC_INLINE cc_size |
2099 | CCEC_VALIDATE_POINT_AND_PROJECTIFY_WORKSPACE_N(cc_size n) |
2100 | { |
2101 | return CC_MAX_EVAL(CCZP_GENERATE_NON_ZERO_ELEMENT_WORKSPACE_N(n), CCEC_IS_POINT_PROJECTIVE_WORKSPACE_N(n)); |
2102 | } |
2103 | |
2104 | // This file is auto-generated. Please don't modify it. |
2105 | CC_INLINE cc_size |
2106 | CCEC_VALIDATE_PUB_WORKSPACE_N(cc_size n) |
2107 | { |
2108 | return (3 * n) + CCEC_VALIDATE_POINT_AND_PROJECTIFY_WORKSPACE_N(n); |
2109 | } |
2110 | |
2111 | // This file is auto-generated. Please don't modify it. |
2112 | CC_INLINE cc_size |
2113 | CCEC_VERIFY_COMPOSITE_DIGEST_WORKSPACE_N(cc_size n) |
2114 | { |
2115 | return (n) + (n) + CCEC_VERIFY_INTERNAL_WITH_BASE_WORKSPACE_N(n); |
2116 | } |
2117 | |
2118 | // This file is auto-generated. Please don't modify it. |
2119 | CC_INLINE cc_size |
2120 | CCEC_VERIFY_COMPUTEMULTS_WORKSPACE_N(cc_size n) |
2121 | { |
2122 | return CCEC_TWIN_MULT_WORKSPACE_N(n); |
2123 | } |
2124 | |
2125 | // This file is auto-generated. Please don't modify it. |
2126 | CC_INLINE cc_size |
2127 | CCEC_VERIFY_DIGEST_WORKSPACE_N(cc_size n) |
2128 | { |
2129 | return (n) + (n) + CCEC_VERIFY_INTERNAL_WITH_BASE_WORKSPACE_N(n); |
2130 | } |
2131 | |
2132 | // This file is auto-generated. Please don't modify it. |
2133 | CC_INLINE cc_size |
2134 | CCEC_VERIFY_INTERNAL_WITH_BASE_WORKSPACE_N(cc_size n) |
2135 | { |
2136 | return (n) + (n) + (n) + (n) + (3 * n) + (3 * n) + (n) + (n) + CCEC_TWIN_MULT_WORKSPACE_N(n); |
2137 | } |
2138 | |
2139 | // This file is auto-generated. Please don't modify it. |
2140 | CC_INLINE cc_size |
2141 | CCEC_VERIFY_INTERNAL_WORKSPACE_N(cc_size n) |
2142 | { |
2143 | return CCEC_VERIFY_INTERNAL_WITH_BASE_WORKSPACE_N(n); |
2144 | } |
2145 | |
2146 | // This file is auto-generated. Please don't modify it. |
2147 | CC_INLINE cc_size |
2148 | CCEC_VERIFY_MSG_WORKSPACE_N(cc_size n) |
2149 | { |
2150 | return CCEC_VERIFY_DIGEST_WORKSPACE_N(n); |
2151 | } |
2152 | |
2153 | // This file is auto-generated. Please don't modify it. |
2154 | CC_INLINE cc_size |
2155 | CCEC_VERIFY_SINGLEMULTS_WORKSPACE_N(cc_size n) |
2156 | { |
2157 | return (3 * n) + CCEC_MULT_DEFAULT_WORKSPACE_N(n); |
2158 | } |
2159 | |
2160 | // This file is auto-generated. Please don't modify it. |
2161 | CC_INLINE cc_size |
2162 | CCEC_VERIFY_STRICT_WORKSPACE_N(cc_size n) |
2163 | { |
2164 | return (n) + (n) + CCEC_VERIFY_INTERNAL_WITH_BASE_WORKSPACE_N(n); |
2165 | } |
2166 | |
2167 | // This file is auto-generated. Please don't modify it. |
2168 | CC_INLINE cc_size |
2169 | CCEC_VERIFY_TWINMULT_WORKSPACE_N(cc_size n) |
2170 | { |
2171 | return CCEC_TWIN_MULT_WORKSPACE_N(n); |
2172 | } |
2173 | |
2174 | // This file is auto-generated. Please don't modify it. |
2175 | CC_INLINE cc_size |
2176 | CCEC_X963_IMPORT_PRIV_WORKSPACE_N(cc_size n) |
2177 | { |
2178 | return CCEC_X963_IMPORT_PUB_WORKSPACE_N(n); |
2179 | } |
2180 | |
2181 | // This file is auto-generated. Please don't modify it. |
2182 | CC_INLINE cc_size |
2183 | CCEC_X963_IMPORT_PUB_WORKSPACE_N(cc_size n) |
2184 | { |
2185 | return (3 * n) + CCEC_IMPORT_AFFINE_POINT_WORKSPACE_N(n); |
2186 | } |
2187 | |
2188 | // This file is auto-generated. Please don't modify it. |
2189 | CC_INLINE cc_size |
2190 | CCED25519_ADD_POINTS_UNIFIED_CACHED_WORKSPACE_N(cc_size n) |
2191 | { |
2192 | return (n) + (n) + CCZP_MUL_DEFAULT_WORKSPACE_N(n); |
2193 | } |
2194 | |
2195 | // This file is auto-generated. Please don't modify it. |
2196 | CC_INLINE cc_size |
2197 | CCED25519_ADD_POINTS_UNIFIED_WORKSPACE_N(cc_size n) |
2198 | { |
2199 | return CCED25519_ADD_POINTS_UNIFIED_CACHED_WORKSPACE_N(n); |
2200 | } |
2201 | |
2202 | // This file is auto-generated. Please don't modify it. |
2203 | CC_INLINE cc_size |
2204 | CCED25519_ADD_PRECOMPUTED_POINT_WORKSPACE_N(cc_size n) |
2205 | { |
2206 | return CCED25519_ADD_POINTS_UNIFIED_CACHED_WORKSPACE_N(n); |
2207 | } |
2208 | |
2209 | // This file is auto-generated. Please don't modify it. |
2210 | CC_INLINE cc_size |
2211 | CCED25519_DBL_POINT_WORKSPACE_N(cc_size n) |
2212 | { |
2213 | return (n) + (n) + CCZP_MUL_DEFAULT_WORKSPACE_N(n); |
2214 | } |
2215 | |
2216 | // This file is auto-generated. Please don't modify it. |
2217 | CC_INLINE cc_size |
2218 | CCED25519_DECODE_PUBLIC_AND_NEGATE_KEY_WORKSPACE_N(cc_size n) |
2219 | { |
2220 | return (n) + (n) + (n) + CCZP_POWER_FAST_WORKSPACE_N(n); |
2221 | } |
2222 | |
2223 | // This file is auto-generated. Please don't modify it. |
2224 | CC_INLINE cc_size |
2225 | CCED25519_DOUBLE_SCALAR_MULT_WORKSPACE_N(cc_size n) |
2226 | { |
2227 | return (4 * n) + (8 * (4 * n)) + CCED25519_ADD_POINTS_UNIFIED_CACHED_WORKSPACE_N(n); |
2228 | } |
2229 | |
2230 | // This file is auto-generated. Please don't modify it. |
2231 | CC_PURE CC_INLINE cc_size |
2232 | CCED25519_FROM_ED25519_POINT_WORKSPACE_N(CC_UNUSED cc_size n) |
2233 | { |
2234 | return 0; |
2235 | } |
2236 | |
2237 | // This file is auto-generated. Please don't modify it. |
2238 | CC_INLINE cc_size |
2239 | CCED25519_FULL_ADD_WORKSPACE_N(cc_size n) |
2240 | { |
2241 | return (4 * n) + (4 * n) + CCED25519_ADD_POINTS_UNIFIED_CACHED_WORKSPACE_N(n); |
2242 | } |
2243 | |
2244 | // This file is auto-generated. Please don't modify it. |
2245 | CC_INLINE cc_size |
2246 | CCED25519_HASH_TO_SCALAR_WORKSPACE_N(cc_size n) |
2247 | { |
2248 | return (2 * n) + CCZP_MODN_WORKSPACE_N(n); |
2249 | } |
2250 | |
2251 | // This file is auto-generated. Please don't modify it. |
2252 | CC_INLINE cc_size |
2253 | CCED25519_POINT_TO_CACHED_WORKSPACE_N(cc_size n) |
2254 | { |
2255 | return CCZP_MUL_DEFAULT_WORKSPACE_N(n); |
2256 | } |
2257 | |
2258 | // This file is auto-generated. Please don't modify it. |
2259 | CC_PURE CC_INLINE cc_size |
2260 | CCED25519_SCALAR_MULT_WORKSPACE_N(CC_UNUSED cc_size n) |
2261 | { |
2262 | return 0; |
2263 | } |
2264 | |
2265 | // This file is auto-generated. Please don't modify it. |
2266 | CC_INLINE cc_size |
2267 | CCED25519_TO_ED25519_POINT_WORKSPACE_N(cc_size n) |
2268 | { |
2269 | return CCZP_MUL_DEFAULT_WORKSPACE_N(n); |
2270 | } |
2271 | |
2272 | // This file is auto-generated. Please don't modify it. |
2273 | CC_INLINE cc_size |
2274 | CCED25519_VERIFY_WORKSPACE_N(cc_size n) |
2275 | { |
2276 | return (n) + (n) + (3 * n) + CCED25519_DOUBLE_SCALAR_MULT_WORKSPACE_N(n); |
2277 | } |
2278 | |
2279 | // This file is auto-generated. Please don't modify it. |
2280 | CC_INLINE cc_size |
2281 | CCED448_ADD_POINTS_UNIFIED_CACHED_WORKSPACE_N(cc_size n) |
2282 | { |
2283 | return (n) + (n) + CCZP_MUL_DEFAULT_WORKSPACE_N(n); |
2284 | } |
2285 | |
2286 | // This file is auto-generated. Please don't modify it. |
2287 | CC_INLINE cc_size |
2288 | CCED448_ADD_POINTS_UNIFIED_WORKSPACE_N(cc_size n) |
2289 | { |
2290 | return CCED448_ADD_POINTS_UNIFIED_CACHED_WORKSPACE_N(n); |
2291 | } |
2292 | |
2293 | // This file is auto-generated. Please don't modify it. |
2294 | CC_INLINE cc_size |
2295 | CCED448_ADD_POINTS_WORKSPACE_N(cc_size n) |
2296 | { |
2297 | return (n) + (n) + CCZP_MUL_DEFAULT_WORKSPACE_N(n); |
2298 | } |
2299 | |
2300 | // This file is auto-generated. Please don't modify it. |
2301 | CC_INLINE cc_size |
2302 | CCED448_ADD_PRECOMPUTED_POINT_WORKSPACE_N(cc_size n) |
2303 | { |
2304 | return CCED448_ADD_POINTS_UNIFIED_CACHED_WORKSPACE_N(n); |
2305 | } |
2306 | |
2307 | // This file is auto-generated. Please don't modify it. |
2308 | CC_INLINE cc_size |
2309 | CCED448_DBL_POINT_WORKSPACE_N(cc_size n) |
2310 | { |
2311 | return (n) + (n) + CCZP_MUL_DEFAULT_WORKSPACE_N(n); |
2312 | } |
2313 | |
2314 | // This file is auto-generated. Please don't modify it. |
2315 | CC_INLINE cc_size |
2316 | CCED448_DECODE_PUBLIC_KEY_AND_NEGATE_WORKSPACE_N(cc_size n) |
2317 | { |
2318 | return (n) + (n) + (n) + CCZP_POWER_FAST_WORKSPACE_N(n); |
2319 | } |
2320 | |
2321 | // This file is auto-generated. Please don't modify it. |
2322 | CC_INLINE cc_size |
2323 | CCED448_DOUBLE_SCALAR_MULT_WORKSPACE_N(cc_size n) |
2324 | { |
2325 | return (4 * n) + (8 * (4 * n)) + CCED448_ADD_POINTS_UNIFIED_CACHED_WORKSPACE_N(n); |
2326 | } |
2327 | |
2328 | // This file is auto-generated. Please don't modify it. |
2329 | CC_PURE CC_INLINE cc_size |
2330 | CCED448_FROM_ED448_POINT_WORKSPACE_N(CC_UNUSED cc_size n) |
2331 | { |
2332 | return 0; |
2333 | } |
2334 | |
2335 | // This file is auto-generated. Please don't modify it. |
2336 | CC_INLINE cc_size |
2337 | CCED448_FULL_ADD_WORKSPACE_N(cc_size n) |
2338 | { |
2339 | return (4 * n) + (4 * n) + CCED448_ADD_POINTS_UNIFIED_CACHED_WORKSPACE_N(n); |
2340 | } |
2341 | |
2342 | // This file is auto-generated. Please don't modify it. |
2343 | CC_INLINE cc_size |
2344 | CCED448_MAKE_PUB_WORKSPACE_N(cc_size n) |
2345 | { |
2346 | return (n) + (3 * n) + CCED448_SCALAR_MULT_BASE_MASKED_WORKSPACE_N(n); |
2347 | } |
2348 | |
2349 | // This file is auto-generated. Please don't modify it. |
2350 | CC_INLINE cc_size |
2351 | CCED448_POINT_TO_CACHED_WORKSPACE_N(cc_size n) |
2352 | { |
2353 | return CCZP_MUL_DEFAULT_WORKSPACE_N(n); |
2354 | } |
2355 | |
2356 | // This file is auto-generated. Please don't modify it. |
2357 | CC_INLINE cc_size |
2358 | CCED448_SCALAR_MULT_BASE_MASKED_WORKSPACE_N(cc_size n) |
2359 | { |
2360 | return (3 * n) + CCEC_MULT_BLINDED_WORKSPACE_N(n); |
2361 | } |
2362 | |
2363 | // This file is auto-generated. Please don't modify it. |
2364 | CC_INLINE cc_size |
2365 | CCED448_SCALAR_MULT_WORKSPACE_N(cc_size n) |
2366 | { |
2367 | return (4 * n) + (4 * n) + CCED448_ADD_POINTS_WORKSPACE_N(n); |
2368 | } |
2369 | |
2370 | // This file is auto-generated. Please don't modify it. |
2371 | CC_INLINE cc_size |
2372 | CCED448_SHAKE_TO_SCALAR_WORKSPACE_N(cc_size n) |
2373 | { |
2374 | return ((2 * n) + 1) + CCZP_MODN_WORKSPACE_N(n); |
2375 | } |
2376 | |
2377 | // This file is auto-generated. Please don't modify it. |
2378 | CC_INLINE cc_size |
2379 | CCED448_SIGN_WORKSPACE_N(cc_size n) |
2380 | { |
2381 | return (n) + (n) + (n) + (3 * n) + CCED448_SCALAR_MULT_BASE_MASKED_WORKSPACE_N(n); |
2382 | } |
2383 | |
2384 | // This file is auto-generated. Please don't modify it. |
2385 | CC_INLINE cc_size |
2386 | CCED448_TO_ED448_POINT_WORKSPACE_N(cc_size n) |
2387 | { |
2388 | return CCZP_MUL_DEFAULT_WORKSPACE_N(n); |
2389 | } |
2390 | |
2391 | // This file is auto-generated. Please don't modify it. |
2392 | CC_INLINE cc_size |
2393 | CCED448_VERIFY_WORKSPACE_N(cc_size n) |
2394 | { |
2395 | return (n) + (n) + (3 * n) + CCED448_DOUBLE_SCALAR_MULT_WORKSPACE_N(n); |
2396 | } |
2397 | |
2398 | // This file is auto-generated. Please don't modify it. |
2399 | CC_INLINE cc_size |
2400 | CCH2C_CCZP_INV0_WORKSPACE_N(cc_size n) |
2401 | { |
2402 | return CCZP_INV_DEFAULT_WORKSPACE_N(n); |
2403 | } |
2404 | |
2405 | // This file is auto-generated. Please don't modify it. |
2406 | CC_INLINE cc_size |
2407 | CCH2C_ENCODE_TO_CURVE_RO_WORKSPACE_N(cc_size n) |
2408 | { |
2409 | return (n) + (n) + |
2410 | (((((sizeof_struct_ccec_pub_ctx()) + (3 * ((sizeof_cc_unit()) * n))) + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit())) + |
2411 | (((((sizeof_struct_ccec_pub_ctx()) + (3 * ((sizeof_cc_unit()) * n))) + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit())) + |
2412 | CCH2C_MAP_TO_CURVE_SSWU_WORKSPACE_N(n); |
2413 | } |
2414 | |
2415 | // This file is auto-generated. Please don't modify it. |
2416 | CC_INLINE cc_size |
2417 | CCH2C_ENCODE_TO_CURVE_WORKSPACE_N(cc_size n) |
2418 | { |
2419 | return CCH2C_ENCODE_TO_CURVE_RO_WORKSPACE_N(n); |
2420 | } |
2421 | |
2422 | // This file is auto-generated. Please don't modify it. |
2423 | CC_INLINE cc_size |
2424 | CCH2C_HASH_TO_BASE_RFC_WORKSPACE_N(cc_size n) |
2425 | { |
2426 | return (2 * n) + CCZP_MM_MOD_WORKSPACE_N(n); |
2427 | } |
2428 | |
2429 | // This file is auto-generated. Please don't modify it. |
2430 | CC_INLINE cc_size |
2431 | CCH2C_HASH_TO_BASE_SAE_WORKSPACE_N(cc_size n) |
2432 | { |
2433 | return (2 * n) + CCZP_MM_MOD_WORKSPACE_N(n); |
2434 | } |
2435 | |
2436 | // This file is auto-generated. Please don't modify it. |
2437 | CC_INLINE cc_size |
2438 | CCH2C_HASH_TO_BASE_WORKSPACE_N(cc_size n) |
2439 | { |
2440 | return CCH2C_HASH_TO_BASE_RFC_WORKSPACE_N(n); |
2441 | } |
2442 | |
2443 | // This file is auto-generated. Please don't modify it. |
2444 | CC_INLINE cc_size |
2445 | CCH2C_MAP_TO_CURVE_SSWU_WORKSPACE_N(cc_size n) |
2446 | { |
2447 | return (n) + (n) + (n) + (n) + CCZP_SQRT_TONELLI_SHANKS_WORKSPACE_N(n); |
2448 | } |
2449 | |
2450 | // This file is auto-generated. Please don't modify it. |
2451 | CC_INLINE cc_size |
2452 | CCH2C_MAP_TO_CURVE_WORKSPACE_N(cc_size n) |
2453 | { |
2454 | return CCH2C_MAP_TO_CURVE_SSWU_WORKSPACE_N(n); |
2455 | } |
2456 | |
2457 | // This file is auto-generated. Please don't modify it. |
2458 | CC_INLINE cc_size |
2459 | CCH2C_WORKSPACE_N(cc_size n) |
2460 | { |
2461 | return CCH2C_ENCODE_TO_CURVE_RO_WORKSPACE_N(n); |
2462 | } |
2463 | |
2464 | // This file is auto-generated. Please don't modify it. |
2465 | CC_PURE CC_INLINE cc_size |
2466 | CCN_ADD1_WORKSPACE_N(CC_UNUSED cc_size n) |
2467 | { |
2468 | return 0; |
2469 | } |
2470 | |
2471 | // This file is auto-generated. Please don't modify it. |
2472 | CC_PURE CC_INLINE cc_size |
2473 | CCN_ADD_WORKSPACE_N(CC_UNUSED cc_size n) |
2474 | { |
2475 | return 0; |
2476 | } |
2477 | |
2478 | // This file is auto-generated. Please don't modify it. |
2479 | CC_INLINE cc_size |
2480 | CCN_DIVMOD_WORKSPACE_N(cc_size n) |
2481 | { |
2482 | return (n + 1) + (n + 1) + (n + 1); |
2483 | } |
2484 | |
2485 | // This file is auto-generated. Please don't modify it. |
2486 | CC_INLINE cc_size |
2487 | CCN_DIV_EXACT_WORKSPACE_N(cc_size n) |
2488 | { |
2489 | return (n) + (n) + (n); |
2490 | } |
2491 | |
2492 | // This file is auto-generated. Please don't modify it. |
2493 | CC_INLINE cc_size |
2494 | CCN_GCD_UPDATE_WORKSPACE_N(cc_size n) |
2495 | { |
2496 | return (n + 1) + (n + 1); |
2497 | } |
2498 | |
2499 | // This file is auto-generated. Please don't modify it. |
2500 | CC_INLINE cc_size |
2501 | CCN_GCD_WORKSPACE_N(cc_size n) |
2502 | { |
2503 | return (n) + (n) + (n) + CCN_GCD_UPDATE_WORKSPACE_N(n); |
2504 | } |
2505 | |
2506 | // This file is auto-generated. Please don't modify it. |
2507 | CC_INLINE cc_size |
2508 | CCN_INVMOD_WORKSPACE_N(cc_size n) |
2509 | { |
2510 | return (n) + (n) + (n) + (n) + (n) + (n) + (n) + (n); |
2511 | } |
2512 | |
2513 | // This file is auto-generated. Please don't modify it. |
2514 | CC_INLINE cc_size |
2515 | CCN_LCM_WORKSPACE_N(cc_size n) |
2516 | { |
2517 | return (n) + CCN_GCD_WORKSPACE_N(n); |
2518 | } |
2519 | |
2520 | // This file is auto-generated. Please don't modify it. |
2521 | CC_PURE CC_INLINE cc_size |
2522 | CCN_MOD_192_WORKSPACE_N(CC_UNUSED cc_size n) |
2523 | { |
2524 | return 0; |
2525 | } |
2526 | |
2527 | // This file is auto-generated. Please don't modify it. |
2528 | CC_PURE CC_INLINE cc_size |
2529 | CCN_MOD_521_WORKSPACE_N(CC_UNUSED cc_size n) |
2530 | { |
2531 | return 0; |
2532 | } |
2533 | |
2534 | // This file is auto-generated. Please don't modify it. |
2535 | CC_PURE CC_INLINE cc_size |
2536 | CCN_MUL_WORKSPACE_N(CC_UNUSED cc_size n) |
2537 | { |
2538 | return 0; |
2539 | } |
2540 | |
2541 | // This file is auto-generated. Please don't modify it. |
2542 | CC_INLINE cc_size |
2543 | CCN_P224_FROM_WORKSPACE_N(cc_size n) |
2544 | { |
2545 | return 2 * n; |
2546 | } |
2547 | |
2548 | // This file is auto-generated. Please don't modify it. |
2549 | CC_INLINE cc_size |
2550 | CCN_P224_MUL_WORKSPACE_N(cc_size n) |
2551 | { |
2552 | return 2 * n; |
2553 | } |
2554 | |
2555 | // This file is auto-generated. Please don't modify it. |
2556 | CC_PURE CC_INLINE cc_size |
2557 | CCN_P224_REDC_WORKSPACE_N(CC_UNUSED cc_size n) |
2558 | { |
2559 | return 0; |
2560 | } |
2561 | |
2562 | // This file is auto-generated. Please don't modify it. |
2563 | CC_INLINE cc_size |
2564 | CCN_P224_SQRT_WORKSPACE_N(cc_size n) |
2565 | { |
2566 | return CCZP_SQRT_TONELLI_SHANKS_PRECOMP_WORKSPACE_N(n); |
2567 | } |
2568 | |
2569 | // This file is auto-generated. Please don't modify it. |
2570 | CC_INLINE cc_size |
2571 | CCN_P224_SQR_WORKSPACE_N(cc_size n) |
2572 | { |
2573 | return (2 * n) + CCN_SQR_WORKSPACE_N(n); |
2574 | } |
2575 | |
2576 | // This file is auto-generated. Please don't modify it. |
2577 | CC_INLINE cc_size |
2578 | CCN_P224_TO_WORKSPACE_N(cc_size n) |
2579 | { |
2580 | return CCZP_MUL_DEFAULT_WORKSPACE_N(n); |
2581 | } |
2582 | |
2583 | // This file is auto-generated. Please don't modify it. |
2584 | CC_INLINE cc_size |
2585 | CCN_P256_FROM_WORKSPACE_N(cc_size n) |
2586 | { |
2587 | return 2 * n; |
2588 | } |
2589 | |
2590 | // This file is auto-generated. Please don't modify it. |
2591 | CC_INLINE cc_size |
2592 | CCN_P256_MUL_WORKSPACE_N(cc_size n) |
2593 | { |
2594 | return 2 * n; |
2595 | } |
2596 | |
2597 | // This file is auto-generated. Please don't modify it. |
2598 | CC_PURE CC_INLINE cc_size |
2599 | CCN_P256_REDC_WORKSPACE_N(CC_UNUSED cc_size n) |
2600 | { |
2601 | return 0; |
2602 | } |
2603 | |
2604 | // This file is auto-generated. Please don't modify it. |
2605 | CC_INLINE cc_size |
2606 | CCN_P256_SQR_WORKSPACE_N(cc_size n) |
2607 | { |
2608 | return (2 * n) + CCN_SQR_WORKSPACE_N(n); |
2609 | } |
2610 | |
2611 | // This file is auto-generated. Please don't modify it. |
2612 | CC_INLINE cc_size |
2613 | CCN_P256_TO_WORKSPACE_N(cc_size n) |
2614 | { |
2615 | return CCZP_MUL_DEFAULT_WORKSPACE_N(n); |
2616 | } |
2617 | |
2618 | // This file is auto-generated. Please don't modify it. |
2619 | CC_INLINE cc_size |
2620 | CCN_P384_FROM_WORKSPACE_N(cc_size n) |
2621 | { |
2622 | return 2 * n; |
2623 | } |
2624 | |
2625 | // This file is auto-generated. Please don't modify it. |
2626 | CC_INLINE cc_size |
2627 | CCN_P384_MUL_WORKSPACE_N(cc_size n) |
2628 | { |
2629 | return 2 * n; |
2630 | } |
2631 | |
2632 | // This file is auto-generated. Please don't modify it. |
2633 | CC_PURE CC_INLINE cc_size |
2634 | CCN_P384_REDC_WORKSPACE_N(CC_UNUSED cc_size n) |
2635 | { |
2636 | return 0; |
2637 | } |
2638 | |
2639 | // This file is auto-generated. Please don't modify it. |
2640 | CC_INLINE cc_size |
2641 | CCN_P384_SQR_WORKSPACE_N(cc_size n) |
2642 | { |
2643 | return (2 * n) + CCN_SQR_WORKSPACE_N(n); |
2644 | } |
2645 | |
2646 | // This file is auto-generated. Please don't modify it. |
2647 | CC_INLINE cc_size |
2648 | CCN_P384_TO_WORKSPACE_N(cc_size n) |
2649 | { |
2650 | return CCZP_MUL_DEFAULT_WORKSPACE_N(n); |
2651 | } |
2652 | |
2653 | // This file is auto-generated. Please don't modify it. |
2654 | CC_PURE CC_INLINE cc_size |
2655 | CCN_SUB_WORKSPACE_N(CC_UNUSED cc_size n) |
2656 | { |
2657 | return 0; |
2658 | } |
2659 | |
2660 | // This file is auto-generated. Please don't modify it. |
2661 | CC_INLINE cc_size |
2662 | CCPOLYZP_PO2CYC_BASE_CONVERT_INIT_INV_PUNC_PROD_WORKSPACE_N(cc_size n) |
2663 | { |
2664 | return CCZP_INV_FIELD_WORKSPACE_N(n); |
2665 | } |
2666 | |
2667 | // This file is auto-generated. Please don't modify it. |
2668 | CC_PURE CC_INLINE cc_size |
2669 | CCPOLYZP_PO2CYC_BASE_CONVERT_POLY_WORKSPACE_N(CC_UNUSED cc_size n) |
2670 | { |
2671 | return 0; |
2672 | } |
2673 | |
2674 | // This file is auto-generated. Please don't modify it. |
2675 | CC_INLINE cc_size |
2676 | CCPOLYZP_PO2CYC_BASE_CONVERT_Q_INV_MOD_T_WORKSPACE_N(cc_size n) |
2677 | { |
2678 | return CCZP_INV_FIELD_WORKSPACE_N(n); |
2679 | } |
2680 | |
2681 | // This file is auto-generated. Please don't modify it. |
2682 | CC_INLINE cc_size |
2683 | CCPOLYZP_PO2CYC_COEFF_SCALAR_MUL_WORKSPACE_N(cc_size n) |
2684 | { |
2685 | return CCN_DIVMOD_WORKSPACE_N(n); |
2686 | } |
2687 | |
2688 | // This file is auto-generated. Please don't modify it. |
2689 | CC_INLINE cc_size |
2690 | CCPOLYZP_PO2CYC_CTX_CHAIN_INIT_WORKSPACE_N(cc_size n) |
2691 | { |
2692 | return CCPOLYZP_PO2CYC_CTX_INIT_WORKSPACE_N(n); |
2693 | } |
2694 | |
2695 | // This file is auto-generated. Please don't modify it. |
2696 | CC_INLINE cc_size |
2697 | CCPOLYZP_PO2CYC_CTX_INIT_NTT_WORKSPACE_N(cc_size n) |
2698 | { |
2699 | return CCZP_POWER_WORKSPACE_N(n); |
2700 | } |
2701 | |
2702 | // This file is auto-generated. Please don't modify it. |
2703 | CC_INLINE cc_size |
2704 | CCPOLYZP_PO2CYC_DIVIDE_AND_ROUND_Q_LAST_WORKSPACE_N(cc_size n) |
2705 | { |
2706 | return CCZP_INV_FIELD_WORKSPACE_N(n); |
2707 | } |
2708 | |
2709 | // This file is auto-generated. Please don't modify it. |
2710 | CC_INLINE cc_size |
2711 | CCPOLYZP_PO2CYC_EVAL_SCALAR_MUL_WORKSPACE_N(cc_size n) |
2712 | { |
2713 | return CCN_DIVMOD_WORKSPACE_N(n); |
2714 | } |
2715 | |
2716 | // This file is auto-generated. Please don't modify it. |
2717 | CC_INLINE cc_size |
2718 | CCPOLYZP_PO2CYC_GEN_PRIMITIVE_ROOT_WORKSPACE_N(cc_size n) |
2719 | { |
2720 | return CCZP_POWER_WORKSPACE_N(n); |
2721 | } |
2722 | |
2723 | // This file is auto-generated. Please don't modify it. |
2724 | CC_INLINE cc_size |
2725 | CCPOLYZP_PO2CYC_IS_PRIMITIVE_ROOT_WORKSPACE_N(cc_size n) |
2726 | { |
2727 | return CCZP_POWER_WORKSPACE_N(n); |
2728 | } |
2729 | |
2730 | // This file is auto-generated. Please don't modify it. |
2731 | CC_INLINE cc_size |
2732 | CCPOLYZP_PO2CYC_MIN_PRIMITIVE_ROOT_WORKSPACE_N(cc_size n) |
2733 | { |
2734 | return CCZP_POWER_WORKSPACE_N(n); |
2735 | } |
2736 | |
2737 | // This file is auto-generated. Please don't modify it. |
2738 | CC_INLINE cc_size |
2739 | CCPOLYZP_PO2CYC_MODULUS_TO_CCZP_WORKSPACE_N(cc_size n) |
2740 | { |
2741 | return CCZP_INIT_COMPUTE_R2_WORKSPACE_N(n); |
2742 | } |
2743 | |
2744 | // This file is auto-generated. Please don't modify it. |
2745 | CC_PURE CC_INLINE cc_size |
2746 | CCPOLYZP_PO2CYC_SCALAR_DIVMOD_WORKSPACE_N(CC_UNUSED cc_size n) |
2747 | { |
2748 | return 0; |
2749 | } |
2750 | |
2751 | // This file is auto-generated. Please don't modify it. |
2752 | CC_INLINE cc_size |
2753 | CCPRIME_PICK_RANDOM_BASE_WORKSPACE_N(cc_size n) |
2754 | { |
2755 | return (2 * n) + CCZP_MM_MOD_WORKSPACE_N(n); |
2756 | } |
2757 | |
2758 | // This file is auto-generated. Please don't modify it. |
2759 | CC_INLINE cc_size |
2760 | CCPRIME_RABIN_MILLER_INIT_WORKSPACE_N(cc_size n) |
2761 | { |
2762 | return CCZP_INIT_COMPUTE_R2_WORKSPACE_N(n); |
2763 | } |
2764 | |
2765 | // This file is auto-generated. Please don't modify it. |
2766 | CC_INLINE cc_size |
2767 | CCPRIME_RABIN_MILLER_ITERATION_WORKSPACE_N(cc_size n) |
2768 | { |
2769 | return (n) + (n) + CCZP_POWER_BLINDED_WORKSPACE_N(n); |
2770 | } |
2771 | |
2772 | // This file is auto-generated. Please don't modify it. |
2773 | CC_INLINE cc_size |
2774 | CCPRIME_RABIN_MILLER_WORKSPACE_N(cc_size n) |
2775 | { |
2776 | return (((((((sizeof_struct_cczp()) + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit())) + (1 + (2 * n))) + (2 * n)) + 1) + (n) + |
2777 | CCPRIME_RABIN_MILLER_ITERATION_WORKSPACE_N(n); |
2778 | } |
2779 | |
2780 | // This file is auto-generated. Please don't modify it. |
2781 | CC_INLINE cc_size |
2782 | CCRNS_MODULUS_COMPUTE_MOD_FACTOR_VAR_TIME_WORKSPACE_N(cc_size n) |
2783 | { |
2784 | return CCN_DIVMOD_WORKSPACE_N(n); |
2785 | } |
2786 | |
2787 | // This file is auto-generated. Please don't modify it. |
2788 | CC_INLINE cc_size |
2789 | CCRNS_MODULUS_COMPUTE_MOD_FACTOR_WORKSPACE_N(cc_size n) |
2790 | { |
2791 | return CCN_DIVMOD_WORKSPACE_N(n); |
2792 | } |
2793 | |
2794 | // This file is auto-generated. Please don't modify it. |
2795 | CC_INLINE cc_size |
2796 | CCRNS_MODULUS_INIT_HELPER_WORKSPACE_N(cc_size n) |
2797 | { |
2798 | return CCN_DIVMOD_WORKSPACE_N(n); |
2799 | } |
2800 | |
2801 | // This file is auto-generated. Please don't modify it. |
2802 | CC_INLINE cc_size |
2803 | CCRNS_MODULUS_INIT_VAR_TIME_WORKSPACE_N(cc_size n) |
2804 | { |
2805 | return CCN_DIVMOD_WORKSPACE_N(n); |
2806 | } |
2807 | |
2808 | // This file is auto-generated. Please don't modify it. |
2809 | CC_INLINE cc_size |
2810 | CCRNS_MODULUS_INIT_WORKSPACE_N(cc_size n) |
2811 | { |
2812 | return CCN_DIVMOD_WORKSPACE_N(n); |
2813 | } |
2814 | |
2815 | // This file is auto-generated. Please don't modify it. |
2816 | CC_INLINE cc_size |
2817 | CCRNS_MUL_MODULUS_INIT_VAR_TIME_WORKSPACE_N(cc_size n) |
2818 | { |
2819 | return CCN_DIVMOD_WORKSPACE_N(n); |
2820 | } |
2821 | |
2822 | // This file is auto-generated. Please don't modify it. |
2823 | CC_INLINE cc_size |
2824 | CCRNS_MUL_MODULUS_INIT_WORKSPACE_N(cc_size n) |
2825 | { |
2826 | return CCN_DIVMOD_WORKSPACE_N(n); |
2827 | } |
2828 | |
2829 | // This file is auto-generated. Please don't modify it. |
2830 | CC_INLINE cc_size |
2831 | CCRSABSSA_BLIND_MESSAGE_WORKSPACE_N(cc_size n) |
2832 | { |
2833 | return (n) + (n) + (n) + (n) + (n) + CCZP_MM_POWER_FAST_WORKSPACE_N(n); |
2834 | } |
2835 | |
2836 | // This file is auto-generated. Please don't modify it. |
2837 | CC_INLINE cc_size |
2838 | CCRSABSSA_SIGN_BLINDED_MESSAGE_WORKSPACE_N(cc_size n) |
2839 | { |
2840 | return (n) + (n) + CCRSA_PRIV_CRYPT_BLINDED_WORKSPACE_N(n); |
2841 | } |
2842 | |
2843 | // This file is auto-generated. Please don't modify it. |
2844 | CC_INLINE cc_size |
2845 | CCRSABSSA_UNBLIND_SIGNATURE_WORKSPACE_N(cc_size n) |
2846 | { |
2847 | return (n) + (n) + (n) + CCRSA_VERIFY_PSS_DIGEST_WORKSPACE_N(n); |
2848 | } |
2849 | |
2850 | // This file is auto-generated. Please don't modify it. |
2851 | CC_INLINE cc_size |
2852 | CCRSABSSA_VERIFY_SIGNATURE_WORKSPACE_N(cc_size n) |
2853 | { |
2854 | return CCRSA_VERIFY_PSS_DIGEST_WORKSPACE_N(n); |
2855 | } |
2856 | |
2857 | // This file is auto-generated. Please don't modify it. |
2858 | CC_INLINE cc_size |
2859 | CCRSA_CHECK_DELTA_100BITS_WORKSPACE_N(cc_size n) |
2860 | { |
2861 | return (n) + (n); |
2862 | } |
2863 | |
2864 | // This file is auto-generated. Please don't modify it. |
2865 | CC_INLINE cc_size |
2866 | CCRSA_COMPUTE_R_WORKSPACE_N(cc_size n) |
2867 | { |
2868 | return (n) + CCN_INVMOD_WORKSPACE_N(n); |
2869 | } |
2870 | |
2871 | // This file is auto-generated. Please don't modify it. |
2872 | CC_INLINE cc_size |
2873 | CCRSA_CRT_MAKEKEY_WORKSPACE_N(cc_size n) |
2874 | { |
2875 | return (n + 2) + ((n / 2) + 1) + ((n / 2) + 1) + CCZP_INV_DEFAULT_WORKSPACE_N(n); |
2876 | } |
2877 | |
2878 | // This file is auto-generated. Please don't modify it. |
2879 | CC_INLINE cc_size |
2880 | CCRSA_CRT_MAKE_FIPS186_KEY_WORKSPACE_N(cc_size n) |
2881 | { |
2882 | return CCRSA_CRT_MAKEKEY_WORKSPACE_N(n); |
2883 | } |
2884 | |
2885 | // This file is auto-generated. Please don't modify it. |
2886 | CC_INLINE cc_size |
2887 | CCRSA_DECRYPT_EME_PKCS1V15_BLINDED_WORKSPACE_N(cc_size n) |
2888 | { |
2889 | return (n) + CCRSA_PRIV_CRYPT_BLINDED_WORKSPACE_N(n); |
2890 | } |
2891 | |
2892 | // This file is auto-generated. Please don't modify it. |
2893 | CC_INLINE cc_size |
2894 | CCRSA_DECRYPT_EME_PKCS1V15_WORKSPACE_N(cc_size n) |
2895 | { |
2896 | return CCRSA_DECRYPT_EME_PKCS1V15_BLINDED_WORKSPACE_N(n); |
2897 | } |
2898 | |
2899 | // This file is auto-generated. Please don't modify it. |
2900 | CC_INLINE cc_size |
2901 | CCRSA_DECRYPT_OAEP_BLINDED_WORKSPACE_N(cc_size n) |
2902 | { |
2903 | return (n) + CCRSA_PRIV_CRYPT_BLINDED_WORKSPACE_N(n); |
2904 | } |
2905 | |
2906 | // This file is auto-generated. Please don't modify it. |
2907 | CC_INLINE cc_size |
2908 | CCRSA_DECRYPT_OAEP_WORKSPACE_N(cc_size n) |
2909 | { |
2910 | return CCRSA_DECRYPT_OAEP_BLINDED_WORKSPACE_N(n); |
2911 | } |
2912 | |
2913 | // This file is auto-generated. Please don't modify it. |
2914 | CC_INLINE cc_size |
2915 | CCRSA_EMSA_PSS_DECODE_CANARY_OUT_WORKSPACE_N(cc_size n) |
2916 | { |
2917 | return n; |
2918 | } |
2919 | |
2920 | // This file is auto-generated. Please don't modify it. |
2921 | CC_INLINE cc_size |
2922 | CCRSA_EMSA_PSS_DECODE_WORKSPACE_N(cc_size n) |
2923 | { |
2924 | return CCRSA_EMSA_PSS_DECODE_CANARY_OUT_WORKSPACE_N(n); |
2925 | } |
2926 | |
2927 | // This file is auto-generated. Please don't modify it. |
2928 | CC_INLINE cc_size |
2929 | CCRSA_ENCRYPT_EME_PKCS1V15_WORKSPACE_N(cc_size n) |
2930 | { |
2931 | return (n) + CCZP_MM_POWER_FAST_WORKSPACE_N(n); |
2932 | } |
2933 | |
2934 | // This file is auto-generated. Please don't modify it. |
2935 | CC_INLINE cc_size |
2936 | CCRSA_ENCRYPT_OAEP_WORKSPACE_N(cc_size n) |
2937 | { |
2938 | return (n) + CCZP_MM_POWER_FAST_WORKSPACE_N(n); |
2939 | } |
2940 | |
2941 | // This file is auto-generated. Please don't modify it. |
2942 | CC_INLINE cc_size |
2943 | CCRSA_ENSURE_2P_GT_Q_WORKSPACE_N(cc_size n) |
2944 | { |
2945 | return n + 1; |
2946 | } |
2947 | |
2948 | // This file is auto-generated. Please don't modify it. |
2949 | CC_INLINE cc_size |
2950 | CCRSA_FIND_NEXT_PRIME_WORKSPACE_N(cc_size n) |
2951 | { |
2952 | return CCPRIME_RABIN_MILLER_WORKSPACE_N(n); |
2953 | } |
2954 | |
2955 | // This file is auto-generated. Please don't modify it. |
2956 | CC_INLINE cc_size |
2957 | CCRSA_FIND_PRIME_MULTIPLE_WORKSPACE_N(cc_size n) |
2958 | { |
2959 | return (n) + (n) + (2 * n) + (n) + |
2960 | (((((sizeof_struct_cczp()) + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit())) + (1 + (2 * n))) + |
2961 | CCZP_POWER_WORKSPACE_N(n); |
2962 | } |
2963 | |
2964 | // This file is auto-generated. Please don't modify it. |
2965 | CC_INLINE cc_size |
2966 | CCRSA_GENERATE_AUXILIARY_PRIMES_WORKSPACE_N(cc_size n) |
2967 | { |
2968 | return CCPRIME_RABIN_MILLER_WORKSPACE_N(n); |
2969 | } |
2970 | |
2971 | // This file is auto-generated. Please don't modify it. |
2972 | CC_INLINE cc_size |
2973 | CCRSA_GENERATE_FIPS186_KEY_TRACE_WORKSPACE_N(cc_size n) |
2974 | { |
2975 | return ((n / 2) + 1) + ((n / 2) + 1) + ((n / 2) + 1) + |
2976 | CC_MAX_EVAL(CCRSA_PAIRWISE_CONSISTENCY_CHECK_WORKSPACE_N(n), CCRSA_GENERATE_FIPS186_PRIME_FACTORS_WORKSPACE_N(n)); |
2977 | } |
2978 | |
2979 | // This file is auto-generated. Please don't modify it. |
2980 | CC_INLINE cc_size |
2981 | CCRSA_GENERATE_FIPS186_PRIME_FACTORS_WORKSPACE_N(cc_size n) |
2982 | { |
2983 | return ((n / 2) + 1) + ((n / 2) + 1) + CCRSA_GENERATE_PROBABLE_PRIME_WORKSPACE_N(n); |
2984 | } |
2985 | |
2986 | // This file is auto-generated. Please don't modify it. |
2987 | CC_INLINE cc_size |
2988 | CCRSA_GENERATE_KEY_INTERNAL_WORKSPACE_N(cc_size n) |
2989 | { |
2990 | return CC_MAX_EVAL(CCRSA_PAIRWISE_CONSISTENCY_CHECK_WORKSPACE_N(n), CCRSA_IS_VALID_PRIME_WORKSPACE_N(n)); |
2991 | } |
2992 | |
2993 | // This file is auto-generated. Please don't modify it. |
2994 | CC_INLINE cc_size |
2995 | CCRSA_GENERATE_PRIME_WORKSPACE_N(cc_size n) |
2996 | { |
2997 | return CCRSA_IS_VALID_PRIME_WORKSPACE_N(n); |
2998 | } |
2999 | |
3000 | // This file is auto-generated. Please don't modify it. |
3001 | CC_INLINE cc_size |
3002 | CCRSA_GENERATE_PROBABLE_PRIME_FROM_AUX_PRIMES_WORKSPACE_N(cc_size n) |
3003 | { |
3004 | return (n) + (n) + (n) + CCRSA_IS_VALID_PRIME_WORKSPACE_N(n); |
3005 | } |
3006 | |
3007 | // This file is auto-generated. Please don't modify it. |
3008 | CC_INLINE cc_size |
3009 | CCRSA_GENERATE_PROBABLE_PRIME_WORKSPACE_N(cc_size n) |
3010 | { |
3011 | return (n) + (n) + CCRSA_GENERATE_PROBABLE_PRIME_FROM_AUX_PRIMES_WORKSPACE_N(n); |
3012 | } |
3013 | |
3014 | // This file is auto-generated. Please don't modify it. |
3015 | CC_INLINE cc_size |
3016 | CCRSA_IMPORT_PRIV_WORKSPACE_N(cc_size n) |
3017 | { |
3018 | return CCZP_INIT_COMPUTE_R2_WORKSPACE_N(n); |
3019 | } |
3020 | |
3021 | // This file is auto-generated. Please don't modify it. |
3022 | CC_INLINE cc_size |
3023 | CCRSA_INIT_PUB_WORKSPACE_N(cc_size n) |
3024 | { |
3025 | return CCZP_INIT_COMPUTE_R2_WORKSPACE_N(n); |
3026 | } |
3027 | |
3028 | // This file is auto-generated. Please don't modify it. |
3029 | CC_INLINE cc_size |
3030 | CCRSA_IS_VALID_PRIME_WORKSPACE_N(cc_size n) |
3031 | { |
3032 | return (n) + (n) + CCPRIME_RABIN_MILLER_WORKSPACE_N(n); |
3033 | } |
3034 | |
3035 | // This file is auto-generated. Please don't modify it. |
3036 | CC_INLINE cc_size |
3037 | CCRSA_MAKE_FIPS186_KEY_WORKSPACE_N(cc_size n) |
3038 | { |
3039 | return ((n / 2) + 1) + ((n / 2) + 1) + ((n / 2) + 1) + ((n / 2) + 1) + CCRSA_GENERATE_PROBABLE_PRIME_WORKSPACE_N(n); |
3040 | } |
3041 | |
3042 | // This file is auto-generated. Please don't modify it. |
3043 | CC_INLINE cc_size |
3044 | CCRSA_MAKE_PRIV_PARSE_INPUT_WORKSPACE_N(cc_size n) |
3045 | { |
3046 | return ((n / 2) + 1) + ((n / 2) + 1) + (n); |
3047 | } |
3048 | |
3049 | // This file is auto-generated. Please don't modify it. |
3050 | CC_INLINE cc_size |
3051 | CCRSA_MAKE_PRIV_WORKSPACE_N(cc_size n) |
3052 | { |
3053 | return CCRSA_CRT_MAKEKEY_WORKSPACE_N(n); |
3054 | } |
3055 | |
3056 | // This file is auto-generated. Please don't modify it. |
3057 | CC_INLINE cc_size |
3058 | CCRSA_OAEP_DECODE_PARAMETER_WORKSPACE_N(cc_size n) |
3059 | { |
3060 | return (n) + (n); |
3061 | } |
3062 | |
3063 | // This file is auto-generated. Please don't modify it. |
3064 | CC_INLINE cc_size |
3065 | CCRSA_OAEP_ENCODE_PARAMETER_WORKSPACE_N(cc_size n) |
3066 | { |
3067 | return (n) + (n); |
3068 | } |
3069 | |
3070 | // This file is auto-generated. Please don't modify it. |
3071 | CC_INLINE cc_size |
3072 | CCRSA_PAIRWISE_CONSISTENCY_CHECK_WORKSPACE_N(cc_size n) |
3073 | { |
3074 | return (n) + (n) + (n) + (n) + CCRSA_SIGN_PKCS1V15_BLINDED_WORKSPACE_N(n); |
3075 | } |
3076 | |
3077 | // This file is auto-generated. Please don't modify it. |
3078 | CC_INLINE cc_size |
3079 | CCRSA_PRIV_CRYPT_BLINDED_WORKSPACE_N(cc_size n) |
3080 | { |
3081 | return (n) + (n) + CC_MAX_EVAL(CCZP_MM_POWER_FAST_WORKSPACE_N(n), CCRSA_CRT_POWER_BLINDED_WORKSPACE_N(n)); |
3082 | } |
3083 | |
3084 | // This file is auto-generated. Please don't modify it. |
3085 | CC_INLINE cc_size |
3086 | CCRSA_PRIV_CRYPT_WORKSPACE_N(cc_size n) |
3087 | { |
3088 | return CCRSA_PRIV_CRYPT_BLINDED_WORKSPACE_N(n); |
3089 | } |
3090 | |
3091 | // This file is auto-generated. Please don't modify it. |
3092 | CC_INLINE cc_size |
3093 | CCRSA_PUB_CRYPT_WORKSPACE_N(cc_size n) |
3094 | { |
3095 | return CCZP_MM_POWER_FAST_WORKSPACE_N(n); |
3096 | } |
3097 | |
3098 | // This file is auto-generated. Please don't modify it. |
3099 | CC_INLINE cc_size |
3100 | CCRSA_RECOVER_PQ_WORKSPACE_N(cc_size n) |
3101 | { |
3102 | return (n) + (n) + CCZP_INIT_COMPUTE_R2_WORKSPACE_N(n); |
3103 | } |
3104 | |
3105 | // This file is auto-generated. Please don't modify it. |
3106 | CC_INLINE cc_size |
3107 | CCRSA_RECOVER_PRIV_WORKSPACE_N(cc_size n) |
3108 | { |
3109 | return (n) + (n) + (n) + CCRSA_FIND_PRIME_MULTIPLE_WORKSPACE_N(n); |
3110 | } |
3111 | |
3112 | // This file is auto-generated. Please don't modify it. |
3113 | CC_INLINE cc_size |
3114 | CCRSA_SEED_X_WORKSPACE_N(cc_size n) |
3115 | { |
3116 | return n; |
3117 | } |
3118 | |
3119 | // This file is auto-generated. Please don't modify it. |
3120 | CC_INLINE cc_size |
3121 | CCRSA_SIGN_PKCS1V15_BLINDED_WORKSPACE_N(cc_size n) |
3122 | { |
3123 | return (n) + CCRSA_PRIV_CRYPT_BLINDED_WORKSPACE_N(n); |
3124 | } |
3125 | |
3126 | // This file is auto-generated. Please don't modify it. |
3127 | CC_INLINE cc_size |
3128 | CCRSA_SIGN_PSS_BLINDED_WORKSPACE_N(cc_size n) |
3129 | { |
3130 | return (n) + CCRSA_PRIV_CRYPT_BLINDED_WORKSPACE_N(n); |
3131 | } |
3132 | |
3133 | // This file is auto-generated. Please don't modify it. |
3134 | CC_INLINE cc_size |
3135 | CCRSA_VERIFY_PKCS1V15_DIGEST_WORKSPACE_N(cc_size n) |
3136 | { |
3137 | return CCRSA_VERIFY_PKCS1V15_INTERNAL_WORKSPACE_N(n); |
3138 | } |
3139 | |
3140 | // This file is auto-generated. Please don't modify it. |
3141 | CC_INLINE cc_size |
3142 | CCRSA_VERIFY_PKCS1V15_INTERNAL_WORKSPACE_N(cc_size n) |
3143 | { |
3144 | return (n) + (n) + CCZP_MM_POWER_FAST_WORKSPACE_N(n); |
3145 | } |
3146 | |
3147 | // This file is auto-generated. Please don't modify it. |
3148 | CC_INLINE cc_size |
3149 | CCRSA_VERIFY_PSS_DIGEST_WORKSPACE_N(cc_size n) |
3150 | { |
3151 | return (n) + (n) + CCZP_MM_POWER_FAST_WORKSPACE_N(n); |
3152 | } |
3153 | |
3154 | // This file is auto-generated. Please don't modify it. |
3155 | CC_INLINE cc_size |
3156 | CCRSA_VERIFY_PSS_MSG_WORKSPACE_N(cc_size n) |
3157 | { |
3158 | return CCRSA_VERIFY_PSS_DIGEST_WORKSPACE_N(n); |
3159 | } |
3160 | |
3161 | // This file is auto-generated. Please don't modify it. |
3162 | CC_INLINE cc_size |
3163 | CCSAE_GENERATE_COMMITMENT_FINALIZE_WORKSPACE_N(cc_size n) |
3164 | { |
3165 | return (3 * n) + CCSAE_GENERATE_COMMITMENT_SHARED_WORKSPACE_N(n); |
3166 | } |
3167 | |
3168 | // This file is auto-generated. Please don't modify it. |
3169 | CC_INLINE cc_size |
3170 | CCSAE_GENERATE_COMMITMENT_PARTIAL_WORKSPACE_N(cc_size n) |
3171 | { |
3172 | return CCSAE_Y2_FROM_X_WORKSPACE_N(n); |
3173 | } |
3174 | |
3175 | // This file is auto-generated. Please don't modify it. |
3176 | CC_INLINE cc_size |
3177 | CCSAE_GENERATE_COMMITMENT_SHARED_WORKSPACE_N(cc_size n) |
3178 | { |
3179 | return (n) + CCEC_MULT_BLINDED_WORKSPACE_N(n); |
3180 | } |
3181 | |
3182 | // This file is auto-generated. Please don't modify it. |
3183 | CC_INLINE cc_size |
3184 | CCSAE_GENERATE_CONFIRMATION_WORKSPACE_N(cc_size n) |
3185 | { |
3186 | return n; |
3187 | } |
3188 | |
3189 | // This file is auto-generated. Please don't modify it. |
3190 | CC_INLINE cc_size |
3191 | CCSAE_GENERATE_H2C_COMMIT_FINALIZE_WORKSPACE_N(cc_size n) |
3192 | { |
3193 | return CCSAE_GENERATE_COMMITMENT_SHARED_WORKSPACE_N(n); |
3194 | } |
3195 | |
3196 | // This file is auto-generated. Please don't modify it. |
3197 | CC_INLINE cc_size |
3198 | CCSAE_GENERATE_H2C_COMMIT_INIT_WORKSPACE_N(cc_size n) |
3199 | { |
3200 | return (n) + (n) + |
3201 | (((((sizeof_struct_ccec_pub_ctx()) + (3 * ((sizeof_cc_unit()) * n))) + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit())) + |
3202 | (3 * n) + CCEC_MULT_BLINDED_WORKSPACE_N(n); |
3203 | } |
3204 | |
3205 | // This file is auto-generated. Please don't modify it. |
3206 | CC_INLINE cc_size |
3207 | CCSAE_GENERATE_H2C_PT_WORKSPACE_N(cc_size n) |
3208 | { |
3209 | return (((((sizeof_struct_ccec_pub_ctx()) + (3 * ((sizeof_cc_unit()) * n))) + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit())) + |
3210 | CCH2C_ENCODE_TO_CURVE_RO_WORKSPACE_N(n); |
3211 | } |
3212 | |
3213 | // This file is auto-generated. Please don't modify it. |
3214 | CC_INLINE cc_size |
3215 | CCSAE_GENERATE_KEYSEED_WORKSPACE_N(cc_size n) |
3216 | { |
3217 | return n; |
3218 | } |
3219 | |
3220 | // This file is auto-generated. Please don't modify it. |
3221 | CC_INLINE cc_size |
3222 | CCSAE_GEN_KEYS_WORKSPACE_N(cc_size n) |
3223 | { |
3224 | return ((((4 + 15) + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit())) + n; |
3225 | } |
3226 | |
3227 | // This file is auto-generated. Please don't modify it. |
3228 | CC_INLINE cc_size |
3229 | CCSAE_GEN_PASSWORD_VALUE_WORKSPACE_N(cc_size n) |
3230 | { |
3231 | return (n) + (((((4 + 23) + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit())) + n); |
3232 | } |
3233 | |
3234 | // This file is auto-generated. Please don't modify it. |
3235 | CC_INLINE cc_size |
3236 | CCSAE_GET_KEYS_WORKSPACE_N(cc_size n) |
3237 | { |
3238 | return (n) + (n) + CCZP_ADD_DEFAULT_WORKSPACE_N(n); |
3239 | } |
3240 | |
3241 | // This file is auto-generated. Please don't modify it. |
3242 | CC_INLINE cc_size |
3243 | CCSAE_VERIFY_COMMITMENT_WORKSPACE_N(cc_size n) |
3244 | { |
3245 | return (n) + (3 * n) + (3 * n) + (3 * n) + (3 * n) + CCEC_MULT_BLINDED_WORKSPACE_N(n); |
3246 | } |
3247 | |
3248 | // This file is auto-generated. Please don't modify it. |
3249 | CC_INLINE cc_size |
3250 | CCSAE_VERIFY_CONFIRMATION_WORKSPACE_N(cc_size n) |
3251 | { |
3252 | return n; |
3253 | } |
3254 | |
3255 | // This file is auto-generated. Please don't modify it. |
3256 | CC_INLINE cc_size |
3257 | CCSAE_Y2_FROM_X_WORKSPACE_N(cc_size n) |
3258 | { |
3259 | return (n) + (n) + (n) + CCZP_IS_QUADRATIC_RESIDUE_WORKSPACE_N(n); |
3260 | } |
3261 | |
3262 | // This file is auto-generated. Please don't modify it. |
3263 | CC_INLINE cc_size |
3264 | CCSPAKE_GENERATE_L_WORKSPACE_N(cc_size n) |
3265 | { |
3266 | return (n) + |
3267 | (((((sizeof_struct_ccec_full_ctx()) + (4 * ((sizeof_cc_unit()) * n))) + (sizeof_cc_unit())) - 1) / |
3268 | (sizeof_cc_unit())) + |
3269 | CCEC_PAIRWISE_CONSISTENCY_CHECK_WORKSPACE_N(n); |
3270 | } |
3271 | |
3272 | // This file is auto-generated. Please don't modify it. |
3273 | CC_INLINE cc_size |
3274 | CCSPAKE_IMPORT_PUB_WORKSPACE_N(cc_size n) |
3275 | { |
3276 | return CCEC_X963_IMPORT_PUB_WORKSPACE_N(n); |
3277 | } |
3278 | |
3279 | // This file is auto-generated. Please don't modify it. |
3280 | CC_INLINE cc_size |
3281 | CCSPAKE_KEX_PROCESS_WORKSPACE_N(cc_size n) |
3282 | { |
3283 | return (((((sizeof_struct_ccec_pub_ctx()) + (3 * ((sizeof_cc_unit()) * n))) + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit())) + |
3284 | (3 * n) + (3 * n) + (3 * n) + (3 * n) + (3 * n) + (3 * n) + (3 * n) + CCSPAKE_LAZY_GEN_XY_XY_WORKSPACE_N(n); |
3285 | } |
3286 | |
3287 | // This file is auto-generated. Please don't modify it. |
3288 | CC_INLINE cc_size |
3289 | CCSPAKE_LAZY_GEN_XY_XY_WORKSPACE_N(cc_size n) |
3290 | { |
3291 | return (((((sizeof_struct_ccec_pub_ctx()) + (3 * ((sizeof_cc_unit()) * n))) + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit())) + |
3292 | (3 * n) + (3 * n) + (3 * n) + (n) + CCEC_MULT_BLINDED_WORKSPACE_N(n); |
3293 | } |
3294 | |
3295 | // This file is auto-generated. Please don't modify it. |
3296 | CC_INLINE cc_size |
3297 | CCSPAKE_REDUCE_W_WORKSPACE_N(cc_size n) |
3298 | { |
3299 | return (n) + CCEC_GENERATE_SCALAR_FIPS_EXTRABITS_WORKSPACE_N(n); |
3300 | } |
3301 | |
3302 | // This file is auto-generated. Please don't modify it. |
3303 | CC_INLINE cc_size |
3304 | CCSPAKE_VERIFIER_INITIALIZE_WORKSPACE_N(cc_size n) |
3305 | { |
3306 | return (((((sizeof_struct_ccec_pub_ctx()) + (3 * ((sizeof_cc_unit()) * n))) + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit())) + |
3307 | CCSPAKE_VERIFIER_INIT_WORKSPACE_N(n); |
3308 | } |
3309 | |
3310 | // This file is auto-generated. Please don't modify it. |
3311 | CC_INLINE cc_size |
3312 | CCSPAKE_VERIFIER_INIT_WORKSPACE_N(cc_size n) |
3313 | { |
3314 | return (((((sizeof_struct_ccec_pub_ctx()) + (3 * ((sizeof_cc_unit()) * n))) + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit())) + |
3315 | CC_MAX_EVAL(CCEC_X963_IMPORT_PUB_WORKSPACE_N(n), CCEC_GENERATE_SCALAR_FIPS_EXTRABITS_WORKSPACE_N(n)); |
3316 | } |
3317 | |
3318 | // This file is auto-generated. Please don't modify it. |
3319 | CC_INLINE cc_size |
3320 | CCSRP_CLIENT_PROCESS_CHALLENGE_WORKSPACE_N(cc_size n) |
3321 | { |
3322 | return (n) + (n) + (n) + (n) + (n) + CCSRP_GENERATE_CLIENT_S_WORKSPACE_N(n); |
3323 | } |
3324 | |
3325 | // This file is auto-generated. Please don't modify it. |
3326 | CC_INLINE cc_size |
3327 | CCSRP_CLIENT_START_AUTHENTICATION_WORKSPACE_N(cc_size n) |
3328 | { |
3329 | return CCDH_POWER_BLINDED_WORKSPACE_N(n); |
3330 | } |
3331 | |
3332 | // This file is auto-generated. Please don't modify it. |
3333 | CC_INLINE cc_size |
3334 | CCSRP_DIGEST_CCN_CCN_WORKSPACE_N(cc_size n) |
3335 | { |
3336 | return CCSRP_DIGEST_UPDATE_CCN_WORKSPACE_N(n); |
3337 | } |
3338 | |
3339 | // This file is auto-generated. Please don't modify it. |
3340 | CC_INLINE cc_size |
3341 | CCSRP_DIGEST_CCN_WORKSPACE_N(cc_size n) |
3342 | { |
3343 | return n; |
3344 | } |
3345 | |
3346 | // This file is auto-generated. Please don't modify it. |
3347 | CC_INLINE cc_size |
3348 | CCSRP_DIGEST_UPDATE_CCN_WORKSPACE_N(cc_size n) |
3349 | { |
3350 | return n; |
3351 | } |
3352 | |
3353 | // This file is auto-generated. Please don't modify it. |
3354 | CC_INLINE cc_size |
3355 | CCSRP_GENERATE_CLIENT_PUBKEY_WORKSPACE_N(cc_size n) |
3356 | { |
3357 | return CCDH_POWER_BLINDED_WORKSPACE_N(n); |
3358 | } |
3359 | |
3360 | // This file is auto-generated. Please don't modify it. |
3361 | CC_INLINE cc_size |
3362 | CCSRP_GENERATE_CLIENT_S_WORKSPACE_N(cc_size n) |
3363 | { |
3364 | return (2 * n) + (n) + CCDH_POWER_BLINDED_WORKSPACE_N(n); |
3365 | } |
3366 | |
3367 | // This file is auto-generated. Please don't modify it. |
3368 | CC_INLINE cc_size |
3369 | CCSRP_GENERATE_H_AMK_WORKSPACE_N(cc_size n) |
3370 | { |
3371 | return CCSRP_DIGEST_UPDATE_CCN_WORKSPACE_N(n); |
3372 | } |
3373 | |
3374 | // This file is auto-generated. Please don't modify it. |
3375 | CC_INLINE cc_size |
3376 | CCSRP_GENERATE_K_FROM_S_WORKSPACE_N(cc_size n) |
3377 | { |
3378 | return CCSRP_SHA_INTERLEAVE_RFC2945_WORKSPACE_N(n); |
3379 | } |
3380 | |
3381 | // This file is auto-generated. Please don't modify it. |
3382 | CC_INLINE cc_size |
3383 | CCSRP_GENERATE_K_WORKSPACE_N(cc_size n) |
3384 | { |
3385 | return CCSRP_DIGEST_UPDATE_CCN_WORKSPACE_N(n); |
3386 | } |
3387 | |
3388 | // This file is auto-generated. Please don't modify it. |
3389 | CC_INLINE cc_size |
3390 | CCSRP_GENERATE_M_WORKSPACE_N(cc_size n) |
3391 | { |
3392 | return CCSRP_DIGEST_CCN_WORKSPACE_N(n); |
3393 | } |
3394 | |
3395 | // This file is auto-generated. Please don't modify it. |
3396 | CC_INLINE cc_size |
3397 | CCSRP_GENERATE_SERVER_PUBKEY_WORKSPACE_N(cc_size n) |
3398 | { |
3399 | return (n) + (n) + CCDH_POWER_BLINDED_WORKSPACE_N(n); |
3400 | } |
3401 | |
3402 | // This file is auto-generated. Please don't modify it. |
3403 | CC_INLINE cc_size |
3404 | CCSRP_GENERATE_SERVER_S_WORKSPACE_N(cc_size n) |
3405 | { |
3406 | return (n) + (n) + CCDH_POWER_BLINDED_WORKSPACE_N(n); |
3407 | } |
3408 | |
3409 | // This file is auto-generated. Please don't modify it. |
3410 | CC_INLINE cc_size |
3411 | CCSRP_GENERATE_U_WORKSPACE_N(cc_size n) |
3412 | { |
3413 | return CCSRP_DIGEST_UPDATE_CCN_WORKSPACE_N(n); |
3414 | } |
3415 | |
3416 | // This file is auto-generated. Please don't modify it. |
3417 | CC_INLINE cc_size |
3418 | CCSRP_GENERATE_VERIFIER_WORKSPACE_N(cc_size n) |
3419 | { |
3420 | return (n) + CCDH_POWER_BLINDED_WORKSPACE_N(n); |
3421 | } |
3422 | |
3423 | // This file is auto-generated. Please don't modify it. |
3424 | CC_INLINE cc_size |
3425 | CCSRP_GENERATE_V_WORKSPACE_N(cc_size n) |
3426 | { |
3427 | return CCDH_POWER_BLINDED_WORKSPACE_N(n); |
3428 | } |
3429 | |
3430 | // This file is auto-generated. Please don't modify it. |
3431 | CC_INLINE cc_size |
3432 | CCSRP_MGF_WORKSPACE_N(cc_size n) |
3433 | { |
3434 | return n; |
3435 | } |
3436 | |
3437 | // This file is auto-generated. Please don't modify it. |
3438 | CC_INLINE cc_size |
3439 | CCSRP_SERVER_COMPUTE_SESSION_WORKSPACE_N(cc_size n) |
3440 | { |
3441 | return (n) + (n) + CCSRP_GENERATE_SERVER_S_WORKSPACE_N(n); |
3442 | } |
3443 | |
3444 | // This file is auto-generated. Please don't modify it. |
3445 | CC_INLINE cc_size |
3446 | CCSRP_SERVER_GENERATE_PUBLIC_KEY_WORKSPACE_N(cc_size n) |
3447 | { |
3448 | return (n) + CCSRP_GENERATE_SERVER_PUBKEY_WORKSPACE_N(n); |
3449 | } |
3450 | |
3451 | // This file is auto-generated. Please don't modify it. |
3452 | CC_INLINE cc_size |
3453 | CCSRP_SHA_INTERLEAVE_RFC2945_WORKSPACE_N(cc_size n) |
3454 | { |
3455 | return (n) + ((n + 1) / 2) + ((n + 1) / 2); |
3456 | } |
3457 | |
3458 | // This file is auto-generated. Please don't modify it. |
3459 | CC_INLINE cc_size |
3460 | CCSS_SHAMIR_EVALUATE_POLY_TO_BUFFER_WORKSPACE_N(cc_size n) |
3461 | { |
3462 | return (n) + (n) + (n) + (n) + CCZP_MUL_DEFAULT_WORKSPACE_N(n); |
3463 | } |
3464 | |
3465 | // This file is auto-generated. Please don't modify it. |
3466 | CC_INLINE cc_size |
3467 | CCSS_SHAMIR_GENERATE_RANDOM_POLY_WORKSPACE_N(cc_size n) |
3468 | { |
3469 | return CCZP_GENERATE_NON_ZERO_ELEMENT_WORKSPACE_N(n); |
3470 | } |
3471 | |
3472 | // This file is auto-generated. Please don't modify it. |
3473 | CC_INLINE cc_size |
3474 | CCSS_SHAMIR_GENERATE_SHARE_POLY_WORKSPACE_N(cc_size n) |
3475 | { |
3476 | return CCZP_GENERATE_NON_ZERO_ELEMENT_WORKSPACE_N(n); |
3477 | } |
3478 | |
3479 | // This file is auto-generated. Please don't modify it. |
3480 | CC_INLINE cc_size |
3481 | CCSS_SHAMIR_LAGRANGE_PRODUCT_FROM_BAG_WORKSPACE_N(cc_size n) |
3482 | { |
3483 | return (n) + CCZP_MUL_DEFAULT_WORKSPACE_N(n); |
3484 | } |
3485 | |
3486 | // This file is auto-generated. Please don't modify it. |
3487 | CC_INLINE cc_size |
3488 | CCSS_SHAMIR_SHARE_BAG_RECOVER_SECRET_WORKSPACE_N(cc_size n) |
3489 | { |
3490 | return (n) + (n) + (n) + (n) + (n) + (n) + CCZP_INV_DEFAULT_WORKSPACE_N(n); |
3491 | } |
3492 | |
3493 | // This file is auto-generated. Please don't modify it. |
3494 | CC_INLINE cc_size |
3495 | CCSS_SHAMIR_SHARE_GENERATOR_INIT_BACKER_WORKSPACE_N(cc_size n) |
3496 | { |
3497 | return CCZP_GENERATE_NON_ZERO_ELEMENT_WORKSPACE_N(n); |
3498 | } |
3499 | |
3500 | // This file is auto-generated. Please don't modify it. |
3501 | CC_INLINE cc_size |
3502 | CCX25519_SCALAR_MULT_WORKSPACE_N(cc_size n) |
3503 | { |
3504 | return (2 * n) + (2 * n) + (n) + (n) + CCZP_MUL_DEFAULT_WORKSPACE_N(n); |
3505 | } |
3506 | |
3507 | // This file is auto-generated. Please don't modify it. |
3508 | CC_INLINE cc_size |
3509 | CCX448_SCALAR_MULT_WORKSPACE_N(cc_size n) |
3510 | { |
3511 | return (2 * n) + (2 * n) + (n) + (n) + CCZP_MUL_DEFAULT_WORKSPACE_N(n); |
3512 | } |
3513 | |
3514 | // This file is auto-generated. Please don't modify it. |
3515 | CC_INLINE cc_size |
3516 | CCZP_ADD_DEFAULT_WORKSPACE_N(cc_size n) |
3517 | { |
3518 | return n; |
3519 | } |
3520 | |
3521 | // This file is auto-generated. Please don't modify it. |
3522 | CC_INLINE cc_size |
3523 | CCZP_ADD_WORKSPACE_N(cc_size n) |
3524 | { |
3525 | return CCZP_ADD_DEFAULT_WORKSPACE_N(n); |
3526 | } |
3527 | |
3528 | // This file is auto-generated. Please don't modify it. |
3529 | CC_PURE CC_INLINE cc_size |
3530 | CCZP_DIV2_WORKSPACE_N(CC_UNUSED cc_size n) |
3531 | { |
3532 | return 0; |
3533 | } |
3534 | |
3535 | // This file is auto-generated. Please don't modify it. |
3536 | CC_PURE CC_INLINE cc_size |
3537 | CCZP_FROM_DEFAULT_WORKSPACE_N(CC_UNUSED cc_size n) |
3538 | { |
3539 | return 0; |
3540 | } |
3541 | |
3542 | // This file is auto-generated. Please don't modify it. |
3543 | CC_INLINE cc_size |
3544 | CCZP_FROM_WORKSPACE_N(cc_size n) |
3545 | { |
3546 | return CCN_P224_FROM_WORKSPACE_N(n); |
3547 | } |
3548 | |
3549 | // This file is auto-generated. Please don't modify it. |
3550 | CC_INLINE cc_size |
3551 | CCZP_GENERATE_NON_ZERO_ELEMENT_WORKSPACE_N(cc_size n) |
3552 | { |
3553 | return (n) + (n + (((((64 + (8 - 1)) / 8) + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit()))) + CCN_DIVMOD_WORKSPACE_N(n); |
3554 | } |
3555 | |
3556 | // This file is auto-generated. Please don't modify it. |
3557 | CC_INLINE cc_size |
3558 | CCZP_GENERATE_RANDOM_ELEMENT_WORKSPACE_N(cc_size n) |
3559 | { |
3560 | return (n + (((((64 + (8 - 1)) / 8) + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit()))) + CCZP_MODN_WORKSPACE_N(n); |
3561 | } |
3562 | |
3563 | // This file is auto-generated. Please don't modify it. |
3564 | CC_INLINE cc_size |
3565 | CCZP_INIT_COMPUTE_R2_WORKSPACE_N(cc_size n) |
3566 | { |
3567 | return (2 * n) + CCN_DIVMOD_WORKSPACE_N(n); |
3568 | } |
3569 | |
3570 | // This file is auto-generated. Please don't modify it. |
3571 | CC_INLINE cc_size |
3572 | CCZP_INIT_WORKSPACE_N(cc_size n) |
3573 | { |
3574 | return CCZP_INIT_COMPUTE_R2_WORKSPACE_N(n); |
3575 | } |
3576 | |
3577 | // This file is auto-generated. Please don't modify it. |
3578 | CC_INLINE cc_size |
3579 | CCZP_INV_DEFAULT_WORKSPACE_N(cc_size n) |
3580 | { |
3581 | return (n) + (n) + (n) + (n) + (n) + CCZP_MUL_DEFAULT_WORKSPACE_N(n); |
3582 | } |
3583 | |
3584 | // This file is auto-generated. Please don't modify it. |
3585 | CC_INLINE cc_size |
3586 | CCZP_INV_FIELD_WORKSPACE_N(cc_size n) |
3587 | { |
3588 | return (n) + CCZP_POWER_FAST_WORKSPACE_N(n); |
3589 | } |
3590 | |
3591 | // This file is auto-generated. Please don't modify it. |
3592 | CC_INLINE cc_size |
3593 | CCZP_INV_UPDATE_REDC_WORKSPACE_N(cc_size n) |
3594 | { |
3595 | return (n + 1) + (n); |
3596 | } |
3597 | |
3598 | // This file is auto-generated. Please don't modify it. |
3599 | CC_INLINE cc_size |
3600 | CCZP_INV_UPDATE_WORKSPACE_N(cc_size n) |
3601 | { |
3602 | return (n + 1) + (n + 1); |
3603 | } |
3604 | |
3605 | // This file is auto-generated. Please don't modify it. |
3606 | CC_INLINE cc_size |
3607 | CCZP_INV_WORKSPACE_N(cc_size n) |
3608 | { |
3609 | return CCZP_INV_DEFAULT_WORKSPACE_N(n); |
3610 | } |
3611 | |
3612 | // This file is auto-generated. Please don't modify it. |
3613 | CC_INLINE cc_size |
3614 | CCZP_IS_QUADRATIC_RESIDUE_WORKSPACE_N(cc_size n) |
3615 | { |
3616 | return (n) + (n) + (n) + CCZP_POWER_FAST_WORKSPACE_N(n); |
3617 | } |
3618 | |
3619 | // This file is auto-generated. Please don't modify it. |
3620 | CC_INLINE cc_size |
3621 | CCZP_MM_FROM_WORKSPACE_N(cc_size n) |
3622 | { |
3623 | return 2 * n; |
3624 | } |
3625 | |
3626 | // This file is auto-generated. Please don't modify it. |
3627 | CC_INLINE cc_size |
3628 | CCZP_MM_INIT_WORKSPACE_N(cc_size n) |
3629 | { |
3630 | return CCZP_INIT_COMPUTE_R2_WORKSPACE_N(n); |
3631 | } |
3632 | |
3633 | // This file is auto-generated. Please don't modify it. |
3634 | CC_PURE CC_INLINE cc_size |
3635 | CCZP_MM_INV_WORKSPACE_N(CC_UNUSED cc_size n) |
3636 | { |
3637 | return 0; |
3638 | } |
3639 | |
3640 | // This file is auto-generated. Please don't modify it. |
3641 | CC_INLINE cc_size |
3642 | CCZP_MM_MOD_WORKSPACE_N(cc_size n) |
3643 | { |
3644 | return 2 * n; |
3645 | } |
3646 | |
3647 | // This file is auto-generated. Please don't modify it. |
3648 | CC_INLINE cc_size |
3649 | CCZP_MM_MUL_WORKSPACE_N(cc_size n) |
3650 | { |
3651 | return 2 * n; |
3652 | } |
3653 | |
3654 | // This file is auto-generated. Please don't modify it. |
3655 | CC_INLINE cc_size |
3656 | CCZP_MM_POWER_FAST_WORKSPACE_N(cc_size n) |
3657 | { |
3658 | return (n) + (n) + (((((sizeof_struct_cczp()) + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit())) + (1 + (2 * n))) + |
3659 | CC_MAX_EVAL(CCZP_POWER_FAST_WORKSPACE_N(n), CCZP_INIT_COMPUTE_R2_WORKSPACE_N(n)); |
3660 | } |
3661 | |
3662 | // This file is auto-generated. Please don't modify it. |
3663 | CC_INLINE cc_size |
3664 | CCZP_MM_POWER_WORKSPACE_N(cc_size n) |
3665 | { |
3666 | return (((((sizeof_struct_cczp()) + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit())) + (1 + (2 * n))) + |
3667 | CCZP_POWER_WORKSPACE_N(n); |
3668 | } |
3669 | |
3670 | // This file is auto-generated. Please don't modify it. |
3671 | CC_PURE CC_INLINE cc_size |
3672 | CCZP_MM_REDC_WORKSPACE_N(CC_UNUSED cc_size n) |
3673 | { |
3674 | return 0; |
3675 | } |
3676 | |
3677 | // This file is auto-generated. Please don't modify it. |
3678 | CC_PURE CC_INLINE cc_size |
3679 | CCZP_MM_SQRT_WORKSPACE_N(CC_UNUSED cc_size n) |
3680 | { |
3681 | return 0; |
3682 | } |
3683 | |
3684 | // This file is auto-generated. Please don't modify it. |
3685 | CC_INLINE cc_size |
3686 | CCZP_MM_SQR_WORKSPACE_N(cc_size n) |
3687 | { |
3688 | return (2 * n) + CCN_SQR_WORKSPACE_N(n); |
3689 | } |
3690 | |
3691 | // This file is auto-generated. Please don't modify it. |
3692 | CC_INLINE cc_size |
3693 | CCZP_MM_TO_WORKSPACE_N(cc_size n) |
3694 | { |
3695 | return 2 * n; |
3696 | } |
3697 | |
3698 | // This file is auto-generated. Please don't modify it. |
3699 | CC_INLINE cc_size |
3700 | CCZP_MODN_WORKSPACE_N(cc_size n) |
3701 | { |
3702 | return 2 * n; |
3703 | } |
3704 | |
3705 | // This file is auto-generated. Please don't modify it. |
3706 | CC_INLINE cc_size |
3707 | CCZP_MOD_DEFAULT_WORKSPACE_N(cc_size n) |
3708 | { |
3709 | return CCZP_MODN_WORKSPACE_N(n); |
3710 | } |
3711 | |
3712 | // This file is auto-generated. Please don't modify it. |
3713 | CC_INLINE cc_size |
3714 | CCZP_MOD_WORKSPACE_N(cc_size n) |
3715 | { |
3716 | return CCZP_MM_MOD_WORKSPACE_N(n); |
3717 | } |
3718 | |
3719 | // This file is auto-generated. Please don't modify it. |
3720 | CC_INLINE cc_size |
3721 | CCZP_MUL_DEFAULT_WORKSPACE_N(cc_size n) |
3722 | { |
3723 | return (2 * n) + CCZP_MM_MOD_WORKSPACE_N(n); |
3724 | } |
3725 | |
3726 | // This file is auto-generated. Please don't modify it. |
3727 | CC_INLINE cc_size |
3728 | CCZP_MUL_WORKSPACE_N(cc_size n) |
3729 | { |
3730 | return CCZP_MUL_DEFAULT_WORKSPACE_N(n); |
3731 | } |
3732 | |
3733 | // This file is auto-generated. Please don't modify it. |
3734 | CC_INLINE cc_size |
3735 | CCZP_POWER_BLINDED_WORKSPACE_N(cc_size n) |
3736 | { |
3737 | return (n) + (n) + CCZP_POWER_WORKSPACE_N(n); |
3738 | } |
3739 | |
3740 | // This file is auto-generated. Please don't modify it. |
3741 | CC_INLINE cc_size |
3742 | CCZP_POWER_FAST_WORKSPACE_N(cc_size n) |
3743 | { |
3744 | return (3 * n) + CCZP_MUL_DEFAULT_WORKSPACE_N(n); |
3745 | } |
3746 | |
3747 | // This file is auto-generated. Please don't modify it. |
3748 | CC_INLINE cc_size |
3749 | CCZP_POWER_WORKSPACE_N(cc_size n) |
3750 | { |
3751 | return (4 * n) + (2 * n) + CCZP_MUL_DEFAULT_WORKSPACE_N(n); |
3752 | } |
3753 | |
3754 | // This file is auto-generated. Please don't modify it. |
3755 | CC_INLINE cc_size |
3756 | CCZP_SQRT_3MOD4_WORKSPACE_N(cc_size n) |
3757 | { |
3758 | return (n) + CCZP_POWER_FAST_WORKSPACE_N(n); |
3759 | } |
3760 | |
3761 | // This file is auto-generated. Please don't modify it. |
3762 | CC_INLINE cc_size |
3763 | CCZP_SQRT_DEFAULT_WORKSPACE_N(cc_size n) |
3764 | { |
3765 | return CCZP_SQRT_TONELLI_SHANKS_WORKSPACE_N(n); |
3766 | } |
3767 | |
3768 | // This file is auto-generated. Please don't modify it. |
3769 | CC_INLINE cc_size |
3770 | CCZP_SQRT_TONELLI_SHANKS_PRECOMP_WORKSPACE_N(cc_size n) |
3771 | { |
3772 | return (n) + (n) + (n) + (n) + CCZP_POWER_FAST_WORKSPACE_N(n); |
3773 | } |
3774 | |
3775 | // This file is auto-generated. Please don't modify it. |
3776 | CC_INLINE cc_size |
3777 | CCZP_SQRT_TONELLI_SHANKS_WORKSPACE_N(cc_size n) |
3778 | { |
3779 | return (n) + (n) + (n) + CCZP_SQRT_TONELLI_SHANKS_PRECOMP_WORKSPACE_N(n); |
3780 | } |
3781 | |
3782 | // This file is auto-generated. Please don't modify it. |
3783 | CC_INLINE cc_size |
3784 | CCZP_SQRT_WORKSPACE_N(cc_size n) |
3785 | { |
3786 | return CCZP_SQRT_TONELLI_SHANKS_WORKSPACE_N(n); |
3787 | } |
3788 | |
3789 | // This file is auto-generated. Please don't modify it. |
3790 | CC_INLINE cc_size |
3791 | CCZP_SQR_DEFAULT_WORKSPACE_N(cc_size n) |
3792 | { |
3793 | return (2 * n) + CCN_SQR_WORKSPACE_N(n); |
3794 | } |
3795 | |
3796 | // This file is auto-generated. Please don't modify it. |
3797 | CC_INLINE cc_size |
3798 | CCZP_SQR_WORKSPACE_N(cc_size n) |
3799 | { |
3800 | return CCN_P224_SQR_WORKSPACE_N(n); |
3801 | } |
3802 | |
3803 | // This file is auto-generated. Please don't modify it. |
3804 | CC_PURE CC_INLINE cc_size |
3805 | CCZP_SUB_DEFAULT_WORKSPACE_N(CC_UNUSED cc_size n) |
3806 | { |
3807 | return 0; |
3808 | } |
3809 | |
3810 | // This file is auto-generated. Please don't modify it. |
3811 | CC_PURE CC_INLINE cc_size |
3812 | CCZP_SUB_WORKSPACE_N(CC_UNUSED cc_size n) |
3813 | { |
3814 | return 0; |
3815 | } |
3816 | |
3817 | // This file is auto-generated. Please don't modify it. |
3818 | CC_PURE CC_INLINE cc_size |
3819 | CCZP_TO_DEFAULT_WORKSPACE_N(CC_UNUSED cc_size n) |
3820 | { |
3821 | return 0; |
3822 | } |
3823 | |
3824 | // This file is auto-generated. Please don't modify it. |
3825 | CC_INLINE cc_size |
3826 | CCZP_TO_WORKSPACE_N(cc_size n) |
3827 | { |
3828 | return CCZP_MUL_DEFAULT_WORKSPACE_N(n); |
3829 | } |
3830 | |
3831 | // This file is auto-generated. Please don't modify it. |
3832 | CC_INLINE cc_size |
3833 | CCZ_EXPMOD_WORKSPACE_N(cc_size n) |
3834 | { |
3835 | return (((((sizeof_struct_cczp()) + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit())) + (1 + (2 * n))) + (n) + |
3836 | CCZP_POWER_WORKSPACE_N(n); |
3837 | } |
3838 | |
3839 | // This file is auto-generated. Please don't modify it. |
3840 | CC_INLINE cc_size |
3841 | FIPSPOST_POST_ECDH_WORKSPACE_N(cc_size n) |
3842 | { |
3843 | return (((((sizeof_struct_ccec_full_ctx()) + (4 * ((sizeof_cc_unit()) * n))) + (sizeof_cc_unit())) - 1) / |
3844 | (sizeof_cc_unit())) + |
3845 | (((((sizeof_struct_ccec_pub_ctx()) + (3 * ((sizeof_cc_unit()) * n))) + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit())) + |
3846 | CCECDH_COMPUTE_SHARED_SECRET_WORKSPACE_N(n); |
3847 | } |
3848 | |
3849 | // This file is auto-generated. Please don't modify it. |
3850 | CC_INLINE cc_size |
3851 | FIPSPOST_POST_ECDSA_KAT_SIGN_WORKSPACE_N(cc_size n) |
3852 | { |
3853 | return FIPSPOST_POST_ECDSA_SIGN_WORKSPACE_N(n); |
3854 | } |
3855 | |
3856 | // This file is auto-generated. Please don't modify it. |
3857 | CC_INLINE cc_size |
3858 | FIPSPOST_POST_ECDSA_KAT_VERIFY_WORKSPACE_N(cc_size n) |
3859 | { |
3860 | return FIPSPOST_POST_ECDSA_VERIFY_WORKSPACE_N(n); |
3861 | } |
3862 | |
3863 | // This file is auto-generated. Please don't modify it. |
3864 | CC_INLINE cc_size |
3865 | FIPSPOST_POST_ECDSA_SIGN_WORKSPACE_N(cc_size n) |
3866 | { |
3867 | return (((((sizeof_struct_ccec_full_ctx()) + (4 * ((sizeof_cc_unit()) * n))) + (sizeof_cc_unit())) - 1) / |
3868 | (sizeof_cc_unit())) + |
3869 | CCEC_SIGN_WORKSPACE_N(n); |
3870 | } |
3871 | |
3872 | // This file is auto-generated. Please don't modify it. |
3873 | CC_INLINE cc_size |
3874 | FIPSPOST_POST_ECDSA_VERIFY_WORKSPACE_N(cc_size n) |
3875 | { |
3876 | return (((((sizeof_struct_ccec_pub_ctx()) + (3 * ((sizeof_cc_unit()) * n))) + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit())) + |
3877 | CCEC_VERIFY_DIGEST_WORKSPACE_N(n); |
3878 | } |
3879 | |
3880 | // This file is auto-generated. Please don't modify it. |
3881 | CC_INLINE cc_size |
3882 | FIPSPOST_POST_ECDSA_WORKSPACE_N(cc_size n) |
3883 | { |
3884 | return CC_MAX_EVAL(FIPSPOST_POST_ECDSA_VERIFY_WORKSPACE_N(n), FIPSPOST_POST_ECDSA_SIGN_WORKSPACE_N(n)); |
3885 | } |
3886 | |
3887 | // This file is auto-generated. Please don't modify it. |
3888 | CC_INLINE cc_size |
3889 | FIPSPOST_POST_FFDH_WORKSPACE_N(cc_size n) |
3890 | { |
3891 | return (((((sizeof_struct_ccdh_pub_ctx()) + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit())) + (1 * n)) + |
3892 | (((((sizeof_struct_ccdh_full_ctx()) + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit())) + (2 * n)) + |
3893 | CCDH_COMPUTE_SHARED_SECRET_WORKSPACE_N(n); |
3894 | } |
3895 | |
3896 | // This file is auto-generated. Please don't modify it. |
3897 | CC_INLINE cc_size |
3898 | FIPSPOST_POST_RSA_ENC_DEC_WORKSPACE_N(cc_size n) |
3899 | { |
3900 | return FIPSPOST_POST_RSA_OAEP_CONSISTENCY_WORKSPACE_N(n); |
3901 | } |
3902 | |
3903 | // This file is auto-generated. Please don't modify it. |
3904 | CC_INLINE cc_size |
3905 | FIPSPOST_POST_RSA_OAEP_CONSISTENCY_WORKSPACE_N(cc_size n) |
3906 | { |
3907 | return (((((((sizeof_struct_cczp()) + 8) + |
3908 | (3 * ((sizeof_cc_unit()) * (((((sizeof_cc_unit()) * n) + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit()))))) + |
3909 | ((((sizeof_cc_unit()) * (((((sizeof_cc_unit()) * n) + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit()))) + |
3910 | (((sizeof_struct_cczp()) + 8) * 2)) + |
3911 | (7 * ((sizeof_cc_unit()) * |
3912 | (((((((sizeof_cc_unit()) * n) + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit())) / 2) + 1))))) + |
3913 | (sizeof_cc_unit())) - |
3914 | 1) / |
3915 | (sizeof_cc_unit())) + |
3916 | CCRSA_DECRYPT_OAEP_BLINDED_WORKSPACE_N(n); |
3917 | } |
3918 | |
3919 | // This file is auto-generated. Please don't modify it. |
3920 | CC_INLINE cc_size |
3921 | FIPSPOST_POST_RSA_OAEP_DECRYPT_WORKSPACE_N(cc_size n) |
3922 | { |
3923 | return CCRSA_DECRYPT_OAEP_BLINDED_WORKSPACE_N(n); |
3924 | } |
3925 | |
3926 | // This file is auto-generated. Please don't modify it. |
3927 | CC_INLINE cc_size |
3928 | FIPSPOST_POST_RSA_OAEP_KAT_WORKSPACE_N(cc_size n) |
3929 | { |
3930 | return (((((((sizeof_struct_cczp()) + 8) + |
3931 | (3 * ((sizeof_cc_unit()) * (((((sizeof_cc_unit()) * n) + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit()))))) + |
3932 | ((((sizeof_cc_unit()) * (((((sizeof_cc_unit()) * n) + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit()))) + |
3933 | (((sizeof_struct_cczp()) + 8) * 2)) + |
3934 | (7 * ((sizeof_cc_unit()) * |
3935 | (((((((sizeof_cc_unit()) * n) + (sizeof_cc_unit())) - 1) / (sizeof_cc_unit())) / 2) + 1))))) + |
3936 | (sizeof_cc_unit())) - |
3937 | 1) / |
3938 | (sizeof_cc_unit())) + |
3939 | CCRSA_DECRYPT_OAEP_BLINDED_WORKSPACE_N(n); |
3940 | } |
3941 | |