Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 /* Default configuration for MPI library
2 *
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef MPI_CONFIG_H_
8 #define MPI_CONFIG_H_
10 /*
11 For boolean options,
12 0 = no
13 1 = yes
15 Other options are documented individually.
17 */
19 #ifndef MP_IOFUNC
20 #define MP_IOFUNC 0 /* include mp_print() ? */
21 #endif
23 #ifndef MP_MODARITH
24 #define MP_MODARITH 1 /* include modular arithmetic ? */
25 #endif
27 #ifndef MP_NUMTH
28 #define MP_NUMTH 1 /* include number theoretic functions? */
29 #endif
31 #ifndef MP_LOGTAB
32 #define MP_LOGTAB 1 /* use table of logs instead of log()? */
33 #endif
35 #ifndef MP_MEMSET
36 #define MP_MEMSET 1 /* use memset() to zero buffers? */
37 #endif
39 #ifndef MP_MEMCPY
40 #define MP_MEMCPY 1 /* use memcpy() to copy buffers? */
41 #endif
43 #ifndef MP_CRYPTO
44 #define MP_CRYPTO 1 /* erase memory on free? */
45 #endif
47 #ifndef MP_ARGCHK
48 /*
49 0 = no parameter checks
50 1 = runtime checks, continue execution and return an error to caller
51 2 = assertions; dump core on parameter errors
52 */
53 #ifdef DEBUG
54 #define MP_ARGCHK 2 /* how to check input arguments */
55 #else
56 #define MP_ARGCHK 1 /* how to check input arguments */
57 #endif
58 #endif
60 #ifndef MP_DEBUG
61 #define MP_DEBUG 0 /* print diagnostic output? */
62 #endif
64 #ifndef MP_DEFPREC
65 #define MP_DEFPREC 64 /* default precision, in digits */
66 #endif
68 #ifndef MP_MACRO
69 #define MP_MACRO 1 /* use macros for frequent calls? */
70 #endif
72 #ifndef MP_SQUARE
73 #define MP_SQUARE 1 /* use separate squaring code? */
74 #endif
76 #endif /* ifndef MPI_CONFIG_H_ */