boringssl/crypto/err/bn.errordata
David Benjamin b9c579db6d Add crypto/bytestring-based BIGNUM DER functions.
RSA and ECDSA will both require being able to convert ASN.1 INTEGERs to
and from DER. Don't bother handling negative BIGNUMs for now. It doesn't
seem necessary and saves bothering with two's-complement vs
sign-and-magnitude.

BUG=499653

Change-Id: I1e80052067ed528809493af73b04f82539d564ff
Reviewed-on: https://boringssl-review.googlesource.com/5268
Reviewed-by: Adam Langley <agl@google.com>
2015-07-07 00:47:39 +00:00

49 lines
1.4 KiB
Plaintext

BN,function,100,BN_CTX_get
BN,function,101,BN_CTX_new
BN,function,102,BN_CTX_start
BN,function,127,BN_bn2cbb
BN,function,103,BN_bn2dec
BN,function,104,BN_bn2hex
BN,function,128,BN_cbs2unsigned
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,117,BAD_ENCODING
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,118,ENCODE_ERROR
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