Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(382)

Side by Side Diff: nss/lib/freebl/mpi/mpi-config.h

Issue 2078763002: Delete bundled copy of NSS and replace with README. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/nss@master
Patch Set: Delete bundled copy of NSS and replace with README. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « nss/lib/freebl/mpi/mpi.c ('k') | nss/lib/freebl/mpi/mpi-priv.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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/. */
6
7 #ifndef MPI_CONFIG_H_
8 #define MPI_CONFIG_H_
9
10 /*
11 For boolean options,
12 0 = no
13 1 = yes
14
15 Other options are documented individually.
16
17 */
18
19 #ifndef MP_IOFUNC
20 #define MP_IOFUNC 0 /* include mp_print() ? */
21 #endif
22
23 #ifndef MP_MODARITH
24 #define MP_MODARITH 1 /* include modular arithmetic ? */
25 #endif
26
27 #ifndef MP_NUMTH
28 #define MP_NUMTH 1 /* include number theoretic functions? */
29 #endif
30
31 #ifndef MP_LOGTAB
32 #define MP_LOGTAB 1 /* use table of logs instead of log()? */
33 #endif
34
35 #ifndef MP_MEMSET
36 #define MP_MEMSET 1 /* use memset() to zero buffers? */
37 #endif
38
39 #ifndef MP_MEMCPY
40 #define MP_MEMCPY 1 /* use memcpy() to copy buffers? */
41 #endif
42
43 #ifndef MP_CRYPTO
44 #define MP_CRYPTO 1 /* erase memory on free? */
45 #endif
46
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
59
60 #ifndef MP_DEBUG
61 #define MP_DEBUG 0 /* print diagnostic output? */
62 #endif
63
64 #ifndef MP_DEFPREC
65 #define MP_DEFPREC 64 /* default precision, in digits */
66 #endif
67
68 #ifndef MP_MACRO
69 #define MP_MACRO 1 /* use macros for frequent calls? */
70 #endif
71
72 #ifndef MP_SQUARE
73 #define MP_SQUARE 1 /* use separate squaring code? */
74 #endif
75
76 #endif /* ifndef MPI_CONFIG_H_ */
77
78
OLDNEW
« no previous file with comments | « nss/lib/freebl/mpi/mpi.c ('k') | nss/lib/freebl/mpi/mpi-priv.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698