8cf79af7d1
The case where ec_group_get_mont_data is NULL is only for arbitrary groups which we now require to be prime order. BN_mod_exp_mont is fine with a NULL BN_MONT_CTX. It will just compute it. Saves a bit of special-casing. Also don't mark p-2 as BN_FLG_CONSTTIME as the exponent is public anyway. Change-Id: Ie868576d52fc9ae5f5c9f2a4039a729151bf84c7 Reviewed-on: https://boringssl-review.googlesource.com/8307 Reviewed-by: Adam Langley <agl@google.com>
33 lines
839 B
Plaintext
33 lines
839 B
Plaintext
EC,126,BIGNUM_OUT_OF_RANGE
|
|
EC,100,BUFFER_TOO_SMALL
|
|
EC,101,COORDINATES_OUT_OF_RANGE
|
|
EC,102,D2I_ECPKPARAMETERS_FAILURE
|
|
EC,128,DECODE_ERROR
|
|
EC,103,EC_GROUP_NEW_BY_NAME_FAILURE
|
|
EC,129,ENCODE_ERROR
|
|
EC,104,GROUP2PKPARAMETERS_FAILURE
|
|
EC,130,GROUP_MISMATCH
|
|
EC,105,I2D_ECPKPARAMETERS_FAILURE
|
|
EC,106,INCOMPATIBLE_OBJECTS
|
|
EC,131,INVALID_COFACTOR
|
|
EC,107,INVALID_COMPRESSED_POINT
|
|
EC,108,INVALID_COMPRESSION_BIT
|
|
EC,109,INVALID_ENCODING
|
|
EC,110,INVALID_FIELD
|
|
EC,111,INVALID_FORM
|
|
EC,112,INVALID_GROUP_ORDER
|
|
EC,113,INVALID_PRIVATE_KEY
|
|
EC,114,MISSING_PARAMETERS
|
|
EC,115,MISSING_PRIVATE_KEY
|
|
EC,116,NON_NAMED_CURVE
|
|
EC,117,NOT_INITIALIZED
|
|
EC,118,PKPARAMETERS2GROUP_FAILURE
|
|
EC,119,POINT_AT_INFINITY
|
|
EC,120,POINT_IS_NOT_ON_CURVE
|
|
EC,121,SLOT_FULL
|
|
EC,122,UNDEFINED_GENERATOR
|
|
EC,123,UNKNOWN_GROUP
|
|
EC,124,UNKNOWN_ORDER
|
|
EC,127,WRONG_CURVE_PARAMETERS
|
|
EC,125,WRONG_ORDER
|