074cc04022
The functions BN_rshift and BN_lshift shift their arguments to the right or left by a specified number of bits. Unpredicatable results (including crashes) can occur if a negative number is supplied for the shift value. Thanks to Mateusz Kocielski (LogicalTrust), Marek Kroemeke and Filip Palian for discovering and reporting this issue. (Imported from upstream's 7cc18d8158b5fc2676393d99b51c30c135502107.) Change-Id: Ib9f5e410a46df3d7f02a61374807fba209612bd3 Reviewed-on: https://boringssl-review.googlesource.com/4892 Reviewed-by: Adam Langley <agl@google.com>
45 lines
1.3 KiB
Plaintext
45 lines
1.3 KiB
Plaintext
BN,function,100,BN_CTX_get
|
|
BN,function,101,BN_CTX_new
|
|
BN,function,102,BN_CTX_start
|
|
BN,function,103,BN_bn2dec
|
|
BN,function,104,BN_bn2hex
|
|
BN,function,105,BN_div
|
|
BN,function,106,BN_div_recp
|
|
BN,function,107,BN_exp
|
|
BN,function,108,BN_generate_dsa_nonce
|
|
BN,function,109,BN_generate_prime_ex
|
|
BN,function,125,BN_lshift
|
|
BN,function,110,BN_mod_exp2_mont
|
|
BN,function,111,BN_mod_exp_mont
|
|
BN,function,112,BN_mod_exp_mont_consttime
|
|
BN,function,113,BN_mod_exp_mont_word
|
|
BN,function,114,BN_mod_inverse
|
|
BN,function,115,BN_mod_inverse_no_branch
|
|
BN,function,116,BN_mod_lshift_quick
|
|
BN,function,117,BN_mod_sqrt
|
|
BN,function,118,BN_new
|
|
BN,function,119,BN_rand
|
|
BN,function,120,BN_rand_range
|
|
BN,function,126,BN_rshift
|
|
BN,function,121,BN_sqrt
|
|
BN,function,122,BN_usub
|
|
BN,function,123,bn_wexpand
|
|
BN,function,124,mod_exp_recp
|
|
BN,reason,100,ARG2_LT_ARG3
|
|
BN,reason,101,BAD_RECIPROCAL
|
|
BN,reason,102,BIGNUM_TOO_LONG
|
|
BN,reason,103,BITS_TOO_SMALL
|
|
BN,reason,104,CALLED_WITH_EVEN_MODULUS
|
|
BN,reason,105,DIV_BY_ZERO
|
|
BN,reason,106,EXPAND_ON_STATIC_BIGNUM_DATA
|
|
BN,reason,107,INPUT_NOT_REDUCED
|
|
BN,reason,108,INVALID_RANGE
|
|
BN,reason,109,NEGATIVE_NUMBER
|
|
BN,reason,110,NOT_A_SQUARE
|
|
BN,reason,111,NOT_INITIALIZED
|
|
BN,reason,112,NO_INVERSE
|
|
BN,reason,113,PRIVATE_KEY_TOO_LARGE
|
|
BN,reason,114,P_IS_NOT_PRIME
|
|
BN,reason,115,TOO_MANY_ITERATIONS
|
|
BN,reason,116,TOO_MANY_TEMPORARY_VARIABLES
|