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

Side by Side Diff: net/third_party/nss/ssl/mpi/mpi-config.h

Issue 6804032: Add TLS-SRP (RFC 5054) support Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 8 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 /* Default configuration for MPI library
2 *
3 * ***** BEGIN LICENSE BLOCK *****
4 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 *
6 * The contents of this file are subject to the Mozilla Public License Version
7 * 1.1 (the "License"); you may not use this file except in compliance with
8 * the License. You may obtain a copy of the License at
9 * http://www.mozilla.org/MPL/
10 *
11 * Software distributed under the License is distributed on an "AS IS" basis,
12 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 * for the specific language governing rights and limitations under the
14 * License.
15 *
16 * The Original Code is the MPI Arbitrary Precision Integer Arithmetic library.
17 *
18 * The Initial Developer of the Original Code is
19 * Michael J. Fromberger.
20 * Portions created by the Initial Developer are Copyright (C) 1997
21 * the Initial Developer. All Rights Reserved.
22 *
23 * Contributor(s):
24 * Netscape Communications Corporation
25 *
26 * Alternatively, the contents of this file may be used under the terms of
27 * either the GNU General Public License Version 2 or later (the "GPL"), or
28 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 * in which case the provisions of the GPL or the LGPL are applicable instead
30 * of those above. If you wish to allow use of your version of this file only
31 * under the terms of either the GPL or the LGPL, and not to allow others to
32 * use your version of this file under the terms of the MPL, indicate your
33 * decision by deleting the provisions above and replace them with the notice
34 * and other provisions required by the GPL or the LGPL. If you do not delete
35 * the provisions above, a recipient may use your version of this file under
36 * the terms of any one of the MPL, the GPL or the LGPL.
37 *
38 * ***** END LICENSE BLOCK ***** */
39 /* $Id: mpi-config.h,v 1.5 2004/04/25 15:03:10 gerv%gerv.net Exp $ */
40
41 #ifndef MPI_CONFIG_H_
42 #define MPI_CONFIG_H_
43
44 /*
45 For boolean options,
46 0 = no
47 1 = yes
48
49 Other options are documented individually.
50
51 */
52
53 #ifndef MP_IOFUNC
54 #define MP_IOFUNC 0 /* include mp_print() ? */
55 #endif
56
57 #ifndef MP_MODARITH
58 #define MP_MODARITH 1 /* include modular arithmetic ? */
59 #endif
60
61 #ifndef MP_NUMTH
62 #define MP_NUMTH 1 /* include number theoretic functions? */
63 #endif
64
65 #ifndef MP_LOGTAB
66 #define MP_LOGTAB 1 /* use table of logs instead of log()? */
67 #endif
68
69 #ifndef MP_MEMSET
70 #define MP_MEMSET 1 /* use memset() to zero buffers? */
71 #endif
72
73 #ifndef MP_MEMCPY
74 #define MP_MEMCPY 1 /* use memcpy() to copy buffers? */
75 #endif
76
77 #ifndef MP_CRYPTO
78 #define MP_CRYPTO 1 /* erase memory on free? */
79 #endif
80
81 #ifndef MP_ARGCHK
82 /*
83 0 = no parameter checks
84 1 = runtime checks, continue execution and return an error to caller
85 2 = assertions; dump core on parameter errors
86 */
87 #ifdef DEBUG
88 #define MP_ARGCHK 2 /* how to check input arguments */
89 #else
90 #define MP_ARGCHK 1 /* how to check input arguments */
91 #endif
92 #endif
93
94 #ifndef MP_DEBUG
95 #define MP_DEBUG 0 /* print diagnostic output? */
96 #endif
97
98 #ifndef MP_DEFPREC
99 #define MP_DEFPREC 64 /* default precision, in digits */
100 #endif
101
102 #ifndef MP_MACRO
103 #define MP_MACRO 0 /* use macros for frequent calls? */
104 #endif
105
106 #ifndef MP_SQUARE
107 #define MP_SQUARE 1 /* use separate squaring code? */
108 #endif
109
110 #endif /* ifndef MPI_CONFIG_H_ */
111
112
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698