1 #if !(defined(LTM1) && defined(LTM2) && defined(LTM3))
12 #define BN_FAST_MP_INVMOD_C
13 #define BN_FAST_MP_MONTGOMERY_REDUCE_C
14 #define BN_FAST_S_MP_MUL_DIGS_C
15 #define BN_FAST_S_MP_MUL_HIGH_DIGS_C
16 #define BN_FAST_S_MP_SQR_C
21 #define BN_MP_ADDMOD_C
25 #define BN_MP_CLEAR_MULTI_C
28 #define BN_MP_CMP_MAG_C
29 #define BN_MP_CNT_LSB_C
31 #define BN_MP_COUNT_BITS_C
34 #define BN_MP_DIV_2D_C
37 #undef BN_MP_DR_IS_MODULUS_C
38 #undef BN_MP_DR_REDUCE_C
39 #undef BN_MP_DR_SETUP_C
41 #define BN_MP_EXPT_D_C
42 #define BN_MP_EXPTMOD_C
43 #define BN_MP_EXPTMOD_FAST_C
44 #define BN_MP_EXTEUCLID_C
46 #define BN_MP_FWRITE_C
48 #define BN_MP_GET_INT_C
51 #define BN_MP_INIT_COPY_C
52 #define BN_MP_INIT_MULTI_C
53 #define BN_MP_INIT_SET_C
54 #define BN_MP_INIT_SET_INT_C
55 #define BN_MP_INIT_SIZE_C
56 #define BN_MP_INVMOD_C
57 #define BN_MP_INVMOD_SLOW_C
58 #define BN_MP_IS_SQUARE_C
60 #define BN_MP_KARATSUBA_MUL_C
61 #define BN_MP_KARATSUBA_SQR_C
65 #define BN_MP_MOD_2D_C
67 #define BN_MP_MONTGOMERY_CALC_NORMALIZATION_C
68 #define BN_MP_MONTGOMERY_REDUCE_C
69 #define BN_MP_MONTGOMERY_SETUP_C
72 #define BN_MP_MUL_2D_C
74 #define BN_MP_MULMOD_C
75 #define BN_MP_N_ROOT_C
78 #undef BN_MP_PRIME_FERMAT_C
79 #undef BN_MP_PRIME_IS_DIVISIBLE_C
80 #undef BN_MP_PRIME_IS_PRIME_C
81 #undef BN_MP_PRIME_MILLER_RABIN_C
82 #undef BN_MP_PRIME_NEXT_PRIME_C
83 #undef BN_MP_PRIME_RABIN_MILLER_TRIALS_C
84 #undef BN_MP_PRIME_RANDOM_EX_C
85 #define BN_MP_RADIX_SIZE_C
86 #define BN_MP_RADIX_SMAP_C
88 #define BN_MP_READ_RADIX_C
89 #define BN_MP_READ_SIGNED_BIN_C
90 #define BN_MP_READ_UNSIGNED_BIN_C
91 #define BN_MP_REDUCE_C
92 #define BN_MP_REDUCE_2K_C
93 #define BN_MP_REDUCE_2K_L_C
94 #define BN_MP_REDUCE_2K_SETUP_C
95 #define BN_MP_REDUCE_2K_SETUP_L_C
96 #define BN_MP_REDUCE_IS_2K_C
97 #define BN_MP_REDUCE_IS_2K_L_C
98 #define BN_MP_REDUCE_SETUP_C
101 #define BN_MP_SET_INT_C
102 #define BN_MP_SHRINK_C
103 #define BN_MP_SIGNED_BIN_SIZE_C
105 #define BN_MP_SQRMOD_C
108 #define BN_MP_SUB_D_C
109 #define BN_MP_SUBMOD_C
110 #define BN_MP_TO_SIGNED_BIN_C
111 #define BN_MP_TO_SIGNED_BIN_N_C
112 #define BN_MP_TO_UNSIGNED_BIN_C
113 #define BN_MP_TO_UNSIGNED_BIN_N_C
114 #undef BN_MP_TOOM_MUL_C
115 #undef BN_MP_TOOM_SQR_C
116 #define BN_MP_TORADIX_C
117 #define BN_MP_TORADIX_N_C
118 #define BN_MP_UNSIGNED_BIN_SIZE_C
121 #define BN_PRIME_TAB_C
123 #define BN_S_MP_ADD_C
124 #define BN_S_MP_EXPTMOD_C
125 #define BN_S_MP_MUL_DIGS_C
126 #define BN_S_MP_MUL_HIGH_DIGS_C
127 #define BN_S_MP_SQR_C
128 #define BN_S_MP_SUB_C
132 #if defined(BN_ERROR_C)
133 #define BN_MP_ERROR_TO_STRING_C
136 #if defined(BN_FAST_MP_INVMOD_C)
137 #define BN_MP_ISEVEN_C
138 #define BN_MP_INIT_MULTI_C
142 #define BN_MP_DIV_2_C
143 #define BN_MP_ISODD_C
146 #define BN_MP_ISZERO_C
147 #define BN_MP_CMP_D_C
150 #define BN_MP_CLEAR_MULTI_C
153 #if defined(BN_FAST_MP_MONTGOMERY_REDUCE_C)
156 #define BN_MP_CLAMP_C
157 #define BN_MP_CMP_MAG_C
158 #define BN_S_MP_SUB_C
161 #if defined(BN_FAST_S_MP_MUL_DIGS_C)
163 #define BN_MP_CLAMP_C
166 #if defined(BN_FAST_S_MP_MUL_HIGH_DIGS_C)
168 #define BN_MP_CLAMP_C
171 #if defined(BN_FAST_S_MP_SQR_C)
173 #define BN_MP_CLAMP_C
176 #if defined(BN_MP_2EXPT_C)
181 #if defined(BN_MP_ABS_C)
185 #if defined(BN_MP_ADD_C)
186 #define BN_S_MP_ADD_C
187 #define BN_MP_CMP_MAG_C
188 #define BN_S_MP_SUB_C
191 #if defined(BN_MP_ADD_D_C)
193 #define BN_MP_SUB_D_C
194 #define BN_MP_CLAMP_C
197 #if defined(BN_MP_ADDMOD_C)
200 #define BN_MP_CLEAR_C
204 #if defined(BN_MP_AND_C)
205 #define BN_MP_INIT_COPY_C
206 #define BN_MP_CLAMP_C
208 #define BN_MP_CLEAR_C
211 #if defined(BN_MP_CLAMP_C)
214 #if defined(BN_MP_CLEAR_C)
217 #if defined(BN_MP_CLEAR_MULTI_C)
218 #define BN_MP_CLEAR_C
221 #if defined(BN_MP_CMP_C)
222 #define BN_MP_CMP_MAG_C
225 #if defined(BN_MP_CMP_D_C)
228 #if defined(BN_MP_CMP_MAG_C)
231 #if defined(BN_MP_CNT_LSB_C)
232 #define BN_MP_ISZERO_C
235 #if defined(BN_MP_COPY_C)
239 #if defined(BN_MP_COUNT_BITS_C)
242 #if defined(BN_MP_DIV_C)
243 #define BN_MP_ISZERO_C
244 #define BN_MP_CMP_MAG_C
247 #define BN_MP_INIT_MULTI_C
249 #define BN_MP_COUNT_BITS_C
251 #define BN_MP_MUL_2D_C
255 #define BN_MP_DIV_2D_C
257 #define BN_MP_CLEAR_MULTI_C
258 #define BN_MP_INIT_SIZE_C
260 #define BN_MP_INIT_COPY_C
263 #define BN_MP_MUL_D_C
264 #define BN_MP_CLAMP_C
265 #define BN_MP_CLEAR_C
268 #if defined(BN_MP_DIV_2_C)
270 #define BN_MP_CLAMP_C
273 #if defined(BN_MP_DIV_2D_C)
277 #define BN_MP_MOD_2D_C
278 #define BN_MP_CLEAR_C
280 #define BN_MP_CLAMP_C
284 #if defined(BN_MP_DIV_3_C)
285 #define BN_MP_INIT_SIZE_C
286 #define BN_MP_CLAMP_C
288 #define BN_MP_CLEAR_C
291 #if defined(BN_MP_DIV_D_C)
292 #define BN_MP_ISZERO_C
294 #define BN_MP_DIV_2D_C
295 #define BN_MP_DIV_3_C
296 #define BN_MP_INIT_SIZE_C
297 #define BN_MP_CLAMP_C
299 #define BN_MP_CLEAR_C
302 #if defined(BN_MP_DR_IS_MODULUS_C)
305 #if defined(BN_MP_DR_REDUCE_C)
307 #define BN_MP_CLAMP_C
308 #define BN_MP_CMP_MAG_C
309 #define BN_S_MP_SUB_C
312 #if defined(BN_MP_DR_SETUP_C)
315 #if defined(BN_MP_EXCH_C)
318 #if defined(BN_MP_EXPT_D_C)
319 #define BN_MP_INIT_COPY_C
322 #define BN_MP_CLEAR_C
326 #if defined(BN_MP_EXPTMOD_C)
328 #define BN_MP_INVMOD_C
329 #define BN_MP_CLEAR_C
331 #define BN_MP_CLEAR_MULTI_C
332 #define BN_MP_REDUCE_IS_2K_L_C
333 #define BN_S_MP_EXPTMOD_C
334 #undef BN_MP_DR_IS_MODULUS_C
335 #define BN_MP_REDUCE_IS_2K_C
336 #define BN_MP_ISODD_C
337 #define BN_MP_EXPTMOD_FAST_C
340 #if defined(BN_MP_EXPTMOD_FAST_C)
341 #define BN_MP_COUNT_BITS_C
343 #define BN_MP_CLEAR_C
344 #define BN_MP_MONTGOMERY_SETUP_C
345 #define BN_FAST_MP_MONTGOMERY_REDUCE_C
346 #define BN_MP_MONTGOMERY_REDUCE_C
347 #undef BN_MP_DR_SETUP_C
348 #undef BN_MP_DR_REDUCE_C
349 #define BN_MP_REDUCE_2K_SETUP_C
350 #define BN_MP_REDUCE_2K_C
351 #define BN_MP_MONTGOMERY_CALC_NORMALIZATION_C
352 #define BN_MP_MULMOD_C
361 #if defined(BN_MP_EXTEUCLID_C)
362 #define BN_MP_INIT_MULTI_C
365 #define BN_MP_ISZERO_C
371 #define BN_MP_CLEAR_MULTI_C
374 #if defined(BN_MP_FREAD_C)
376 #define BN_MP_S_RMAP_C
377 #define BN_MP_MUL_D_C
378 #define BN_MP_ADD_D_C
379 #define BN_MP_CMP_D_C
382 #if defined(BN_MP_FWRITE_C)
383 #define BN_MP_RADIX_SIZE_C
384 #define BN_MP_TORADIX_C
387 #if defined(BN_MP_GCD_C)
388 #define BN_MP_ISZERO_C
391 #define BN_MP_INIT_COPY_C
392 #define BN_MP_CNT_LSB_C
393 #define BN_MP_DIV_2D_C
394 #define BN_MP_CMP_MAG_C
396 #define BN_S_MP_SUB_C
397 #define BN_MP_MUL_2D_C
398 #define BN_MP_CLEAR_C
401 #if defined(BN_MP_GET_INT_C)
404 #if defined(BN_MP_GROW_C)
407 #if defined(BN_MP_INIT_C)
410 #if defined(BN_MP_INIT_COPY_C)
414 #if defined(BN_MP_INIT_MULTI_C)
417 #define BN_MP_CLEAR_C
420 #if defined(BN_MP_INIT_SET_C)
425 #if defined(BN_MP_INIT_SET_INT_C)
427 #define BN_MP_SET_INT_C
430 #if defined(BN_MP_INIT_SIZE_C)
434 #if defined(BN_MP_INVMOD_C)
435 #define BN_MP_ISZERO_C
436 #define BN_MP_ISODD_C
437 #define BN_FAST_MP_INVMOD_C
438 #define BN_MP_INVMOD_SLOW_C
441 #if defined(BN_MP_INVMOD_SLOW_C)
442 #define BN_MP_ISZERO_C
443 #define BN_MP_INIT_MULTI_C
446 #define BN_MP_ISEVEN_C
448 #define BN_MP_DIV_2_C
449 #define BN_MP_ISODD_C
453 #define BN_MP_CMP_D_C
454 #define BN_MP_CMP_MAG_C
456 #define BN_MP_CLEAR_MULTI_C
459 #if defined(BN_MP_IS_SQUARE_C)
460 #define BN_MP_MOD_D_C
461 #define BN_MP_INIT_SET_INT_C
463 #define BN_MP_GET_INT_C
466 #define BN_MP_CMP_MAG_C
467 #define BN_MP_CLEAR_C
470 #if defined(BN_MP_JACOBI_C)
471 #define BN_MP_CMP_D_C
472 #define BN_MP_ISZERO_C
473 #define BN_MP_INIT_COPY_C
474 #define BN_MP_CNT_LSB_C
475 #define BN_MP_DIV_2D_C
477 #define BN_MP_CLEAR_C
480 #if defined(BN_MP_KARATSUBA_MUL_C)
482 #define BN_MP_INIT_SIZE_C
483 #define BN_MP_CLAMP_C
487 #define BN_MP_CLEAR_C
490 #if defined(BN_MP_KARATSUBA_SQR_C)
491 #define BN_MP_INIT_SIZE_C
492 #define BN_MP_CLAMP_C
495 #define BN_S_MP_ADD_C
498 #define BN_MP_CLEAR_C
501 #if defined(BN_MP_LCM_C)
502 #define BN_MP_INIT_MULTI_C
504 #define BN_MP_CMP_MAG_C
507 #define BN_MP_CLEAR_MULTI_C
510 #if defined(BN_MP_LSHD_C)
515 #if defined(BN_MP_MOD_C)
518 #define BN_MP_CLEAR_C
523 #if defined(BN_MP_MOD_2D_C)
526 #define BN_MP_CLAMP_C
529 #if defined(BN_MP_MOD_D_C)
530 #define BN_MP_DIV_D_C
533 #if defined(BN_MP_MONTGOMERY_CALC_NORMALIZATION_C)
534 #define BN_MP_COUNT_BITS_C
535 #define BN_MP_2EXPT_C
537 #define BN_MP_MUL_2_C
538 #define BN_MP_CMP_MAG_C
539 #define BN_S_MP_SUB_C
542 #if defined(BN_MP_MONTGOMERY_REDUCE_C)
543 #define BN_FAST_MP_MONTGOMERY_REDUCE_C
545 #define BN_MP_CLAMP_C
547 #define BN_MP_CMP_MAG_C
548 #define BN_S_MP_SUB_C
551 #if defined(BN_MP_MONTGOMERY_SETUP_C)
554 #if defined(BN_MP_MUL_C)
555 #undef BN_MP_TOOM_MUL_C
556 #define BN_MP_KARATSUBA_MUL_C
557 #define BN_FAST_S_MP_MUL_DIGS_C
558 #define BN_S_MP_MUL_C
559 #define BN_S_MP_MUL_DIGS_C
562 #if defined(BN_MP_MUL_2_C)
566 #if defined(BN_MP_MUL_2D_C)
570 #define BN_MP_CLAMP_C
573 #if defined(BN_MP_MUL_D_C)
575 #define BN_MP_CLAMP_C
578 #if defined(BN_MP_MULMOD_C)
581 #define BN_MP_CLEAR_C
585 #if defined(BN_MP_N_ROOT_C)
589 #define BN_MP_EXPT_D_C
592 #define BN_MP_MUL_D_C
595 #define BN_MP_SUB_D_C
597 #define BN_MP_CLEAR_C
600 #if defined(BN_MP_NEG_C)
602 #define BN_MP_ISZERO_C
605 #if defined(BN_MP_OR_C)
606 #define BN_MP_INIT_COPY_C
607 #define BN_MP_CLAMP_C
609 #define BN_MP_CLEAR_C
612 #if defined(BN_MP_PRIME_FERMAT_C)
613 #define BN_MP_CMP_D_C
615 #define BN_MP_EXPTMOD_C
617 #define BN_MP_CLEAR_C
620 #if defined(BN_MP_PRIME_IS_DIVISIBLE_C)
621 #define BN_MP_MOD_D_C
624 #if defined(BN_MP_PRIME_IS_PRIME_C)
625 #define BN_MP_CMP_D_C
626 #define BN_MP_PRIME_IS_DIVISIBLE_C
629 #define BN_MP_PRIME_MILLER_RABIN_C
630 #define BN_MP_CLEAR_C
633 #if defined(BN_MP_PRIME_MILLER_RABIN_C)
634 #define BN_MP_CMP_D_C
635 #define BN_MP_INIT_COPY_C
636 #define BN_MP_SUB_D_C
637 #define BN_MP_CNT_LSB_C
638 #define BN_MP_DIV_2D_C
639 #define BN_MP_EXPTMOD_C
641 #define BN_MP_SQRMOD_C
642 #define BN_MP_CLEAR_C
645 #if defined(BN_MP_PRIME_NEXT_PRIME_C)
646 #define BN_MP_CMP_D_C
648 #define BN_MP_SUB_D_C
649 #define BN_MP_ISEVEN_C
650 #define BN_MP_MOD_D_C
652 #define BN_MP_ADD_D_C
653 #define BN_MP_PRIME_MILLER_RABIN_C
654 #define BN_MP_CLEAR_C
657 #if defined(BN_MP_PRIME_RABIN_MILLER_TRIALS_C)
660 #if defined(BN_MP_PRIME_RANDOM_EX_C)
661 #define BN_MP_READ_UNSIGNED_BIN_C
662 #define BN_MP_PRIME_IS_PRIME_C
663 #define BN_MP_SUB_D_C
664 #define BN_MP_DIV_2_C
665 #define BN_MP_MUL_2_C
666 #define BN_MP_ADD_D_C
669 #if defined(BN_MP_RADIX_SIZE_C)
670 #define BN_MP_COUNT_BITS_C
671 #define BN_MP_INIT_COPY_C
672 #define BN_MP_ISZERO_C
673 #define BN_MP_DIV_D_C
674 #define BN_MP_CLEAR_C
677 #if defined(BN_MP_RADIX_SMAP_C)
678 #define BN_MP_S_RMAP_C
681 #if defined(BN_MP_RAND_C)
683 #define BN_MP_ADD_D_C
687 #if defined(BN_MP_READ_RADIX_C)
689 #define BN_MP_S_RMAP_C
690 #define BN_MP_MUL_D_C
691 #define BN_MP_ADD_D_C
692 #define BN_MP_ISZERO_C
695 #if defined(BN_MP_READ_SIGNED_BIN_C)
696 #define BN_MP_READ_UNSIGNED_BIN_C
699 #if defined(BN_MP_READ_UNSIGNED_BIN_C)
702 #define BN_MP_MUL_2D_C
703 #define BN_MP_CLAMP_C
706 #if defined(BN_MP_REDUCE_C)
707 #define BN_MP_REDUCE_SETUP_C
708 #define BN_MP_INIT_COPY_C
711 #define BN_S_MP_MUL_HIGH_DIGS_C
712 #define BN_FAST_S_MP_MUL_HIGH_DIGS_C
713 #define BN_MP_MOD_2D_C
714 #define BN_S_MP_MUL_DIGS_C
716 #define BN_MP_CMP_D_C
721 #define BN_S_MP_SUB_C
722 #define BN_MP_CLEAR_C
725 #if defined(BN_MP_REDUCE_2K_C)
727 #define BN_MP_COUNT_BITS_C
728 #define BN_MP_DIV_2D_C
729 #define BN_MP_MUL_D_C
730 #define BN_S_MP_ADD_C
731 #define BN_MP_CMP_MAG_C
732 #define BN_S_MP_SUB_C
733 #define BN_MP_CLEAR_C
736 #if defined(BN_MP_REDUCE_2K_L_C)
738 #define BN_MP_COUNT_BITS_C
739 #define BN_MP_DIV_2D_C
741 #define BN_S_MP_ADD_C
742 #define BN_MP_CMP_MAG_C
743 #define BN_S_MP_SUB_C
744 #define BN_MP_CLEAR_C
747 #if defined(BN_MP_REDUCE_2K_SETUP_C)
749 #define BN_MP_COUNT_BITS_C
750 #define BN_MP_2EXPT_C
751 #define BN_MP_CLEAR_C
752 #define BN_S_MP_SUB_C
755 #if defined(BN_MP_REDUCE_2K_SETUP_L_C)
757 #define BN_MP_2EXPT_C
758 #define BN_MP_COUNT_BITS_C
759 #define BN_S_MP_SUB_C
760 #define BN_MP_CLEAR_C
763 #if defined(BN_MP_REDUCE_IS_2K_C)
764 #define BN_MP_REDUCE_2K_C
765 #define BN_MP_COUNT_BITS_C
768 #if defined(BN_MP_REDUCE_IS_2K_L_C)
771 #if defined(BN_MP_REDUCE_SETUP_C)
772 #define BN_MP_2EXPT_C
776 #if defined(BN_MP_RSHD_C)
780 #if defined(BN_MP_SET_C)
784 #if defined(BN_MP_SET_INT_C)
786 #define BN_MP_MUL_2D_C
787 #define BN_MP_CLAMP_C
790 #if defined(BN_MP_SHRINK_C)
793 #if defined(BN_MP_SIGNED_BIN_SIZE_C)
794 #define BN_MP_UNSIGNED_BIN_SIZE_C
797 #if defined(BN_MP_SQR_C)
798 #undef BN_MP_TOOM_SQR_C
799 #define BN_MP_KARATSUBA_SQR_C
800 #define BN_FAST_S_MP_SQR_C
801 #define BN_S_MP_SQR_C
804 #if defined(BN_MP_SQRMOD_C)
807 #define BN_MP_CLEAR_C
811 #if defined(BN_MP_SQRT_C)
812 #define BN_MP_N_ROOT_C
813 #define BN_MP_ISZERO_C
815 #define BN_MP_INIT_COPY_C
819 #define BN_MP_DIV_2_C
820 #define BN_MP_CMP_MAG_C
822 #define BN_MP_CLEAR_C
825 #if defined(BN_MP_SUB_C)
826 #define BN_S_MP_ADD_C
827 #define BN_MP_CMP_MAG_C
828 #define BN_S_MP_SUB_C
831 #if defined(BN_MP_SUB_D_C)
833 #define BN_MP_ADD_D_C
834 #define BN_MP_CLAMP_C
837 #if defined(BN_MP_SUBMOD_C)
840 #define BN_MP_CLEAR_C
844 #if defined(BN_MP_TO_SIGNED_BIN_C)
845 #define BN_MP_TO_UNSIGNED_BIN_C
848 #if defined(BN_MP_TO_SIGNED_BIN_N_C)
849 #define BN_MP_SIGNED_BIN_SIZE_C
850 #define BN_MP_TO_SIGNED_BIN_C
853 #if defined(BN_MP_TO_UNSIGNED_BIN_C)
854 #define BN_MP_INIT_COPY_C
855 #define BN_MP_ISZERO_C
856 #define BN_MP_DIV_2D_C
857 #define BN_MP_CLEAR_C
860 #if defined(BN_MP_TO_UNSIGNED_BIN_N_C)
861 #define BN_MP_UNSIGNED_BIN_SIZE_C
862 #define BN_MP_TO_UNSIGNED_BIN_C
865 #if defined(BN_MP_TOOM_MUL_C)
866 #define BN_MP_INIT_MULTI_C
867 #define BN_MP_MOD_2D_C
871 #define BN_MP_MUL_2_C
874 #define BN_MP_DIV_2_C
875 #define BN_MP_MUL_2D_C
876 #define BN_MP_MUL_D_C
877 #define BN_MP_DIV_3_C
879 #define BN_MP_CLEAR_MULTI_C
882 #if defined(BN_MP_TOOM_SQR_C)
883 #define BN_MP_INIT_MULTI_C
884 #define BN_MP_MOD_2D_C
888 #define BN_MP_MUL_2_C
891 #define BN_MP_DIV_2_C
892 #define BN_MP_MUL_2D_C
893 #define BN_MP_MUL_D_C
894 #define BN_MP_DIV_3_C
896 #define BN_MP_CLEAR_MULTI_C
899 #if defined(BN_MP_TORADIX_C)
900 #define BN_MP_ISZERO_C
901 #define BN_MP_INIT_COPY_C
902 #define BN_MP_DIV_D_C
903 #define BN_MP_CLEAR_C
904 #define BN_MP_S_RMAP_C
907 #if defined(BN_MP_TORADIX_N_C)
908 #define BN_MP_ISZERO_C
909 #define BN_MP_INIT_COPY_C
910 #define BN_MP_DIV_D_C
911 #define BN_MP_CLEAR_C
912 #define BN_MP_S_RMAP_C
915 #if defined(BN_MP_UNSIGNED_BIN_SIZE_C)
916 #define BN_MP_COUNT_BITS_C
919 #if defined(BN_MP_XOR_C)
920 #define BN_MP_INIT_COPY_C
921 #define BN_MP_CLAMP_C
923 #define BN_MP_CLEAR_C
926 #if defined(BN_MP_ZERO_C)
929 #if defined(BN_PRIME_TAB_C)
932 #if defined(BN_REVERSE_C)
935 #if defined(BN_S_MP_ADD_C)
937 #define BN_MP_CLAMP_C
940 #if defined(BN_S_MP_EXPTMOD_C)
941 #define BN_MP_COUNT_BITS_C
943 #define BN_MP_CLEAR_C
944 #define BN_MP_REDUCE_SETUP_C
945 #define BN_MP_REDUCE_C
946 #define BN_MP_REDUCE_2K_SETUP_L_C
947 #define BN_MP_REDUCE_2K_L_C
956 #if defined(BN_S_MP_MUL_DIGS_C)
957 #define BN_FAST_S_MP_MUL_DIGS_C
958 #define BN_MP_INIT_SIZE_C
959 #define BN_MP_CLAMP_C
961 #define BN_MP_CLEAR_C
964 #if defined(BN_S_MP_MUL_HIGH_DIGS_C)
965 #define BN_FAST_S_MP_MUL_HIGH_DIGS_C
966 #define BN_MP_INIT_SIZE_C
967 #define BN_MP_CLAMP_C
969 #define BN_MP_CLEAR_C
972 #if defined(BN_S_MP_SQR_C)
973 #define BN_MP_INIT_SIZE_C
974 #define BN_MP_CLAMP_C
976 #define BN_MP_CLEAR_C
979 #if defined(BN_S_MP_SUB_C)
981 #define BN_MP_CLAMP_C
984 #if defined(BNCORE_C)
990 #include "tma_superclass.h"
991 #include "tma_class.h"