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.
37CC_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.
40CC_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.
43CC_INLINE cc_size CCBFV_DCRT_PLAINTEXT_ENCODE_WORKSPACE_N(cc_size n);
44
45// This file is auto-generated. Please don't modify it.
46CC_INLINE cc_size CCBFV_DECRYPT_CTX_INIT_WORKSPACE_N(cc_size n);
47
48// This file is auto-generated. Please don't modify it.
49CC_INLINE cc_size CCBFV_DESERIALIZE_CIPHERTEXT_COEFF_WORKSPACE_N(cc_size n);
50
51// This file is auto-generated. Please don't modify it.
52CC_INLINE cc_size CCBFV_DESERIALIZE_CIPHERTEXT_EVAL_WORKSPACE_N(cc_size n);
53
54// This file is auto-generated. Please don't modify it.
55CC_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.
58CC_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.
61CC_INLINE cc_size CCBFV_GALOIS_KEY_LOAD_WORKSPACE_N(cc_size n);
62
63// This file is auto-generated. Please don't modify it.
64CC_INLINE cc_size CCBFV_GALOIS_KEY_SAVE_WORKSPACE_N(cc_size n);
65
66// This file is auto-generated. Please don't modify it.
67CC_INLINE cc_size CCBFV_PARAM_CTX_INIT_WORKSPACE_N(cc_size n);
68
69// This file is auto-generated. Please don't modify it.
70CC_INLINE cc_size CCBFV_RELIN_KEY_LOAD_WORKSPACE_N(cc_size n);
71
72// This file is auto-generated. Please don't modify it.
73CC_INLINE cc_size CCBFV_RELIN_KEY_SAVE_WORKSPACE_N(cc_size n);
74
75// This file is auto-generated. Please don't modify it.
76CC_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.
79CC_INLINE cc_size CCBFV_SECRET_KEY_GENERATE_WORKSPACE_N(cc_size n);
80
81// This file is auto-generated. Please don't modify it.
82CC_INLINE cc_size CCBFV_SERIALIZE_CIPHERTEXT_COEFF_WORKSPACE_N(cc_size n);
83
84// This file is auto-generated. Please don't modify it.
85CC_INLINE cc_size CCBFV_SERIALIZE_CIPHERTEXT_EVAL_WORKSPACE_N(cc_size n);
86
87// This file is auto-generated. Please don't modify it.
88CC_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.
91CC_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.
94CC_INLINE cc_size CCCKG_CONTRIBUTOR_FINISH_WORKSPACE_N(cc_size n);
95
96// This file is auto-generated. Please don't modify it.
97CC_INLINE cc_size CCCKG_OWNER_GENERATE_SHARE_WORKSPACE_N(cc_size n);
98
99// This file is auto-generated. Please don't modify it.
100CC_INLINE cc_size CCCURVE25519_INTERNAL_WORKSPACE_N(cc_size n);
101
102// This file is auto-generated. Please don't modify it.
103CC_INLINE cc_size CCCURVE448_WORKSPACE_N(cc_size n);
104
105// This file is auto-generated. Please don't modify it.
106CC_INLINE cc_size CCDER_DECODE_RSA_PRIV_WORKSPACE_N(cc_size n);
107
108// This file is auto-generated. Please don't modify it.
109CC_INLINE cc_size CCDH_CHECK_PUB_WORKSPACE_N(cc_size n);
110
111// This file is auto-generated. Please don't modify it.
112CC_INLINE cc_size CCDH_COMPUTE_SHARED_SECRET_WORKSPACE_N(cc_size n);
113
114// This file is auto-generated. Please don't modify it.
115CC_INLINE cc_size CCDH_GENERATE_KEY_WORKSPACE_N(cc_size n);
116
117// This file is auto-generated. Please don't modify it.
118CC_INLINE cc_size CCDH_GENERATE_PRIVATE_KEY_WORKSPACE_N(cc_size n);
119
120// This file is auto-generated. Please don't modify it.
121CC_INLINE cc_size CCDH_IMPORT_PRIV_WORKSPACE_N(cc_size n);
122
123// This file is auto-generated. Please don't modify it.
124CC_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.
127CC_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.
130CC_INLINE cc_size CCDH_PAIRWISE_CONSISTENCY_CHECK_WORKSPACE_N(cc_size n);
131
132// This file is auto-generated. Please don't modify it.
133CC_INLINE cc_size CCEC25519_ADD_OPT_WORKSPACE_N(cc_size n);
134
135// This file is auto-generated. Please don't modify it.
136CC_INLINE cc_size CCEC25519_ADD_WORKSPACE_N(cc_size n);
137
138// This file is auto-generated. Please don't modify it.
139CC_INLINE cc_size CCEC25519_FROM_WORKSPACE_N(cc_size n);
140
141// This file is auto-generated. Please don't modify it.
142CC_INLINE cc_size CCEC25519_INV_WORKSPACE_N(cc_size n);
143
144// This file is auto-generated. Please don't modify it.
145CC_INLINE cc_size CCEC25519_MUL121666_WORKSPACE_N(cc_size n);
146
147// This file is auto-generated. Please don't modify it.
148CC_INLINE cc_size CCEC25519_MUL_OPT_WORKSPACE_N(cc_size n);
149
150// This file is auto-generated. Please don't modify it.
151CC_INLINE cc_size CCEC25519_MUL_WORKSPACE_N(cc_size n);
152
153// This file is auto-generated. Please don't modify it.
154CC_INLINE cc_size CCEC25519_REDC_WORKSPACE_N(cc_size n);
155
156// This file is auto-generated. Please don't modify it.
157CC_INLINE cc_size CCEC25519_SQR_OPT_WORKSPACE_N(cc_size n);
158
159// This file is auto-generated. Please don't modify it.
160CC_INLINE cc_size CCEC25519_SQR_WORKSPACE_N(cc_size n);
161
162// This file is auto-generated. Please don't modify it.
163CC_INLINE cc_size CCEC25519_SUB_OPT_WORKSPACE_N(cc_size n);
164
165// This file is auto-generated. Please don't modify it.
166CC_INLINE cc_size CCEC25519_SUB_WORKSPACE_N(cc_size n);
167
168// This file is auto-generated. Please don't modify it.
169CC_INLINE cc_size CCEC448_ADD_WORKSPACE_N(cc_size n);
170
171// This file is auto-generated. Please don't modify it.
172CC_INLINE cc_size CCEC448_FROM_WORKSPACE_N(cc_size n);
173
174// This file is auto-generated. Please don't modify it.
175CC_INLINE cc_size CCEC448_INV_WORKSPACE_N(cc_size n);
176
177// This file is auto-generated. Please don't modify it.
178CC_INLINE cc_size CCEC448_MUL_WORKSPACE_N(cc_size n);
179
180// This file is auto-generated. Please don't modify it.
181CC_INLINE cc_size CCEC448_SQR_WORKSPACE_N(cc_size n);
182
183// This file is auto-generated. Please don't modify it.
184CC_INLINE cc_size CCEC448_SUB_WORKSPACE_N(cc_size n);
185
186// This file is auto-generated. Please don't modify it.
187CC_INLINE cc_size CCECDH_COMPUTE_SHARED_SECRET_WORKSPACE_N(cc_size n);
188
189// This file is auto-generated. Please don't modify it.
190CC_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.
193CC_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.
196CC_INLINE cc_size CCECDH_FAST_SCALAR_MULT_WORKSPACE_N(cc_size n);
197
198// This file is auto-generated. Please don't modify it.
199CC_INLINE cc_size CCECDH_GENERATE_KEY_WORKSPACE_N(cc_size n);
200
201// This file is auto-generated. Please don't modify it.
202CC_INLINE cc_size CCECDH_PAIRWISE_CONSISTENCY_CHECK_WORKSPACE_N(cc_size n);
203
204// This file is auto-generated. Please don't modify it.
205CC_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.
208CC_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.
211CC_INLINE cc_size CCECIES_DECRYPT_GCM_COMPOSITE_WORKSPACE_N(cc_size n);
212
213// This file is auto-generated. Please don't modify it.
214CC_INLINE cc_size CCECIES_ENCRYPT_GCM_COMPOSITE_WORKSPACE_N(cc_size n);
215
216// This file is auto-generated. Please don't modify it.
217CC_INLINE cc_size CCECIES_IMPORT_EPH_PUB_WORKSPACE_N(cc_size n);
218
219// This file is auto-generated. Please don't modify it.
220CC_INLINE cc_size CCEC_ADD_WORKSPACE_N(cc_size n);
221
222// This file is auto-generated. Please don't modify it.
223CC_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.
226CC_INLINE cc_size CCEC_AFFINIFY_HOMOGENEOUS_WORKSPACE_N(cc_size n);
227
228// This file is auto-generated. Please don't modify it.
229CC_INLINE cc_size CCEC_AFFINIFY_JACOBIAN_WORKSPACE_N(cc_size n);
230
231// This file is auto-generated. Please don't modify it.
232CC_INLINE cc_size CCEC_AFFINIFY_WORKSPACE_N(cc_size n);
233
234// This file is auto-generated. Please don't modify it.
235CC_INLINE cc_size CCEC_AFFINIFY_X_ONLY_WORKSPACE_N(cc_size n);
236
237// This file is auto-generated. Please don't modify it.
238CC_INLINE cc_size CCEC_BLINDING_OP_WORKSPACE_N(cc_size n);
239
240// This file is auto-generated. Please don't modify it.
241CC_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.
244CC_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.
247CC_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.
250CC_INLINE cc_size CCEC_COMPACT_GENERATE_KEY_WORKSPACE_N(cc_size n);
251
252// This file is auto-generated. Please don't modify it.
253CC_INLINE cc_size CCEC_COMPACT_IMPORT_PUB_WORKSPACE_N(cc_size n);
254
255// This file is auto-generated. Please don't modify it.
256CC_INLINE cc_size CCEC_COMPACT_TRANSFORM_KEY_WORKSPACE_N(cc_size n);
257
258// This file is auto-generated. Please don't modify it.
259CC_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.
262CC_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.
265CC_INLINE cc_size CCEC_DER_EXPORT_PRIV_WORKSPACE_N(cc_size n);
266
267// This file is auto-generated. Please don't modify it.
268CC_INLINE cc_size CCEC_DIVERSIFY_PRIV_TWIN_WORKSPACE_N(cc_size n);
269
270// This file is auto-generated. Please don't modify it.
271CC_INLINE cc_size CCEC_DIVERSIFY_PUB_TWIN_WORKSPACE_N(cc_size n);
272
273// This file is auto-generated. Please don't modify it.
274CC_INLINE cc_size CCEC_DIVERSIFY_PUB_WORKSPACE_N(cc_size n);
275
276// This file is auto-generated. Please don't modify it.
277CC_INLINE cc_size CCEC_DIVERSIFY_TWIN_SCALARS_WORKSPACE_N(cc_size n);
278
279// This file is auto-generated. Please don't modify it.
280CC_INLINE cc_size CCEC_DOUBLE_WORKSPACE_N(cc_size n);
281
282// This file is auto-generated. Please don't modify it.
283CC_INLINE cc_size CCEC_EXTRACT_RS_WORKSPACE_N(cc_size n);
284
285// This file is auto-generated. Please don't modify it.
286CC_INLINE cc_size CCEC_FULL_ADD_DEFAULT_WORKSPACE_N(cc_size n);
287
288// This file is auto-generated. Please don't modify it.
289CC_INLINE cc_size CCEC_FULL_ADD_NORMALIZED_WORKSPACE_N(cc_size n);
290
291// This file is auto-generated. Please don't modify it.
292CC_INLINE cc_size CCEC_FULL_ADD_WORKSPACE_N(cc_size n);
293
294// This file is auto-generated. Please don't modify it.
295CC_INLINE cc_size CCEC_FULL_SUB_NORMALIZED_WORKSPACE_N(cc_size n);
296
297// This file is auto-generated. Please don't modify it.
298CC_INLINE cc_size CCEC_FULL_SUB_WORKSPACE_N(cc_size n);
299
300// This file is auto-generated. Please don't modify it.
301CC_INLINE cc_size CCEC_GENERATE_BLINDING_KEYS_WORKSPACE_N(cc_size n);
302
303// This file is auto-generated. Please don't modify it.
304CC_INLINE cc_size CCEC_GENERATE_DIVERSIFIED_KEY_WORKSPACE_N(cc_size n);
305
306// This file is auto-generated. Please don't modify it.
307CC_INLINE cc_size CCEC_GENERATE_KEY_DETERMINISTIC_WORKSPACE_N(cc_size n);
308
309// This file is auto-generated. Please don't modify it.
310CC_INLINE cc_size CCEC_GENERATE_KEY_FIPS_WORKSPACE_N(cc_size n);
311
312// This file is auto-generated. Please don't modify it.
313CC_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.
316CC_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.
319CC_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.
322CC_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.
325CC_INLINE cc_size CCEC_GENERATE_SCALAR_LEGACY_WORKSPACE_N(cc_size n);
326
327// This file is auto-generated. Please don't modify it.
328CC_INLINE cc_size CCEC_IMPORT_AFFINE_POINT_WORKSPACE_N(cc_size n);
329
330// This file is auto-generated. Please don't modify it.
331CC_INLINE cc_size CCEC_IMPORT_PUB_WORKSPACE_N(cc_size n);
332
333// This file is auto-generated. Please don't modify it.
334CC_INLINE cc_size CCEC_IS_COMPACTABLE_POINT_WORKSPACE_N(cc_size n);
335
336// This file is auto-generated. Please don't modify it.
337CC_INLINE cc_size CCEC_IS_POINT_PROJECTIVE_WORKSPACE_N(cc_size n);
338
339// This file is auto-generated. Please don't modify it.
340CC_INLINE cc_size CCEC_IS_POINT_WORKSPACE_N(cc_size n);
341
342// This file is auto-generated. Please don't modify it.
343CC_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.
346CC_INLINE cc_size CCEC_MULT_BLINDED_WORKSPACE_N(cc_size n);
347
348// This file is auto-generated. Please don't modify it.
349CC_INLINE cc_size CCEC_MULT_DEFAULT_WORKSPACE_N(cc_size n);
350
351// This file is auto-generated. Please don't modify it.
352CC_INLINE cc_size CCEC_MULT_INNER_WORKSPACE_N(cc_size n);
353
354// This file is auto-generated. Please don't modify it.
355CC_INLINE cc_size CCEC_MULT_WORKSPACE_N(cc_size n);
356
357// This file is auto-generated. Please don't modify it.
358CC_INLINE cc_size CCEC_MULT_XYCZADDC_WORKSPACE_N(cc_size n);
359
360// This file is auto-generated. Please don't modify it.
361CC_INLINE cc_size CCEC_MULT_XYCZADD_WORKSPACE_N(cc_size n);
362
363// This file is auto-generated. Please don't modify it.
364CC_INLINE cc_size CCEC_MULT_XYCZDBLJAC_WORKSPACE_N(cc_size n);
365
366// This file is auto-generated. Please don't modify it.
367CC_INLINE cc_size CCEC_MULT_XYCZRECOVERCOEFFJAC_WORKSPACE_N(cc_size n);
368
369// This file is auto-generated. Please don't modify it.
370CC_INLINE cc_size CCEC_PAIRWISE_CONSISTENCY_CHECK_WORKSPACE_N(cc_size n);
371
372// This file is auto-generated. Please don't modify it.
373CC_INLINE cc_size CCEC_PRINT_PROJECTIVE_POINT_WORKSPACE_N(cc_size n);
374
375// This file is auto-generated. Please don't modify it.
376CC_INLINE cc_size CCEC_PROJECTIFY_HOMOGENEOUS_WORKSPACE_N(cc_size n);
377
378// This file is auto-generated. Please don't modify it.
379CC_INLINE cc_size CCEC_PROJECTIFY_JACOBIAN_WORKSPACE_N(cc_size n);
380
381// This file is auto-generated. Please don't modify it.
382CC_INLINE cc_size CCEC_PROJECTIFY_WORKSPACE_N(cc_size n);
383
384// This file is auto-generated. Please don't modify it.
385CC_INLINE cc_size CCEC_RFC6637_UNWRAP_KEY_WORKSPACE_N(cc_size n);
386
387// This file is auto-generated. Please don't modify it.
388CC_INLINE cc_size CCEC_RFC6637_WRAP_CORE_WORKSPACE_N(cc_size n);
389
390// This file is auto-generated. Please don't modify it.
391CC_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.
394CC_INLINE cc_size CCEC_RFC6637_WRAP_KEY_WORKSPACE_N(cc_size n);
395
396// This file is auto-generated. Please don't modify it.
397CC_INLINE cc_size CCEC_SIGN_COMPOSITE_WORKSPACE_N(cc_size n);
398
399// This file is auto-generated. Please don't modify it.
400CC_INLINE cc_size CCEC_SIGN_INTERNAL_INNER_WORKSPACE_N(cc_size n);
401
402// This file is auto-generated. Please don't modify it.
403CC_INLINE cc_size CCEC_SIGN_INTERNAL_WORKSPACE_N(cc_size n);
404
405// This file is auto-generated. Please don't modify it.
406CC_INLINE cc_size CCEC_SIGN_MSG_WORKSPACE_N(cc_size n);
407
408// This file is auto-generated. Please don't modify it.
409CC_INLINE cc_size CCEC_SIGN_WORKSPACE_N(cc_size n);
410
411// This file is auto-generated. Please don't modify it.
412CC_INLINE cc_size CCEC_TWIN_MULT_NORMALIZE_WORKSPACE_N(cc_size n);
413
414// This file is auto-generated. Please don't modify it.
415CC_INLINE cc_size CCEC_TWIN_MULT_WORKSPACE_N(cc_size n);
416
417// This file is auto-generated. Please don't modify it.
418CC_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.
421CC_INLINE cc_size CCEC_VALIDATE_PUB_WORKSPACE_N(cc_size n);
422
423// This file is auto-generated. Please don't modify it.
424CC_INLINE cc_size CCEC_VERIFY_COMPOSITE_DIGEST_WORKSPACE_N(cc_size n);
425
426// This file is auto-generated. Please don't modify it.
427CC_INLINE cc_size CCEC_VERIFY_COMPUTEMULTS_WORKSPACE_N(cc_size n);
428
429// This file is auto-generated. Please don't modify it.
430CC_INLINE cc_size CCEC_VERIFY_DIGEST_WORKSPACE_N(cc_size n);
431
432// This file is auto-generated. Please don't modify it.
433CC_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.
436CC_INLINE cc_size CCEC_VERIFY_INTERNAL_WORKSPACE_N(cc_size n);
437
438// This file is auto-generated. Please don't modify it.
439CC_INLINE cc_size CCEC_VERIFY_MSG_WORKSPACE_N(cc_size n);
440
441// This file is auto-generated. Please don't modify it.
442CC_INLINE cc_size CCEC_VERIFY_SINGLEMULTS_WORKSPACE_N(cc_size n);
443
444// This file is auto-generated. Please don't modify it.
445CC_INLINE cc_size CCEC_VERIFY_STRICT_WORKSPACE_N(cc_size n);
446
447// This file is auto-generated. Please don't modify it.
448CC_INLINE cc_size CCEC_VERIFY_TWINMULT_WORKSPACE_N(cc_size n);
449
450// This file is auto-generated. Please don't modify it.
451CC_INLINE cc_size CCEC_X963_IMPORT_PRIV_WORKSPACE_N(cc_size n);
452
453// This file is auto-generated. Please don't modify it.
454CC_INLINE cc_size CCEC_X963_IMPORT_PUB_WORKSPACE_N(cc_size n);
455
456// This file is auto-generated. Please don't modify it.
457CC_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.
460CC_INLINE cc_size CCED25519_ADD_POINTS_UNIFIED_WORKSPACE_N(cc_size n);
461
462// This file is auto-generated. Please don't modify it.
463CC_INLINE cc_size CCED25519_ADD_PRECOMPUTED_POINT_WORKSPACE_N(cc_size n);
464
465// This file is auto-generated. Please don't modify it.
466CC_INLINE cc_size CCED25519_DBL_POINT_WORKSPACE_N(cc_size n);
467
468// This file is auto-generated. Please don't modify it.
469CC_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.
472CC_INLINE cc_size CCED25519_DOUBLE_SCALAR_MULT_WORKSPACE_N(cc_size n);
473
474// This file is auto-generated. Please don't modify it.
475CC_INLINE cc_size CCED25519_FROM_ED25519_POINT_WORKSPACE_N(cc_size n);
476
477// This file is auto-generated. Please don't modify it.
478CC_INLINE cc_size CCED25519_FULL_ADD_WORKSPACE_N(cc_size n);
479
480// This file is auto-generated. Please don't modify it.
481CC_INLINE cc_size CCED25519_HASH_TO_SCALAR_WORKSPACE_N(cc_size n);
482
483// This file is auto-generated. Please don't modify it.
484CC_INLINE cc_size CCED25519_POINT_TO_CACHED_WORKSPACE_N(cc_size n);
485
486// This file is auto-generated. Please don't modify it.
487CC_INLINE cc_size CCED25519_SCALAR_MULT_WORKSPACE_N(cc_size n);
488
489// This file is auto-generated. Please don't modify it.
490CC_INLINE cc_size CCED25519_TO_ED25519_POINT_WORKSPACE_N(cc_size n);
491
492// This file is auto-generated. Please don't modify it.
493CC_INLINE cc_size CCED25519_VERIFY_WORKSPACE_N(cc_size n);
494
495// This file is auto-generated. Please don't modify it.
496CC_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.
499CC_INLINE cc_size CCED448_ADD_POINTS_UNIFIED_WORKSPACE_N(cc_size n);
500
501// This file is auto-generated. Please don't modify it.
502CC_INLINE cc_size CCED448_ADD_POINTS_WORKSPACE_N(cc_size n);
503
504// This file is auto-generated. Please don't modify it.
505CC_INLINE cc_size CCED448_ADD_PRECOMPUTED_POINT_WORKSPACE_N(cc_size n);
506
507// This file is auto-generated. Please don't modify it.
508CC_INLINE cc_size CCED448_DBL_POINT_WORKSPACE_N(cc_size n);
509
510// This file is auto-generated. Please don't modify it.
511CC_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.
514CC_INLINE cc_size CCED448_DOUBLE_SCALAR_MULT_WORKSPACE_N(cc_size n);
515
516// This file is auto-generated. Please don't modify it.
517CC_INLINE cc_size CCED448_FROM_ED448_POINT_WORKSPACE_N(cc_size n);
518
519// This file is auto-generated. Please don't modify it.
520CC_INLINE cc_size CCED448_FULL_ADD_WORKSPACE_N(cc_size n);
521
522// This file is auto-generated. Please don't modify it.
523CC_INLINE cc_size CCED448_MAKE_PUB_WORKSPACE_N(cc_size n);
524
525// This file is auto-generated. Please don't modify it.
526CC_INLINE cc_size CCED448_POINT_TO_CACHED_WORKSPACE_N(cc_size n);
527
528// This file is auto-generated. Please don't modify it.
529CC_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.
532CC_INLINE cc_size CCED448_SCALAR_MULT_WORKSPACE_N(cc_size n);
533
534// This file is auto-generated. Please don't modify it.
535CC_INLINE cc_size CCED448_SHAKE_TO_SCALAR_WORKSPACE_N(cc_size n);
536
537// This file is auto-generated. Please don't modify it.
538CC_INLINE cc_size CCED448_SIGN_WORKSPACE_N(cc_size n);
539
540// This file is auto-generated. Please don't modify it.
541CC_INLINE cc_size CCED448_TO_ED448_POINT_WORKSPACE_N(cc_size n);
542
543// This file is auto-generated. Please don't modify it.
544CC_INLINE cc_size CCED448_VERIFY_WORKSPACE_N(cc_size n);
545
546// This file is auto-generated. Please don't modify it.
547CC_INLINE cc_size CCH2C_CCZP_INV0_WORKSPACE_N(cc_size n);
548
549// This file is auto-generated. Please don't modify it.
550CC_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.
553CC_INLINE cc_size CCH2C_ENCODE_TO_CURVE_WORKSPACE_N(cc_size n);
554
555// This file is auto-generated. Please don't modify it.
556CC_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.
559CC_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.
562CC_INLINE cc_size CCH2C_HASH_TO_BASE_WORKSPACE_N(cc_size n);
563
564// This file is auto-generated. Please don't modify it.
565CC_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.
568CC_INLINE cc_size CCH2C_MAP_TO_CURVE_WORKSPACE_N(cc_size n);
569
570// This file is auto-generated. Please don't modify it.
571CC_INLINE cc_size CCH2C_WORKSPACE_N(cc_size n);
572
573// This file is auto-generated. Please don't modify it.
574CC_INLINE cc_size CCN_ADD1_WORKSPACE_N(cc_size n);
575
576// This file is auto-generated. Please don't modify it.
577CC_INLINE cc_size CCN_ADD_WORKSPACE_N(cc_size n);
578
579// This file is auto-generated. Please don't modify it.
580CC_INLINE cc_size CCN_DIVMOD_WORKSPACE_N(cc_size n);
581
582// This file is auto-generated. Please don't modify it.
583CC_INLINE cc_size CCN_DIV_EXACT_WORKSPACE_N(cc_size n);
584
585// This file is auto-generated. Please don't modify it.
586CC_INLINE cc_size CCN_GCD_UPDATE_WORKSPACE_N(cc_size n);
587
588// This file is auto-generated. Please don't modify it.
589CC_INLINE cc_size CCN_GCD_WORKSPACE_N(cc_size n);
590
591// This file is auto-generated. Please don't modify it.
592CC_INLINE cc_size CCN_INVMOD_WORKSPACE_N(cc_size n);
593
594// This file is auto-generated. Please don't modify it.
595CC_INLINE cc_size CCN_LCM_WORKSPACE_N(cc_size n);
596
597// This file is auto-generated. Please don't modify it.
598CC_INLINE cc_size CCN_MOD_192_WORKSPACE_N(cc_size n);
599
600// This file is auto-generated. Please don't modify it.
601CC_INLINE cc_size CCN_MOD_521_WORKSPACE_N(cc_size n);
602
603// This file is auto-generated. Please don't modify it.
604CC_INLINE cc_size CCN_MUL_WORKSPACE_N(cc_size n);
605
606// This file is auto-generated. Please don't modify it.
607CC_INLINE cc_size CCN_P224_FROM_WORKSPACE_N(cc_size n);
608
609// This file is auto-generated. Please don't modify it.
610CC_INLINE cc_size CCN_P224_MUL_WORKSPACE_N(cc_size n);
611
612// This file is auto-generated. Please don't modify it.
613CC_INLINE cc_size CCN_P224_REDC_WORKSPACE_N(cc_size n);
614
615// This file is auto-generated. Please don't modify it.
616CC_INLINE cc_size CCN_P224_SQRT_WORKSPACE_N(cc_size n);
617
618// This file is auto-generated. Please don't modify it.
619CC_INLINE cc_size CCN_P224_SQR_WORKSPACE_N(cc_size n);
620
621// This file is auto-generated. Please don't modify it.
622CC_INLINE cc_size CCN_P224_TO_WORKSPACE_N(cc_size n);
623
624// This file is auto-generated. Please don't modify it.
625CC_INLINE cc_size CCN_P256_FROM_WORKSPACE_N(cc_size n);
626
627// This file is auto-generated. Please don't modify it.
628CC_INLINE cc_size CCN_P256_MUL_WORKSPACE_N(cc_size n);
629
630// This file is auto-generated. Please don't modify it.
631CC_INLINE cc_size CCN_P256_REDC_WORKSPACE_N(cc_size n);
632
633// This file is auto-generated. Please don't modify it.
634CC_INLINE cc_size CCN_P256_SQR_WORKSPACE_N(cc_size n);
635
636// This file is auto-generated. Please don't modify it.
637CC_INLINE cc_size CCN_P256_TO_WORKSPACE_N(cc_size n);
638
639// This file is auto-generated. Please don't modify it.
640CC_INLINE cc_size CCN_P384_FROM_WORKSPACE_N(cc_size n);
641
642// This file is auto-generated. Please don't modify it.
643CC_INLINE cc_size CCN_P384_MUL_WORKSPACE_N(cc_size n);
644
645// This file is auto-generated. Please don't modify it.
646CC_INLINE cc_size CCN_P384_REDC_WORKSPACE_N(cc_size n);
647
648// This file is auto-generated. Please don't modify it.
649CC_INLINE cc_size CCN_P384_SQR_WORKSPACE_N(cc_size n);
650
651// This file is auto-generated. Please don't modify it.
652CC_INLINE cc_size CCN_P384_TO_WORKSPACE_N(cc_size n);
653
654// This file is auto-generated. Please don't modify it.
655CC_INLINE cc_size CCN_SUB_WORKSPACE_N(cc_size n);
656
657// This file is auto-generated. Please don't modify it.
658CC_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.
661CC_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.
664CC_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.
667CC_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.
670CC_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.
673CC_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.
676CC_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.
679CC_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.
682CC_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.
685CC_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.
688CC_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.
691CC_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.
694CC_INLINE cc_size CCPOLYZP_PO2CYC_SCALAR_DIVMOD_WORKSPACE_N(cc_size n);
695
696// This file is auto-generated. Please don't modify it.
697CC_INLINE cc_size CCPRIME_PICK_RANDOM_BASE_WORKSPACE_N(cc_size n);
698
699// This file is auto-generated. Please don't modify it.
700CC_INLINE cc_size CCPRIME_RABIN_MILLER_INIT_WORKSPACE_N(cc_size n);
701
702// This file is auto-generated. Please don't modify it.
703CC_INLINE cc_size CCPRIME_RABIN_MILLER_ITERATION_WORKSPACE_N(cc_size n);
704
705// This file is auto-generated. Please don't modify it.
706CC_INLINE cc_size CCPRIME_RABIN_MILLER_WORKSPACE_N(cc_size n);
707
708// This file is auto-generated. Please don't modify it.
709CC_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.
712CC_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.
715CC_INLINE cc_size CCRNS_MODULUS_INIT_HELPER_WORKSPACE_N(cc_size n);
716
717// This file is auto-generated. Please don't modify it.
718CC_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.
721CC_INLINE cc_size CCRNS_MODULUS_INIT_WORKSPACE_N(cc_size n);
722
723// This file is auto-generated. Please don't modify it.
724CC_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.
727CC_INLINE cc_size CCRNS_MUL_MODULUS_INIT_WORKSPACE_N(cc_size n);
728
729// This file is auto-generated. Please don't modify it.
730CC_INLINE cc_size CCRSABSSA_BLIND_MESSAGE_WORKSPACE_N(cc_size n);
731
732// This file is auto-generated. Please don't modify it.
733CC_INLINE cc_size CCRSABSSA_SIGN_BLINDED_MESSAGE_WORKSPACE_N(cc_size n);
734
735// This file is auto-generated. Please don't modify it.
736CC_INLINE cc_size CCRSABSSA_UNBLIND_SIGNATURE_WORKSPACE_N(cc_size n);
737
738// This file is auto-generated. Please don't modify it.
739CC_INLINE cc_size CCRSABSSA_VERIFY_SIGNATURE_WORKSPACE_N(cc_size n);
740
741// This file is auto-generated. Please don't modify it.
742CC_INLINE cc_size CCRSA_CHECK_DELTA_100BITS_WORKSPACE_N(cc_size n);
743
744// This file is auto-generated. Please don't modify it.
745CC_INLINE cc_size CCRSA_COMPUTE_R_WORKSPACE_N(cc_size n);
746
747// This file is auto-generated. Please don't modify it.
748CC_INLINE cc_size CCRSA_CRT_MAKEKEY_WORKSPACE_N(cc_size n);
749
750// This file is auto-generated. Please don't modify it.
751CC_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.
754CC_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.
757CC_INLINE cc_size CCRSA_DECRYPT_EME_PKCS1V15_WORKSPACE_N(cc_size n);
758
759// This file is auto-generated. Please don't modify it.
760CC_INLINE cc_size CCRSA_DECRYPT_OAEP_BLINDED_WORKSPACE_N(cc_size n);
761
762// This file is auto-generated. Please don't modify it.
763CC_INLINE cc_size CCRSA_DECRYPT_OAEP_WORKSPACE_N(cc_size n);
764
765// This file is auto-generated. Please don't modify it.
766CC_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.
769CC_INLINE cc_size CCRSA_EMSA_PSS_DECODE_WORKSPACE_N(cc_size n);
770
771// This file is auto-generated. Please don't modify it.
772CC_INLINE cc_size CCRSA_ENCRYPT_EME_PKCS1V15_WORKSPACE_N(cc_size n);
773
774// This file is auto-generated. Please don't modify it.
775CC_INLINE cc_size CCRSA_ENCRYPT_OAEP_WORKSPACE_N(cc_size n);
776
777// This file is auto-generated. Please don't modify it.
778CC_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.
781CC_INLINE cc_size CCRSA_FIND_NEXT_PRIME_WORKSPACE_N(cc_size n);
782
783// This file is auto-generated. Please don't modify it.
784CC_INLINE cc_size CCRSA_FIND_PRIME_MULTIPLE_WORKSPACE_N(cc_size n);
785
786// This file is auto-generated. Please don't modify it.
787CC_INLINE cc_size CCRSA_GENERATE_AUXILIARY_PRIMES_WORKSPACE_N(cc_size n);
788
789// This file is auto-generated. Please don't modify it.
790CC_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.
793CC_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.
796CC_INLINE cc_size CCRSA_GENERATE_KEY_INTERNAL_WORKSPACE_N(cc_size n);
797
798// This file is auto-generated. Please don't modify it.
799CC_INLINE cc_size CCRSA_GENERATE_PRIME_WORKSPACE_N(cc_size n);
800
801// This file is auto-generated. Please don't modify it.
802CC_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.
805CC_INLINE cc_size CCRSA_GENERATE_PROBABLE_PRIME_WORKSPACE_N(cc_size n);
806
807// This file is auto-generated. Please don't modify it.
808CC_INLINE cc_size CCRSA_IMPORT_PRIV_WORKSPACE_N(cc_size n);
809
810// This file is auto-generated. Please don't modify it.
811CC_INLINE cc_size CCRSA_INIT_PUB_WORKSPACE_N(cc_size n);
812
813// This file is auto-generated. Please don't modify it.
814CC_INLINE cc_size CCRSA_IS_VALID_PRIME_WORKSPACE_N(cc_size n);
815
816// This file is auto-generated. Please don't modify it.
817CC_INLINE cc_size CCRSA_MAKE_FIPS186_KEY_WORKSPACE_N(cc_size n);
818
819// This file is auto-generated. Please don't modify it.
820CC_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.
823CC_INLINE cc_size CCRSA_MAKE_PRIV_WORKSPACE_N(cc_size n);
824
825// This file is auto-generated. Please don't modify it.
826CC_INLINE cc_size CCRSA_OAEP_DECODE_PARAMETER_WORKSPACE_N(cc_size n);
827
828// This file is auto-generated. Please don't modify it.
829CC_INLINE cc_size CCRSA_OAEP_ENCODE_PARAMETER_WORKSPACE_N(cc_size n);
830
831// This file is auto-generated. Please don't modify it.
832CC_INLINE cc_size CCRSA_PAIRWISE_CONSISTENCY_CHECK_WORKSPACE_N(cc_size n);
833
834// This file is auto-generated. Please don't modify it.
835CC_INLINE cc_size CCRSA_PRIV_CRYPT_BLINDED_WORKSPACE_N(cc_size n);
836
837// This file is auto-generated. Please don't modify it.
838CC_INLINE cc_size CCRSA_PRIV_CRYPT_WORKSPACE_N(cc_size n);
839
840// This file is auto-generated. Please don't modify it.
841CC_INLINE cc_size CCRSA_PUB_CRYPT_WORKSPACE_N(cc_size n);
842
843// This file is auto-generated. Please don't modify it.
844CC_INLINE cc_size CCRSA_RECOVER_PQ_WORKSPACE_N(cc_size n);
845
846// This file is auto-generated. Please don't modify it.
847CC_INLINE cc_size CCRSA_RECOVER_PRIV_WORKSPACE_N(cc_size n);
848
849// This file is auto-generated. Please don't modify it.
850CC_INLINE cc_size CCRSA_SEED_X_WORKSPACE_N(cc_size n);
851
852// This file is auto-generated. Please don't modify it.
853CC_INLINE cc_size CCRSA_SIGN_PKCS1V15_BLINDED_WORKSPACE_N(cc_size n);
854
855// This file is auto-generated. Please don't modify it.
856CC_INLINE cc_size CCRSA_SIGN_PSS_BLINDED_WORKSPACE_N(cc_size n);
857
858// This file is auto-generated. Please don't modify it.
859CC_INLINE cc_size CCRSA_VERIFY_PKCS1V15_DIGEST_WORKSPACE_N(cc_size n);
860
861// This file is auto-generated. Please don't modify it.
862CC_INLINE cc_size CCRSA_VERIFY_PKCS1V15_INTERNAL_WORKSPACE_N(cc_size n);
863
864// This file is auto-generated. Please don't modify it.
865CC_INLINE cc_size CCRSA_VERIFY_PSS_DIGEST_WORKSPACE_N(cc_size n);
866
867// This file is auto-generated. Please don't modify it.
868CC_INLINE cc_size CCRSA_VERIFY_PSS_MSG_WORKSPACE_N(cc_size n);
869
870// This file is auto-generated. Please don't modify it.
871CC_INLINE cc_size CCSAE_GENERATE_COMMITMENT_FINALIZE_WORKSPACE_N(cc_size n);
872
873// This file is auto-generated. Please don't modify it.
874CC_INLINE cc_size CCSAE_GENERATE_COMMITMENT_PARTIAL_WORKSPACE_N(cc_size n);
875
876// This file is auto-generated. Please don't modify it.
877CC_INLINE cc_size CCSAE_GENERATE_COMMITMENT_SHARED_WORKSPACE_N(cc_size n);
878
879// This file is auto-generated. Please don't modify it.
880CC_INLINE cc_size CCSAE_GENERATE_CONFIRMATION_WORKSPACE_N(cc_size n);
881
882// This file is auto-generated. Please don't modify it.
883CC_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.
886CC_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.
889CC_INLINE cc_size CCSAE_GENERATE_H2C_PT_WORKSPACE_N(cc_size n);
890
891// This file is auto-generated. Please don't modify it.
892CC_INLINE cc_size CCSAE_GENERATE_KEYSEED_WORKSPACE_N(cc_size n);
893
894// This file is auto-generated. Please don't modify it.
895CC_INLINE cc_size CCSAE_GEN_KEYS_WORKSPACE_N(cc_size n);
896
897// This file is auto-generated. Please don't modify it.
898CC_INLINE cc_size CCSAE_GEN_PASSWORD_VALUE_WORKSPACE_N(cc_size n);
899
900// This file is auto-generated. Please don't modify it.
901CC_INLINE cc_size CCSAE_GET_KEYS_WORKSPACE_N(cc_size n);
902
903// This file is auto-generated. Please don't modify it.
904CC_INLINE cc_size CCSAE_VERIFY_COMMITMENT_WORKSPACE_N(cc_size n);
905
906// This file is auto-generated. Please don't modify it.
907CC_INLINE cc_size CCSAE_VERIFY_CONFIRMATION_WORKSPACE_N(cc_size n);
908
909// This file is auto-generated. Please don't modify it.
910CC_INLINE cc_size CCSAE_Y2_FROM_X_WORKSPACE_N(cc_size n);
911
912// This file is auto-generated. Please don't modify it.
913CC_INLINE cc_size CCSPAKE_GENERATE_L_WORKSPACE_N(cc_size n);
914
915// This file is auto-generated. Please don't modify it.
916CC_INLINE cc_size CCSPAKE_IMPORT_PUB_WORKSPACE_N(cc_size n);
917
918// This file is auto-generated. Please don't modify it.
919CC_INLINE cc_size CCSPAKE_KEX_PROCESS_WORKSPACE_N(cc_size n);
920
921// This file is auto-generated. Please don't modify it.
922CC_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.
925CC_INLINE cc_size CCSPAKE_REDUCE_W_WORKSPACE_N(cc_size n);
926
927// This file is auto-generated. Please don't modify it.
928CC_INLINE cc_size CCSPAKE_VERIFIER_INITIALIZE_WORKSPACE_N(cc_size n);
929
930// This file is auto-generated. Please don't modify it.
931CC_INLINE cc_size CCSPAKE_VERIFIER_INIT_WORKSPACE_N(cc_size n);
932
933// This file is auto-generated. Please don't modify it.
934CC_INLINE cc_size CCSRP_CLIENT_PROCESS_CHALLENGE_WORKSPACE_N(cc_size n);
935
936// This file is auto-generated. Please don't modify it.
937CC_INLINE cc_size CCSRP_CLIENT_START_AUTHENTICATION_WORKSPACE_N(cc_size n);
938
939// This file is auto-generated. Please don't modify it.
940CC_INLINE cc_size CCSRP_DIGEST_CCN_CCN_WORKSPACE_N(cc_size n);
941
942// This file is auto-generated. Please don't modify it.
943CC_INLINE cc_size CCSRP_DIGEST_CCN_WORKSPACE_N(cc_size n);
944
945// This file is auto-generated. Please don't modify it.
946CC_INLINE cc_size CCSRP_DIGEST_UPDATE_CCN_WORKSPACE_N(cc_size n);
947
948// This file is auto-generated. Please don't modify it.
949CC_INLINE cc_size CCSRP_GENERATE_CLIENT_PUBKEY_WORKSPACE_N(cc_size n);
950
951// This file is auto-generated. Please don't modify it.
952CC_INLINE cc_size CCSRP_GENERATE_CLIENT_S_WORKSPACE_N(cc_size n);
953
954// This file is auto-generated. Please don't modify it.
955CC_INLINE cc_size CCSRP_GENERATE_H_AMK_WORKSPACE_N(cc_size n);
956
957// This file is auto-generated. Please don't modify it.
958CC_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.
961CC_INLINE cc_size CCSRP_GENERATE_K_WORKSPACE_N(cc_size n);
962
963// This file is auto-generated. Please don't modify it.
964CC_INLINE cc_size CCSRP_GENERATE_M_WORKSPACE_N(cc_size n);
965
966// This file is auto-generated. Please don't modify it.
967CC_INLINE cc_size CCSRP_GENERATE_SERVER_PUBKEY_WORKSPACE_N(cc_size n);
968
969// This file is auto-generated. Please don't modify it.
970CC_INLINE cc_size CCSRP_GENERATE_SERVER_S_WORKSPACE_N(cc_size n);
971
972// This file is auto-generated. Please don't modify it.
973CC_INLINE cc_size CCSRP_GENERATE_U_WORKSPACE_N(cc_size n);
974
975// This file is auto-generated. Please don't modify it.
976CC_INLINE cc_size CCSRP_GENERATE_VERIFIER_WORKSPACE_N(cc_size n);
977
978// This file is auto-generated. Please don't modify it.
979CC_INLINE cc_size CCSRP_GENERATE_V_WORKSPACE_N(cc_size n);
980
981// This file is auto-generated. Please don't modify it.
982CC_INLINE cc_size CCSRP_MGF_WORKSPACE_N(cc_size n);
983
984// This file is auto-generated. Please don't modify it.
985CC_INLINE cc_size CCSRP_SERVER_COMPUTE_SESSION_WORKSPACE_N(cc_size n);
986
987// This file is auto-generated. Please don't modify it.
988CC_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.
991CC_INLINE cc_size CCSRP_SHA_INTERLEAVE_RFC2945_WORKSPACE_N(cc_size n);
992
993// This file is auto-generated. Please don't modify it.
994CC_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.
997CC_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.
1000CC_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.
1003CC_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.
1006CC_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.
1009CC_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.
1012CC_INLINE cc_size CCX25519_SCALAR_MULT_WORKSPACE_N(cc_size n);
1013
1014// This file is auto-generated. Please don't modify it.
1015CC_INLINE cc_size CCX448_SCALAR_MULT_WORKSPACE_N(cc_size n);
1016
1017// This file is auto-generated. Please don't modify it.
1018CC_INLINE cc_size CCZP_ADD_DEFAULT_WORKSPACE_N(cc_size n);
1019
1020// This file is auto-generated. Please don't modify it.
1021CC_INLINE cc_size CCZP_ADD_WORKSPACE_N(cc_size n);
1022
1023// This file is auto-generated. Please don't modify it.
1024CC_INLINE cc_size CCZP_DIV2_WORKSPACE_N(cc_size n);
1025
1026// This file is auto-generated. Please don't modify it.
1027CC_INLINE cc_size CCZP_FROM_DEFAULT_WORKSPACE_N(cc_size n);
1028
1029// This file is auto-generated. Please don't modify it.
1030CC_INLINE cc_size CCZP_FROM_WORKSPACE_N(cc_size n);
1031
1032// This file is auto-generated. Please don't modify it.
1033CC_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.
1036CC_INLINE cc_size CCZP_GENERATE_RANDOM_ELEMENT_WORKSPACE_N(cc_size n);
1037
1038// This file is auto-generated. Please don't modify it.
1039CC_INLINE cc_size CCZP_INIT_COMPUTE_R2_WORKSPACE_N(cc_size n);
1040
1041// This file is auto-generated. Please don't modify it.
1042CC_INLINE cc_size CCZP_INIT_WORKSPACE_N(cc_size n);
1043
1044// This file is auto-generated. Please don't modify it.
1045CC_INLINE cc_size CCZP_INV_DEFAULT_WORKSPACE_N(cc_size n);
1046
1047// This file is auto-generated. Please don't modify it.
1048CC_INLINE cc_size CCZP_INV_FIELD_WORKSPACE_N(cc_size n);
1049
1050// This file is auto-generated. Please don't modify it.
1051CC_INLINE cc_size CCZP_INV_UPDATE_REDC_WORKSPACE_N(cc_size n);
1052
1053// This file is auto-generated. Please don't modify it.
1054CC_INLINE cc_size CCZP_INV_UPDATE_WORKSPACE_N(cc_size n);
1055
1056// This file is auto-generated. Please don't modify it.
1057CC_INLINE cc_size CCZP_INV_WORKSPACE_N(cc_size n);
1058
1059// This file is auto-generated. Please don't modify it.
1060CC_INLINE cc_size CCZP_IS_QUADRATIC_RESIDUE_WORKSPACE_N(cc_size n);
1061
1062// This file is auto-generated. Please don't modify it.
1063CC_INLINE cc_size CCZP_MM_FROM_WORKSPACE_N(cc_size n);
1064
1065// This file is auto-generated. Please don't modify it.
1066CC_INLINE cc_size CCZP_MM_INIT_WORKSPACE_N(cc_size n);
1067
1068// This file is auto-generated. Please don't modify it.
1069CC_INLINE cc_size CCZP_MM_INV_WORKSPACE_N(cc_size n);
1070
1071// This file is auto-generated. Please don't modify it.
1072CC_INLINE cc_size CCZP_MM_MOD_WORKSPACE_N(cc_size n);
1073
1074// This file is auto-generated. Please don't modify it.
1075CC_INLINE cc_size CCZP_MM_MUL_WORKSPACE_N(cc_size n);
1076
1077// This file is auto-generated. Please don't modify it.
1078CC_INLINE cc_size CCZP_MM_POWER_FAST_WORKSPACE_N(cc_size n);
1079
1080// This file is auto-generated. Please don't modify it.
1081CC_INLINE cc_size CCZP_MM_POWER_WORKSPACE_N(cc_size n);
1082
1083// This file is auto-generated. Please don't modify it.
1084CC_INLINE cc_size CCZP_MM_REDC_WORKSPACE_N(cc_size n);
1085
1086// This file is auto-generated. Please don't modify it.
1087CC_INLINE cc_size CCZP_MM_SQRT_WORKSPACE_N(cc_size n);
1088
1089// This file is auto-generated. Please don't modify it.
1090CC_INLINE cc_size CCZP_MM_SQR_WORKSPACE_N(cc_size n);
1091
1092// This file is auto-generated. Please don't modify it.
1093CC_INLINE cc_size CCZP_MM_TO_WORKSPACE_N(cc_size n);
1094
1095// This file is auto-generated. Please don't modify it.
1096CC_INLINE cc_size CCZP_MODN_WORKSPACE_N(cc_size n);
1097
1098// This file is auto-generated. Please don't modify it.
1099CC_INLINE cc_size CCZP_MOD_DEFAULT_WORKSPACE_N(cc_size n);
1100
1101// This file is auto-generated. Please don't modify it.
1102CC_INLINE cc_size CCZP_MOD_WORKSPACE_N(cc_size n);
1103
1104// This file is auto-generated. Please don't modify it.
1105CC_INLINE cc_size CCZP_MUL_DEFAULT_WORKSPACE_N(cc_size n);
1106
1107// This file is auto-generated. Please don't modify it.
1108CC_INLINE cc_size CCZP_MUL_WORKSPACE_N(cc_size n);
1109
1110// This file is auto-generated. Please don't modify it.
1111CC_INLINE cc_size CCZP_POWER_BLINDED_WORKSPACE_N(cc_size n);
1112
1113// This file is auto-generated. Please don't modify it.
1114CC_INLINE cc_size CCZP_POWER_FAST_WORKSPACE_N(cc_size n);
1115
1116// This file is auto-generated. Please don't modify it.
1117CC_INLINE cc_size CCZP_POWER_WORKSPACE_N(cc_size n);
1118
1119// This file is auto-generated. Please don't modify it.
1120CC_INLINE cc_size CCZP_SQRT_3MOD4_WORKSPACE_N(cc_size n);
1121
1122// This file is auto-generated. Please don't modify it.
1123CC_INLINE cc_size CCZP_SQRT_DEFAULT_WORKSPACE_N(cc_size n);
1124
1125// This file is auto-generated. Please don't modify it.
1126CC_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.
1129CC_INLINE cc_size CCZP_SQRT_TONELLI_SHANKS_WORKSPACE_N(cc_size n);
1130
1131// This file is auto-generated. Please don't modify it.
1132CC_INLINE cc_size CCZP_SQRT_WORKSPACE_N(cc_size n);
1133
1134// This file is auto-generated. Please don't modify it.
1135CC_INLINE cc_size CCZP_SQR_DEFAULT_WORKSPACE_N(cc_size n);
1136
1137// This file is auto-generated. Please don't modify it.
1138CC_INLINE cc_size CCZP_SQR_WORKSPACE_N(cc_size n);
1139
1140// This file is auto-generated. Please don't modify it.
1141CC_INLINE cc_size CCZP_SUB_DEFAULT_WORKSPACE_N(cc_size n);
1142
1143// This file is auto-generated. Please don't modify it.
1144CC_INLINE cc_size CCZP_SUB_WORKSPACE_N(cc_size n);
1145
1146// This file is auto-generated. Please don't modify it.
1147CC_INLINE cc_size CCZP_TO_DEFAULT_WORKSPACE_N(cc_size n);
1148
1149// This file is auto-generated. Please don't modify it.
1150CC_INLINE cc_size CCZP_TO_WORKSPACE_N(cc_size n);
1151
1152// This file is auto-generated. Please don't modify it.
1153CC_INLINE cc_size CCZ_EXPMOD_WORKSPACE_N(cc_size n);
1154
1155// This file is auto-generated. Please don't modify it.
1156CC_INLINE cc_size FIPSPOST_POST_ECDH_WORKSPACE_N(cc_size n);
1157
1158// This file is auto-generated. Please don't modify it.
1159CC_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.
1162CC_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.
1165CC_INLINE cc_size FIPSPOST_POST_ECDSA_SIGN_WORKSPACE_N(cc_size n);
1166
1167// This file is auto-generated. Please don't modify it.
1168CC_INLINE cc_size FIPSPOST_POST_ECDSA_VERIFY_WORKSPACE_N(cc_size n);
1169
1170// This file is auto-generated. Please don't modify it.
1171CC_INLINE cc_size FIPSPOST_POST_ECDSA_WORKSPACE_N(cc_size n);
1172
1173// This file is auto-generated. Please don't modify it.
1174CC_INLINE cc_size FIPSPOST_POST_FFDH_WORKSPACE_N(cc_size n);
1175
1176// This file is auto-generated. Please don't modify it.
1177CC_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.
1180CC_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.
1183CC_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.
1186CC_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.
1189CC_INLINE cc_size
1190CCBFV_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.
1196CC_INLINE cc_size
1197CCBFV_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.
1203CC_PURE CC_INLINE cc_size
1204CCBFV_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.
1210CC_INLINE cc_size
1211CCBFV_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.
1217CC_INLINE cc_size
1218CCBFV_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.
1224CC_INLINE cc_size
1225CCBFV_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.
1231CC_INLINE cc_size
1232CCBFV_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.
1238CC_INLINE cc_size
1239CCBFV_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.
1245CC_INLINE cc_size
1246CCBFV_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.
1252CC_INLINE cc_size
1253CCBFV_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.
1259CC_INLINE cc_size
1260CCBFV_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.
1266CC_INLINE cc_size
1267CCBFV_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.
1273CC_INLINE cc_size
1274CCBFV_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.
1280CC_INLINE cc_size
1281CCBFV_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.
1288CC_INLINE cc_size
1289CCBFV_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.
1295CC_INLINE cc_size
1296CCBFV_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.
1302CC_INLINE cc_size
1303CCBFV_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.
1309CC_INLINE cc_size
1310CCBFV_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.
1316CC_INLINE cc_size
1317CCBFV_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.
1323CC_INLINE cc_size
1324CCCKG_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.
1332CC_INLINE cc_size
1333CCCKG_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.
1341CC_INLINE cc_size
1342CCCURVE25519_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.
1348CC_INLINE cc_size
1349CCCURVE448_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.
1355CC_INLINE cc_size
1356CCDER_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.
1362CC_INLINE cc_size
1363CCDH_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.
1369CC_INLINE cc_size
1370CCDH_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.
1376CC_INLINE cc_size
1377CCDH_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.
1383CC_INLINE cc_size
1384CCDH_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.
1390CC_INLINE cc_size
1391CCDH_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.
1397CC_INLINE cc_size
1398CCDH_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.
1404CC_INLINE cc_size
1405CCDH_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.
1411CC_INLINE cc_size
1412CCDH_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.
1419CC_PURE CC_INLINE cc_size
1420CCEC25519_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.
1426CC_PURE CC_INLINE cc_size
1427CCEC25519_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.
1433CC_PURE CC_INLINE cc_size
1434CCEC25519_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.
1440CC_INLINE cc_size
1441CCEC25519_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.
1447CC_PURE CC_INLINE cc_size
1448CCEC25519_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.
1454CC_PURE CC_INLINE cc_size
1455CCEC25519_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.
1461CC_PURE CC_INLINE cc_size
1462CCEC25519_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.
1468CC_PURE CC_INLINE cc_size
1469CCEC25519_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.
1475CC_PURE CC_INLINE cc_size
1476CCEC25519_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.
1482CC_INLINE cc_size
1483CCEC25519_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.
1489CC_PURE CC_INLINE cc_size
1490CCEC25519_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.
1496CC_PURE CC_INLINE cc_size
1497CCEC25519_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.
1503CC_PURE CC_INLINE cc_size
1504CCEC448_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.
1510CC_PURE CC_INLINE cc_size
1511CCEC448_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.
1517CC_INLINE cc_size
1518CCEC448_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.
1524CC_PURE CC_INLINE cc_size
1525CCEC448_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.
1531CC_PURE CC_INLINE cc_size
1532CCEC448_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.
1538CC_PURE CC_INLINE cc_size
1539CCEC448_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.
1545CC_INLINE cc_size
1546CCECDH_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.
1552CC_INLINE cc_size
1553CCECDH_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.
1559CC_INLINE cc_size
1560CCECDH_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.
1566CC_INLINE cc_size
1567CCECDH_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.
1573CC_INLINE cc_size
1574CCECDH_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.
1580CC_INLINE cc_size
1581CCECDH_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.
1589CC_INLINE cc_size
1590CCECDH_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.
1596CC_INLINE cc_size
1597CCECDH_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.
1603CC_INLINE cc_size
1604CCECIES_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.
1611CC_INLINE cc_size
1612CCECIES_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.
1620CC_INLINE cc_size
1621CCECIES_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.
1627CC_INLINE cc_size
1628CCEC_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.
1634CC_INLINE cc_size
1635CCEC_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.
1641CC_INLINE cc_size
1642CCEC_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.
1648CC_INLINE cc_size
1649CCEC_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.
1655CC_INLINE cc_size
1656CCEC_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.
1662CC_INLINE cc_size
1663CCEC_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.
1669CC_INLINE cc_size
1670CCEC_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.
1676CC_INLINE cc_size
1677CCEC_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.
1683CC_INLINE cc_size
1684CCEC_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.
1690CC_INLINE cc_size
1691CCEC_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.
1697CC_INLINE cc_size
1698CCEC_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.
1704CC_INLINE cc_size
1705CCEC_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.
1711CC_INLINE cc_size
1712CCEC_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.
1718CC_INLINE cc_size
1719CCEC_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.
1725CC_INLINE cc_size
1726CCEC_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.
1732CC_INLINE cc_size
1733CCEC_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.
1739CC_INLINE cc_size
1740CCEC_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.
1746CC_INLINE cc_size
1747CCEC_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.
1754CC_INLINE cc_size
1755CCEC_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.
1761CC_INLINE cc_size
1762CCEC_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.
1768CC_INLINE cc_size
1769CCEC_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.
1775CC_INLINE cc_size
1776CCEC_EXTRACT_RS_WORKSPACE_N(cc_size n)
1777{
1778 return (n) + (n);
1779}
1780
1781// This file is auto-generated. Please don't modify it.
1782CC_INLINE cc_size
1783CCEC_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.
1789CC_INLINE cc_size
1790CCEC_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.
1796CC_INLINE cc_size
1797CCEC_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.
1803CC_INLINE cc_size
1804CCEC_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.
1810CC_INLINE cc_size
1811CCEC_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.
1817CC_INLINE cc_size
1818CCEC_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.
1825CC_INLINE cc_size
1826CCEC_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.
1832CC_INLINE cc_size
1833CCEC_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.
1839CC_INLINE cc_size
1840CCEC_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.
1846CC_INLINE cc_size
1847CCEC_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.
1853CC_INLINE cc_size
1854CCEC_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.
1860CC_INLINE cc_size
1861CCEC_GENERATE_SCALAR_FIPS_EXTRABITS_WORKSPACE_N(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.
1867CC_INLINE cc_size
1868CCEC_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.
1874CC_INLINE cc_size
1875CCEC_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.
1881CC_INLINE cc_size
1882CCEC_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.
1888CC_INLINE cc_size
1889CCEC_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.
1895CC_INLINE cc_size
1896CCEC_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.
1902CC_INLINE cc_size
1903CCEC_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.
1909CC_INLINE cc_size
1910CCEC_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.
1916CC_INLINE cc_size
1917CCEC_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.
1923CC_INLINE cc_size
1924CCEC_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.
1930CC_INLINE cc_size
1931CCEC_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.
1937CC_INLINE cc_size
1938CCEC_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.
1944CC_INLINE cc_size
1945CCEC_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.
1951CC_INLINE cc_size
1952CCEC_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.
1958CC_INLINE cc_size
1959CCEC_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.
1965CC_INLINE cc_size
1966CCEC_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.
1972CC_INLINE cc_size
1973CCEC_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.
1979CC_INLINE cc_size
1980CCEC_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.
1986CC_INLINE cc_size
1987CCEC_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.
1993CC_INLINE cc_size
1994CCEC_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.
2000CC_INLINE cc_size
2001CCEC_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.
2007CC_INLINE cc_size
2008CCEC_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.
2014CC_INLINE cc_size
2015CCEC_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.
2024CC_INLINE cc_size
2025CCEC_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.
2031CC_INLINE cc_size
2032CCEC_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.
2040CC_INLINE cc_size
2041CCEC_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.
2049CC_INLINE cc_size
2050CCEC_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.
2056CC_INLINE cc_size
2057CCEC_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.
2063CC_INLINE cc_size
2064CCEC_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.
2070CC_INLINE cc_size
2071CCEC_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.
2077CC_INLINE cc_size
2078CCEC_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.
2084CC_INLINE cc_size
2085CCEC_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.
2091CC_INLINE cc_size
2092CCEC_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.
2098CC_INLINE cc_size
2099CCEC_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.
2105CC_INLINE cc_size
2106CCEC_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.
2112CC_INLINE cc_size
2113CCEC_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.
2119CC_INLINE cc_size
2120CCEC_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.
2126CC_INLINE cc_size
2127CCEC_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.
2133CC_INLINE cc_size
2134CCEC_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.
2140CC_INLINE cc_size
2141CCEC_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.
2147CC_INLINE cc_size
2148CCEC_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.
2154CC_INLINE cc_size
2155CCEC_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.
2161CC_INLINE cc_size
2162CCEC_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.
2168CC_INLINE cc_size
2169CCEC_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.
2175CC_INLINE cc_size
2176CCEC_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.
2182CC_INLINE cc_size
2183CCEC_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.
2189CC_INLINE cc_size
2190CCED25519_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.
2196CC_INLINE cc_size
2197CCED25519_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.
2203CC_INLINE cc_size
2204CCED25519_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.
2210CC_INLINE cc_size
2211CCED25519_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.
2217CC_INLINE cc_size
2218CCED25519_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.
2224CC_INLINE cc_size
2225CCED25519_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.
2231CC_PURE CC_INLINE cc_size
2232CCED25519_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.
2238CC_INLINE cc_size
2239CCED25519_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.
2245CC_INLINE cc_size
2246CCED25519_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.
2252CC_INLINE cc_size
2253CCED25519_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.
2259CC_PURE CC_INLINE cc_size
2260CCED25519_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.
2266CC_INLINE cc_size
2267CCED25519_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.
2273CC_INLINE cc_size
2274CCED25519_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.
2280CC_INLINE cc_size
2281CCED448_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.
2287CC_INLINE cc_size
2288CCED448_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.
2294CC_INLINE cc_size
2295CCED448_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.
2301CC_INLINE cc_size
2302CCED448_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.
2308CC_INLINE cc_size
2309CCED448_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.
2315CC_INLINE cc_size
2316CCED448_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.
2322CC_INLINE cc_size
2323CCED448_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.
2329CC_PURE CC_INLINE cc_size
2330CCED448_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.
2336CC_INLINE cc_size
2337CCED448_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.
2343CC_INLINE cc_size
2344CCED448_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.
2350CC_INLINE cc_size
2351CCED448_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.
2357CC_INLINE cc_size
2358CCED448_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.
2364CC_INLINE cc_size
2365CCED448_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.
2371CC_INLINE cc_size
2372CCED448_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.
2378CC_INLINE cc_size
2379CCED448_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.
2385CC_INLINE cc_size
2386CCED448_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.
2392CC_INLINE cc_size
2393CCED448_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.
2399CC_INLINE cc_size
2400CCH2C_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.
2406CC_INLINE cc_size
2407CCH2C_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.
2416CC_INLINE cc_size
2417CCH2C_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.
2423CC_INLINE cc_size
2424CCH2C_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.
2430CC_INLINE cc_size
2431CCH2C_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.
2437CC_INLINE cc_size
2438CCH2C_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.
2444CC_INLINE cc_size
2445CCH2C_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.
2451CC_INLINE cc_size
2452CCH2C_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.
2458CC_INLINE cc_size
2459CCH2C_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.
2465CC_PURE CC_INLINE cc_size
2466CCN_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.
2472CC_PURE CC_INLINE cc_size
2473CCN_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.
2479CC_INLINE cc_size
2480CCN_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.
2486CC_INLINE cc_size
2487CCN_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.
2493CC_INLINE cc_size
2494CCN_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.
2500CC_INLINE cc_size
2501CCN_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.
2507CC_INLINE cc_size
2508CCN_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.
2514CC_INLINE cc_size
2515CCN_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.
2521CC_PURE CC_INLINE cc_size
2522CCN_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.
2528CC_PURE CC_INLINE cc_size
2529CCN_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.
2535CC_PURE CC_INLINE cc_size
2536CCN_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.
2542CC_INLINE cc_size
2543CCN_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.
2549CC_INLINE cc_size
2550CCN_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.
2556CC_PURE CC_INLINE cc_size
2557CCN_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.
2563CC_INLINE cc_size
2564CCN_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.
2570CC_INLINE cc_size
2571CCN_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.
2577CC_INLINE cc_size
2578CCN_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.
2584CC_INLINE cc_size
2585CCN_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.
2591CC_INLINE cc_size
2592CCN_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.
2598CC_PURE CC_INLINE cc_size
2599CCN_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.
2605CC_INLINE cc_size
2606CCN_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.
2612CC_INLINE cc_size
2613CCN_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.
2619CC_INLINE cc_size
2620CCN_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.
2626CC_INLINE cc_size
2627CCN_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.
2633CC_PURE CC_INLINE cc_size
2634CCN_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.
2640CC_INLINE cc_size
2641CCN_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.
2647CC_INLINE cc_size
2648CCN_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.
2654CC_PURE CC_INLINE cc_size
2655CCN_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.
2661CC_INLINE cc_size
2662CCPOLYZP_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.
2668CC_PURE CC_INLINE cc_size
2669CCPOLYZP_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.
2675CC_INLINE cc_size
2676CCPOLYZP_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.
2682CC_INLINE cc_size
2683CCPOLYZP_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.
2689CC_INLINE cc_size
2690CCPOLYZP_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.
2696CC_INLINE cc_size
2697CCPOLYZP_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.
2703CC_INLINE cc_size
2704CCPOLYZP_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.
2710CC_INLINE cc_size
2711CCPOLYZP_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.
2717CC_INLINE cc_size
2718CCPOLYZP_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.
2724CC_INLINE cc_size
2725CCPOLYZP_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.
2731CC_INLINE cc_size
2732CCPOLYZP_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.
2738CC_INLINE cc_size
2739CCPOLYZP_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.
2745CC_PURE CC_INLINE cc_size
2746CCPOLYZP_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.
2752CC_INLINE cc_size
2753CCPRIME_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.
2759CC_INLINE cc_size
2760CCPRIME_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.
2766CC_INLINE cc_size
2767CCPRIME_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.
2773CC_INLINE cc_size
2774CCPRIME_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.
2781CC_INLINE cc_size
2782CCRNS_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.
2788CC_INLINE cc_size
2789CCRNS_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.
2795CC_INLINE cc_size
2796CCRNS_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.
2802CC_INLINE cc_size
2803CCRNS_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.
2809CC_INLINE cc_size
2810CCRNS_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.
2816CC_INLINE cc_size
2817CCRNS_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.
2823CC_INLINE cc_size
2824CCRNS_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.
2830CC_INLINE cc_size
2831CCRSABSSA_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.
2837CC_INLINE cc_size
2838CCRSABSSA_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.
2844CC_INLINE cc_size
2845CCRSABSSA_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.
2851CC_INLINE cc_size
2852CCRSABSSA_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.
2858CC_INLINE cc_size
2859CCRSA_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.
2865CC_INLINE cc_size
2866CCRSA_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.
2872CC_INLINE cc_size
2873CCRSA_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.
2879CC_INLINE cc_size
2880CCRSA_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.
2886CC_INLINE cc_size
2887CCRSA_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.
2893CC_INLINE cc_size
2894CCRSA_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.
2900CC_INLINE cc_size
2901CCRSA_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.
2907CC_INLINE cc_size
2908CCRSA_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.
2914CC_INLINE cc_size
2915CCRSA_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.
2921CC_INLINE cc_size
2922CCRSA_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.
2928CC_INLINE cc_size
2929CCRSA_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.
2935CC_INLINE cc_size
2936CCRSA_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.
2942CC_INLINE cc_size
2943CCRSA_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.
2949CC_INLINE cc_size
2950CCRSA_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.
2956CC_INLINE cc_size
2957CCRSA_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.
2965CC_INLINE cc_size
2966CCRSA_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.
2972CC_INLINE cc_size
2973CCRSA_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.
2980CC_INLINE cc_size
2981CCRSA_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.
2987CC_INLINE cc_size
2988CCRSA_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.
2994CC_INLINE cc_size
2995CCRSA_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.
3001CC_INLINE cc_size
3002CCRSA_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.
3008CC_INLINE cc_size
3009CCRSA_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.
3015CC_INLINE cc_size
3016CCRSA_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.
3022CC_INLINE cc_size
3023CCRSA_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.
3029CC_INLINE cc_size
3030CCRSA_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.
3036CC_INLINE cc_size
3037CCRSA_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.
3043CC_INLINE cc_size
3044CCRSA_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.
3050CC_INLINE cc_size
3051CCRSA_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.
3057CC_INLINE cc_size
3058CCRSA_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.
3064CC_INLINE cc_size
3065CCRSA_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.
3071CC_INLINE cc_size
3072CCRSA_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.
3078CC_INLINE cc_size
3079CCRSA_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.
3085CC_INLINE cc_size
3086CCRSA_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.
3092CC_INLINE cc_size
3093CCRSA_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.
3099CC_INLINE cc_size
3100CCRSA_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.
3106CC_INLINE cc_size
3107CCRSA_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.
3113CC_INLINE cc_size
3114CCRSA_SEED_X_WORKSPACE_N(cc_size n)
3115{
3116 return n;
3117}
3118
3119// This file is auto-generated. Please don't modify it.
3120CC_INLINE cc_size
3121CCRSA_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.
3127CC_INLINE cc_size
3128CCRSA_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.
3134CC_INLINE cc_size
3135CCRSA_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.
3141CC_INLINE cc_size
3142CCRSA_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.
3148CC_INLINE cc_size
3149CCRSA_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.
3155CC_INLINE cc_size
3156CCRSA_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.
3162CC_INLINE cc_size
3163CCSAE_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.
3169CC_INLINE cc_size
3170CCSAE_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.
3176CC_INLINE cc_size
3177CCSAE_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.
3183CC_INLINE cc_size
3184CCSAE_GENERATE_CONFIRMATION_WORKSPACE_N(cc_size n)
3185{
3186 return n;
3187}
3188
3189// This file is auto-generated. Please don't modify it.
3190CC_INLINE cc_size
3191CCSAE_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.
3197CC_INLINE cc_size
3198CCSAE_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.
3206CC_INLINE cc_size
3207CCSAE_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.
3214CC_INLINE cc_size
3215CCSAE_GENERATE_KEYSEED_WORKSPACE_N(cc_size n)
3216{
3217 return n;
3218}
3219
3220// This file is auto-generated. Please don't modify it.
3221CC_INLINE cc_size
3222CCSAE_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.
3228CC_INLINE cc_size
3229CCSAE_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.
3235CC_INLINE cc_size
3236CCSAE_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.
3242CC_INLINE cc_size
3243CCSAE_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.
3249CC_INLINE cc_size
3250CCSAE_VERIFY_CONFIRMATION_WORKSPACE_N(cc_size n)
3251{
3252 return n;
3253}
3254
3255// This file is auto-generated. Please don't modify it.
3256CC_INLINE cc_size
3257CCSAE_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.
3263CC_INLINE cc_size
3264CCSPAKE_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.
3273CC_INLINE cc_size
3274CCSPAKE_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.
3280CC_INLINE cc_size
3281CCSPAKE_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.
3288CC_INLINE cc_size
3289CCSPAKE_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.
3296CC_INLINE cc_size
3297CCSPAKE_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.
3303CC_INLINE cc_size
3304CCSPAKE_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.
3311CC_INLINE cc_size
3312CCSPAKE_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.
3319CC_INLINE cc_size
3320CCSRP_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.
3326CC_INLINE cc_size
3327CCSRP_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.
3333CC_INLINE cc_size
3334CCSRP_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.
3340CC_INLINE cc_size
3341CCSRP_DIGEST_CCN_WORKSPACE_N(cc_size n)
3342{
3343 return n;
3344}
3345
3346// This file is auto-generated. Please don't modify it.
3347CC_INLINE cc_size
3348CCSRP_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.
3354CC_INLINE cc_size
3355CCSRP_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.
3361CC_INLINE cc_size
3362CCSRP_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.
3368CC_INLINE cc_size
3369CCSRP_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.
3375CC_INLINE cc_size
3376CCSRP_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.
3382CC_INLINE cc_size
3383CCSRP_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.
3389CC_INLINE cc_size
3390CCSRP_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.
3396CC_INLINE cc_size
3397CCSRP_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.
3403CC_INLINE cc_size
3404CCSRP_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.
3410CC_INLINE cc_size
3411CCSRP_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.
3417CC_INLINE cc_size
3418CCSRP_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.
3424CC_INLINE cc_size
3425CCSRP_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.
3431CC_INLINE cc_size
3432CCSRP_MGF_WORKSPACE_N(cc_size n)
3433{
3434 return n;
3435}
3436
3437// This file is auto-generated. Please don't modify it.
3438CC_INLINE cc_size
3439CCSRP_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.
3445CC_INLINE cc_size
3446CCSRP_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.
3452CC_INLINE cc_size
3453CCSRP_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.
3459CC_INLINE cc_size
3460CCSS_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.
3466CC_INLINE cc_size
3467CCSS_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.
3473CC_INLINE cc_size
3474CCSS_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.
3480CC_INLINE cc_size
3481CCSS_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.
3487CC_INLINE cc_size
3488CCSS_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.
3494CC_INLINE cc_size
3495CCSS_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.
3501CC_INLINE cc_size
3502CCX25519_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.
3508CC_INLINE cc_size
3509CCX448_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.
3515CC_INLINE cc_size
3516CCZP_ADD_DEFAULT_WORKSPACE_N(cc_size n)
3517{
3518 return n;
3519}
3520
3521// This file is auto-generated. Please don't modify it.
3522CC_INLINE cc_size
3523CCZP_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.
3529CC_PURE CC_INLINE cc_size
3530CCZP_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.
3536CC_PURE CC_INLINE cc_size
3537CCZP_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.
3543CC_INLINE cc_size
3544CCZP_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.
3550CC_INLINE cc_size
3551CCZP_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.
3557CC_INLINE cc_size
3558CCZP_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.
3564CC_INLINE cc_size
3565CCZP_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.
3571CC_INLINE cc_size
3572CCZP_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.
3578CC_INLINE cc_size
3579CCZP_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.
3585CC_INLINE cc_size
3586CCZP_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.
3592CC_INLINE cc_size
3593CCZP_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.
3599CC_INLINE cc_size
3600CCZP_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.
3606CC_INLINE cc_size
3607CCZP_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.
3613CC_INLINE cc_size
3614CCZP_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.
3620CC_INLINE cc_size
3621CCZP_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.
3627CC_INLINE cc_size
3628CCZP_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.
3634CC_PURE CC_INLINE cc_size
3635CCZP_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.
3641CC_INLINE cc_size
3642CCZP_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.
3648CC_INLINE cc_size
3649CCZP_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.
3655CC_INLINE cc_size
3656CCZP_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.
3663CC_INLINE cc_size
3664CCZP_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.
3671CC_PURE CC_INLINE cc_size
3672CCZP_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.
3678CC_PURE CC_INLINE cc_size
3679CCZP_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.
3685CC_INLINE cc_size
3686CCZP_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.
3692CC_INLINE cc_size
3693CCZP_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.
3699CC_INLINE cc_size
3700CCZP_MODN_WORKSPACE_N(cc_size n)
3701{
3702 return 2 * n;
3703}
3704
3705// This file is auto-generated. Please don't modify it.
3706CC_INLINE cc_size
3707CCZP_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.
3713CC_INLINE cc_size
3714CCZP_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.
3720CC_INLINE cc_size
3721CCZP_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.
3727CC_INLINE cc_size
3728CCZP_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.
3734CC_INLINE cc_size
3735CCZP_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.
3741CC_INLINE cc_size
3742CCZP_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.
3748CC_INLINE cc_size
3749CCZP_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.
3755CC_INLINE cc_size
3756CCZP_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.
3762CC_INLINE cc_size
3763CCZP_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.
3769CC_INLINE cc_size
3770CCZP_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.
3776CC_INLINE cc_size
3777CCZP_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.
3783CC_INLINE cc_size
3784CCZP_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.
3790CC_INLINE cc_size
3791CCZP_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.
3797CC_INLINE cc_size
3798CCZP_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.
3804CC_PURE CC_INLINE cc_size
3805CCZP_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.
3811CC_PURE CC_INLINE cc_size
3812CCZP_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.
3818CC_PURE CC_INLINE cc_size
3819CCZP_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.
3825CC_INLINE cc_size
3826CCZP_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.
3832CC_INLINE cc_size
3833CCZ_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.
3840CC_INLINE cc_size
3841FIPSPOST_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.
3850CC_INLINE cc_size
3851FIPSPOST_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.
3857CC_INLINE cc_size
3858FIPSPOST_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.
3864CC_INLINE cc_size
3865FIPSPOST_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.
3873CC_INLINE cc_size
3874FIPSPOST_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.
3881CC_INLINE cc_size
3882FIPSPOST_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.
3888CC_INLINE cc_size
3889FIPSPOST_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.
3897CC_INLINE cc_size
3898FIPSPOST_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.
3904CC_INLINE cc_size
3905FIPSPOST_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.
3920CC_INLINE cc_size
3921FIPSPOST_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.
3927CC_INLINE cc_size
3928FIPSPOST_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