Deleted Added
full compact
dsa.h (160814) dsa.h (162911)
1/* crypto/dsa/dsa.h */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved.
4 *
5 * This package is an SSL implementation written
6 * by Eric Young (eay@cryptsoft.com).
7 * The implementation was written so as to conform with Netscapes SSL.
8 *

--- 70 unchanged lines hidden (view full) ---

79
80#ifndef OPENSSL_NO_DEPRECATED
81#include <openssl/bn.h>
82#ifndef OPENSSL_NO_DH
83# include <openssl/dh.h>
84#endif
85#endif
86
1/* crypto/dsa/dsa.h */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved.
4 *
5 * This package is an SSL implementation written
6 * by Eric Young (eay@cryptsoft.com).
7 * The implementation was written so as to conform with Netscapes SSL.
8 *

--- 70 unchanged lines hidden (view full) ---

79
80#ifndef OPENSSL_NO_DEPRECATED
81#include <openssl/bn.h>
82#ifndef OPENSSL_NO_DH
83# include <openssl/dh.h>
84#endif
85#endif
86
87#ifndef OPENSSL_DSA_MAX_MODULUS_BITS
88# define OPENSSL_DSA_MAX_MODULUS_BITS 10000
89#endif
90
87#define DSA_FLAG_CACHE_MONT_P 0x01
88#define DSA_FLAG_NO_EXP_CONSTTIME 0x02 /* new with 0.9.7h; the built-in DSA
89 * implementation now uses constant time
90 * modular exponentiation for secret exponents
91 * by default. This flag causes the
92 * faster variable sliding window method to
93 * be used for all exponents.
94 */

--- 170 unchanged lines hidden (view full) ---

265#define DSA_F_DSA_SIGN 106
266#define DSA_F_DSA_SIGN_SETUP 107
267#define DSA_F_DSA_SIG_NEW 109
268#define DSA_F_DSA_VERIFY 108
269#define DSA_F_I2D_DSA_SIG 111
270#define DSA_F_SIG_CB 114
271
272/* Reason codes. */
91#define DSA_FLAG_CACHE_MONT_P 0x01
92#define DSA_FLAG_NO_EXP_CONSTTIME 0x02 /* new with 0.9.7h; the built-in DSA
93 * implementation now uses constant time
94 * modular exponentiation for secret exponents
95 * by default. This flag causes the
96 * faster variable sliding window method to
97 * be used for all exponents.
98 */

--- 170 unchanged lines hidden (view full) ---

269#define DSA_F_DSA_SIGN 106
270#define DSA_F_DSA_SIGN_SETUP 107
271#define DSA_F_DSA_SIG_NEW 109
272#define DSA_F_DSA_VERIFY 108
273#define DSA_F_I2D_DSA_SIG 111
274#define DSA_F_SIG_CB 114
275
276/* Reason codes. */
277#define DSA_R_BAD_Q_VALUE 102
273#define DSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE 100
274#define DSA_R_MISSING_PARAMETERS 101
278#define DSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE 100
279#define DSA_R_MISSING_PARAMETERS 101
280#define DSA_R_MODULUS_TOO_LARGE 103
275
276#ifdef __cplusplus
277}
278#endif
279#endif
281
282#ifdef __cplusplus
283}
284#endif
285#endif