summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/crypto/bn/bn.h
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2015-06-11 19:00:55 +0000
committerjkim <jkim@FreeBSD.org>2015-06-11 19:00:55 +0000
commitd675e841ef78a78bab5972d63fa3d8d15ecdbb19 (patch)
treeaf421c8f5f156e1b4b26149d5c4964d037dd0454 /crypto/openssl/crypto/bn/bn.h
parentaec7d82113b7de83f7ac3f9470fde49813358dec (diff)
downloadFreeBSD-src-d675e841ef78a78bab5972d63fa3d8d15ecdbb19.zip
FreeBSD-src-d675e841ef78a78bab5972d63fa3d8d15ecdbb19.tar.gz
Merge OpenSSL 1.0.1n.
Diffstat (limited to 'crypto/openssl/crypto/bn/bn.h')
-rw-r--r--crypto/openssl/crypto/bn/bn.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/openssl/crypto/bn/bn.h b/crypto/openssl/crypto/bn/bn.h
index 7d57e98..47d8c71 100644
--- a/crypto/openssl/crypto/bn/bn.h
+++ b/crypto/openssl/crypto/bn/bn.h
@@ -797,6 +797,7 @@ int RAND_pseudo_bytes(unsigned char *buf, int num);
* wouldn't be constructed with top!=dmax. */ \
BN_ULONG *_not_const; \
memcpy(&_not_const, &_bnum1->d, sizeof(BN_ULONG*)); \
+ /* Debug only - safe to ignore error return */ \
RAND_pseudo_bytes(&_tmp_char, 1); \
memset((unsigned char *)(_not_const + _bnum1->top), _tmp_char, \
(_bnum1->dmax - _bnum1->top) * sizeof(BN_ULONG)); \
@@ -910,6 +911,7 @@ void ERR_load_BN_strings(void);
# define BN_F_BN_GF2M_MOD_SOLVE_QUAD_ARR 135
# define BN_F_BN_GF2M_MOD_SQR 136
# define BN_F_BN_GF2M_MOD_SQRT 137
+# define BN_F_BN_LSHIFT 145
# define BN_F_BN_MOD_EXP2_MONT 118
# define BN_F_BN_MOD_EXP_MONT 109
# define BN_F_BN_MOD_EXP_MONT_CONSTTIME 124
@@ -925,12 +927,14 @@ void ERR_load_BN_strings(void);
# define BN_F_BN_NEW 113
# define BN_F_BN_RAND 114
# define BN_F_BN_RAND_RANGE 122
+# define BN_F_BN_RSHIFT 146
# define BN_F_BN_USUB 115
/* Reason codes. */
# define BN_R_ARG2_LT_ARG3 100
# define BN_R_BAD_RECIPROCAL 101
# define BN_R_BIGNUM_TOO_LONG 114
+# define BN_R_BITS_TOO_SMALL 118
# define BN_R_CALLED_WITH_EVEN_MODULUS 102
# define BN_R_DIV_BY_ZERO 103
# define BN_R_ENCODING_ERROR 104
@@ -938,6 +942,7 @@ void ERR_load_BN_strings(void);
# define BN_R_INPUT_NOT_REDUCED 110
# define BN_R_INVALID_LENGTH 106
# define BN_R_INVALID_RANGE 115
+# define BN_R_INVALID_SHIFT 119
# define BN_R_NOT_A_SQUARE 111
# define BN_R_NOT_INITIALIZED 107
# define BN_R_NO_INVERSE 108
OpenPOWER on IntegriCloud