68 #ifndef OPENSSL_HEADER_EC_INTERNAL_H 69 #define OPENSSL_HEADER_EC_INTERNAL_H 77 #if defined(__cplusplus) 272 #if defined(__cplusplus) EC_GROUP * ec_group_new(const EC_METHOD *meth)
Definition: ec.c:335
GLboolean GLuint group
Definition: gl2ext.h:780
int(* group_init)(EC_GROUP *)
Definition: internal.h:83
const EC_METHOD EC_GFp_nistp224_method
DOMString p
Definition: WebCryptoAPI.idl:116
int ec_GFp_mont_group_init(EC_GROUP *)
Definition: ec_montgomery.c:77
BIGNUM order
Definition: internal.h:118
const BN_MONT_CTX * ec_group_get_mont_data(const EC_GROUP *group)
Definition: ec.c:517
const struct built_in_curve OPENSSL_built_in_curves[]
Definition: ec.c:226
int ec_GFp_simple_point_init(EC_POINT *)
Definition: simple.c:237
int a_is_minus3
Definition: internal.h:131
int(* field_encode)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *)
Definition: internal.h:106
uint8_t oid_len
Definition: internal.h:263
int ec_GFp_simple_get_Jprojective_coordinates_GFp(const EC_GROUP *, const EC_POINT *, BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *)
Definition: simple.c:315
void ec_GFp_simple_group_finish(EC_GROUP *)
Definition: simple.c:99
unsigned int enc_flag
Definition: internal.h:238
uint32_t CRYPTO_refcount_t
Definition: thread.h:101
ECDSA_METHOD * ecdsa_meth
Definition: internal.h:243
BIGNUM X
Definition: internal.h:141
dest
Definition: upload.py:394
void ec_GFp_nistp_recode_scalar_bits(uint8_t *sign, uint8_t *digit, uint8_t in)
int ec_GFp_mont_group_copy(EC_GROUP *, const EC_GROUP *)
Definition: ec_montgomery.c:91
const EC_METHOD EC_GFp_mont_method
Definition: ec_montgomery.c:297
BIGNUM * priv_key
Definition: internal.h:236
int ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar, const EC_POINT *p, const BIGNUM *p_scalar, BN_CTX *ctx)
Definition: wnaf.c:227
int(* group_copy)(EC_GROUP *, const EC_GROUP *)
Definition: internal.h:85
uint8_t param_len
Definition: internal.h:253
const BN_MONT_CTX * mont_data
Definition: internal.h:122
BIGNUM Y
Definition: internal.h:142
const EC_METHOD * meth
Definition: internal.h:139
Definition: internal.h:232
int ec_GFp_simple_group_copy(EC_GROUP *, const EC_GROUP *)
Definition: simple.c:106
void
Definition: AVFoundationCFSoftLinking.h:81
EC_POINT * generator
Definition: internal.h:117
int
Definition: runtests.py:53
int ec_GFp_mont_field_encode(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *)
Definition: ec_montgomery.c:178
int ec_GFp_simple_group_get_curve(const EC_GROUP *, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *)
Definition: simple.c:193
unsigned ec_GFp_simple_group_get_degree(const EC_GROUP *)
Definition: simple.c:233
int(* mul)(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar, const EC_POINT *p, const BIGNUM *p_scalar, BN_CTX *ctx)
Definition: internal.h:96
Definition: WebCryptoAPI.idl:29
int(* field_mul)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *)
Definition: internal.h:102
int(* group_set_curve)(EC_GROUP *, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *)
Definition: internal.h:86
EGLSurface EGLint x
Definition: eglext.h:950
int ec_GFp_simple_points_make_affine(const EC_GROUP *, size_t num, EC_POINT *[], BN_CTX *)
Definition: simple.c:962
BIGNUM field
Definition: internal.h:127
int ec_GFp_mont_field_sqr(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *)
Definition: ec_montgomery.c:168
point_conversion_form_t
Definition: ec.h:83
EGLContext ctx
Definition: eglext.h:192
unsigned char uint8_t
Definition: ptypes.h:89
int ec_GFp_simple_set_compressed_coordinates(const EC_GROUP *, EC_POINT *, const BIGNUM *x, int y_bit, BN_CTX *)
Definition: oct.c:283
int ec_GFp_simple_point_copy(EC_POINT *, const EC_POINT *)
Definition: simple.c:257
point_conversion_form_t conv_form
Definition: internal.h:239
int nid
Definition: internal.h:261
EC_GROUP * group
Definition: internal.h:233
int ec_GFp_simple_set_Jprojective_coordinates_GFp(const EC_GROUP *, EC_POINT *, const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *)
Definition: simple.c:289
BIGNUM Z
Definition: internal.h:143
void ec_GFp_simple_point_clear_finish(EC_POINT *)
Definition: simple.c:251
void ec_GFp_mont_group_finish(EC_GROUP *)
Definition: ec_montgomery.c:85
EGLSurface EGLint EGLint y
Definition: eglext.h:950
void ec_GFp_simple_point_finish(EC_POINT *)
Definition: simple.c:245
int(* point_get_affine_coordinates)(const EC_GROUP *, const EC_POINT *, BIGNUM *x, BIGNUM *y, BN_CTX *)
Definition: internal.h:88
Definition: internal.h:260
GLboolean GLboolean GLboolean GLboolean a
Definition: gl2ext.h:306
int ec_GFp_simple_cmp(const EC_GROUP *, const EC_POINT *a, const EC_POINT *b, BN_CTX *)
Definition: simple.c:804
const char * comment
Definition: internal.h:251
int ec_GFp_mont_group_set_curve(EC_GROUP *, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *)
Definition: ec_montgomery.c:117
int ec_GFp_simple_dbl(const EC_GROUP *, EC_POINT *r, const EC_POINT *a, BN_CTX *)
Definition: simple.c:564
EGLStreamKHR EGLint EGLint EGLint const void * data
Definition: eglext.h:984
Definition: internal.h:138
GLenum src
Definition: gl2ext.h:304
int(* field_sqr)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *)
Definition: internal.h:104
const struct curve_data * data
Definition: internal.h:264
BIGNUM b
Definition: internal.h:129
void(* group_finish)(EC_GROUP *)
Definition: internal.h:84
int ec_GFp_simple_field_mul(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *)
Definition: simple.c:1109
EC_POINT * pub_key
Definition: internal.h:235
int ec_GFp_simple_group_set_curve(EC_GROUP *, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *)
Definition: simple.c:118
int ec_GFp_mont_field_decode(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *)
Definition: ec_montgomery.c:188
Definition: internal.h:114
GLfloat GLfloat GLfloat z
Definition: gl2.h:517
int ec_point_set_Jprojective_coordinates_GFp(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *ctx)
Definition: ec.c:803
BN_MONT_CTX * mont
Definition: internal.h:133
int(* field_decode)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *)
Definition: internal.h:108
int ec_GFp_simple_invert(const EC_GROUP *, EC_POINT *, BN_CTX *)
Definition: simple.c:689
GLboolean GLboolean GLboolean b
Definition: gl2ext.h:306
int ec_GFp_simple_point_set_affine_coordinates(const EC_GROUP *, EC_POINT *, const BIGNUM *x, const BIGNUM *y, BN_CTX *)
Definition: simple.c:358
int ec_GFp_simple_group_init(EC_GROUP *)
Definition: simple.c:90
int ec_GFp_simple_add(const EC_GROUP *, EC_POINT *r, const EC_POINT *a, const EC_POINT *b, BN_CTX *)
Definition: simple.c:371
int ec_GFp_simple_make_affine(const EC_GROUP *, EC_POINT *, BN_CTX *)
Definition: simple.c:920
Definition: ex_data.h:204
int ec_GFp_simple_is_at_infinity(const EC_GROUP *, const EC_POINT *)
Definition: simple.c:698
const EC_METHOD EC_GFp_nistp256_method
const EC_METHOD EC_GFp_nistz256_method
CRYPTO_refcount_t references
Definition: internal.h:241
int ec_GFp_mont_field_mul(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *)
Definition: ec_montgomery.c:158
CRYPTO_EX_DATA ex_data
Definition: internal.h:245
int ec_GFp_simple_field_sqr(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *)
Definition: simple.c:1114
BIGNUM one
Definition: internal.h:135
int curve_name
Definition: internal.h:120
int ec_GFp_simple_point_set_to_infinity(const EC_GROUP *, EC_POINT *)
Definition: simple.c:267
Definition: internal.h:249
const EC_METHOD * method
Definition: internal.h:265
int ec_group_copy(EC_GROUP *dest, const EC_GROUP *src)
int ec_GFp_simple_is_on_curve(const EC_GROUP *, const EC_POINT *, BN_CTX *)
Definition: simple.c:702
GLboolean r
Definition: gl2ext.h:306
const EC_METHOD * meth
Definition: internal.h:115
Definition: internal.h:82