/external/chromium_org/third_party/boringssl/src/crypto/ec/ |
internal.h | 91 int (*group_init)(EC_GROUP *); 92 void (*group_finish)(EC_GROUP *); 93 void (*group_clear_finish)(EC_GROUP *); 94 int (*group_copy)(EC_GROUP *, const EC_GROUP *); 98 int (*group_set_curve)(EC_GROUP *, const BIGNUM *p, const BIGNUM *a, 100 int (*group_get_curve)(const EC_GROUP *, BIGNUM *p, BIGNUM *a, BIGNUM *b, 104 int (*group_get_degree)(const EC_GROUP *); 107 int (*group_check_discriminant)(const EC_GROUP *, BN_CTX *); 122 int (*point_set_to_infinity)(const EC_GROUP *, EC_POINT *) [all...] |
ec_montgomery.c | 120 int ec_GFp_mont_group_init(EC_GROUP *group) { 129 void ec_GFp_mont_group_finish(EC_GROUP *group) { 141 void ec_GFp_mont_group_clear_finish(EC_GROUP *group) { 153 int ec_GFp_mont_group_copy(EC_GROUP *dest, const EC_GROUP *src) { 189 int ec_GFp_mont_group_set_curve(EC_GROUP *group, const BIGNUM *p, 246 int ec_GFp_mont_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, 256 int ec_GFp_mont_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, 266 int ec_GFp_mont_field_encode(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, 276 int ec_GFp_mont_field_decode(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a [all...] |
ec.c | 227 EC_GROUP *ec_group_new(const EC_METHOD *meth) { 228 EC_GROUP *ret; 240 ret = OPENSSL_malloc(sizeof(EC_GROUP)); 245 memset(ret, 0, sizeof(EC_GROUP)); 260 static EC_GROUP *ec_group_new_curve_GFp(const BIGNUM *p, const BIGNUM *a, 263 EC_GROUP *ret; 282 static EC_GROUP *ec_group_new_from_data(const struct built_in_curve *curve) { 283 EC_GROUP *group = NULL; 378 EC_GROUP *EC_GROUP_new_by_curve_name(int nid) { 381 EC_GROUP *ret = NULL [all...] |
simple.c | 133 int ec_GFp_simple_group_init(EC_GROUP *group) { 141 void ec_GFp_simple_group_finish(EC_GROUP *group) { 147 void ec_GFp_simple_group_clear_finish(EC_GROUP *group) { 153 int ec_GFp_simple_group_copy(EC_GROUP *dest, const EC_GROUP *src) { 164 int ec_GFp_simple_group_set_curve(EC_GROUP *group, const BIGNUM *p, 223 int ec_GFp_simple_group_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, 268 int ec_GFp_simple_group_get_degree(const EC_GROUP *group) { 272 int ec_GFp_simple_group_check_discriminant(const EC_GROUP *group, BN_CTX *ctx) { 377 int ec_GFp_simple_point_set_to_infinity(const EC_GROUP *group [all...] |
example_mul.c | 78 EC_GROUP *group = NULL;
|
/external/openssl/crypto/ec/ |
ec_lcl.h | 98 int (*group_init)(EC_GROUP *); 99 void (*group_finish)(EC_GROUP *); 100 void (*group_clear_finish)(EC_GROUP *); 101 int (*group_copy)(EC_GROUP *, const EC_GROUP *); 105 int (*group_set_curve)(EC_GROUP *, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *); 106 int (*group_get_curve)(const EC_GROUP *, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *); 109 int (*group_get_degree)(const EC_GROUP *); 112 int (*group_check_discriminant)(const EC_GROUP *, BN_CTX *); 127 int (*point_set_to_infinity)(const EC_GROUP *, EC_POINT *) [all...] |
ec.h | 129 EC_GROUP; 185 /* EC_GROUP functions */ 188 /** Creates a new EC_GROUP object 190 * \return newly created EC_GROUP object or NULL in case of an error. 192 EC_GROUP *EC_GROUP_new(const EC_METHOD *meth); 194 /** Frees a EC_GROUP object 195 * \param group EC_GROUP object to be freed. 197 void EC_GROUP_free(EC_GROUP *group); 199 /** Clears and frees a EC_GROUP object 200 * \param group EC_GROUP object to be cleared and freed [all...] |
ec_cvt.c | 76 EC_GROUP *EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) 79 EC_GROUP *ret; 151 EC_GROUP *EC_GROUP_new_curve_GF2m(const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) 154 EC_GROUP *ret;
|
ec_lib.c | 74 /* functions for EC_GROUP objects */ 76 EC_GROUP *EC_GROUP_new(const EC_METHOD *meth) 78 EC_GROUP *ret; 123 void EC_GROUP_free(EC_GROUP *group) 144 void EC_GROUP_clear_free(EC_GROUP *group) 171 int EC_GROUP_copy(EC_GROUP *dest, const EC_GROUP *src) 250 EC_GROUP *EC_GROUP_dup(const EC_GROUP *a) 252 EC_GROUP *t = NULL [all...] |
ecp_mont.c | 123 int ec_GFp_mont_group_init(EC_GROUP *group) 134 void ec_GFp_mont_group_finish(EC_GROUP *group) 150 void ec_GFp_mont_group_clear_finish(EC_GROUP *group) 166 int ec_GFp_mont_group_copy(EC_GROUP *dest, const EC_GROUP *src) 205 int ec_GFp_mont_group_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) 265 int ec_GFp_mont_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) 277 int ec_GFp_mont_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) 289 int ec_GFp_mont_field_encode(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) 301 int ec_GFp_mont_field_decode(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, BN_CTX *ctx [all...] |
ec2_smpl.c | 134 /* Initialize a GF(2^m)-based EC_GROUP structure. 137 int ec_GF2m_simple_group_init(EC_GROUP *group) 146 /* Free a GF(2^m)-based EC_GROUP structure. 149 void ec_GF2m_simple_group_finish(EC_GROUP *group) 157 /* Clear and free a GF(2^m)-based EC_GROUP structure. 160 void ec_GF2m_simple_group_clear_finish(EC_GROUP *group) 174 /* Copy a GF(2^m)-based EC_GROUP structure. 177 int ec_GF2m_simple_group_copy(EC_GROUP *dest, const EC_GROUP *src) 197 /* Set the curve parameters of an EC_GROUP structure. * [all...] |
ec_print.c | 59 BIGNUM *EC_POINT_point2bn(const EC_GROUP *group, 89 EC_POINT *EC_POINT_bn2point(const EC_GROUP *group, 135 char *EC_POINT_point2hex(const EC_GROUP *group, 179 EC_POINT *EC_POINT_hex2point(const EC_GROUP *group,
|
ecp_nist.c | 123 int ec_GFp_nist_group_copy(EC_GROUP *dest, const EC_GROUP *src) 130 int ec_GFp_nist_group_set_curve(EC_GROUP *group, const BIGNUM *p, 169 int ec_GFp_nist_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, 195 int ec_GFp_nist_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
|
ec_oct.c | 71 int EC_POINT_set_compressed_coordinates_GFp(const EC_GROUP *group, EC_POINT *point, 105 int EC_POINT_set_compressed_coordinates_GF2m(const EC_GROUP *group, EC_POINT *point, 132 size_t EC_POINT_point2oct(const EC_GROUP *group, const EC_POINT *point, point_conversion_form_t form, 167 int EC_POINT_oct2point(const EC_GROUP *group, EC_POINT *point,
|
ecp_smpl.c | 138 int ec_GFp_simple_group_init(EC_GROUP *group) 148 void ec_GFp_simple_group_finish(EC_GROUP *group) 156 void ec_GFp_simple_group_clear_finish(EC_GROUP *group) 164 int ec_GFp_simple_group_copy(EC_GROUP *dest, const EC_GROUP *src) 176 int ec_GFp_simple_group_set_curve(EC_GROUP *group, 231 int ec_GFp_simple_group_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx) 282 int ec_GFp_simple_group_get_degree(const EC_GROUP *group) 288 int ec_GFp_simple_group_check_discriminant(const EC_GROUP *group, BN_CTX *ctx) 394 int ec_GFp_simple_point_set_to_infinity(const EC_GROUP *group, EC_POINT *point [all...] |
ec_ameth.c | 70 const EC_GROUP *group; 158 EC_GROUP *group; 229 const EC_GROUP *group = EC_KEY_get0_group(b->pkey.ec); 268 const EC_GROUP *group; 375 const EC_GROUP *group; 404 EC_GROUP *group = EC_GROUP_dup(EC_KEY_get0_group(from->pkey.ec)); 415 const EC_GROUP *group_a = EC_KEY_get0_group(a->pkey.ec), 436 const EC_GROUP *group;
|
ec_asn1.c | 66 int EC_GROUP_get_basis_type(const EC_GROUP *group) 87 int EC_GROUP_get_trinomial_basis(const EC_GROUP *group, unsigned int *k) 105 int EC_GROUP_get_pentanomial_basis(const EC_GROUP *group, unsigned int *k1, 280 static int ec_asn1_group2fieldid(const EC_GROUP *, X9_62_FIELDID *); 282 static int ec_asn1_group2curve(const EC_GROUP *, X9_62_CURVE *); 283 /* ec_asn1_parameters2group() creates a EC_GROUP object from a 285 static EC_GROUP *ec_asn1_parameters2group(const ECPARAMETERS *); 287 * EC_GROUP object */ 288 static ECPARAMETERS *ec_asn1_group2parameters(const EC_GROUP *,ECPARAMETERS *); 289 /* ec_asn1_pkparameters2group() creates a EC_GROUP object from [all...] |
ec_check.c | 59 int EC_GROUP_check(const EC_GROUP *group, BN_CTX *ctx)
|
ec2_mult.c | 84 static int gf2m_Mdouble(const EC_GROUP *group, BIGNUM *x, BIGNUM *z, BN_CTX *ctx) 115 static int gf2m_Madd(const EC_GROUP *group, const BIGNUM *x, BIGNUM *x1, BIGNUM *z1, 152 static int gf2m_Mxy(const EC_GROUP *group, const BIGNUM *x, const BIGNUM *y, BIGNUM *x1, 221 static int ec_GF2m_montgomery_point_multiply(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, 322 int ec_GF2m_simple_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, 385 int ec_GF2m_precompute_mult(EC_GROUP *group, BN_CTX *ctx) 390 int ec_GF2m_have_precompute_mult(const EC_GROUP *group)
|
/external/chromium_org/third_party/boringssl/src/include/openssl/ |
ec.h | 78 typedef struct ec_group_st EC_GROUP; 97 /* EC_GROUP_new_by_curve_name returns a fresh EC_GROUP object for the elliptic 105 OPENSSL_EXPORT EC_GROUP *EC_GROUP_new_by_curve_name(int nid); 108 OPENSSL_EXPORT void EC_GROUP_free(EC_GROUP *group); 112 OPENSSL_EXPORT int EC_GROUP_copy(EC_GROUP *dest, const EC_GROUP *src); 114 /* EC_GROUP_dup returns a fresh |EC_GROUP| which is equal to |a| or NULL on 116 OPENSSL_EXPORT EC_GROUP *EC_GROUP_dup(const EC_GROUP *a); 120 OPENSSL_EXPORT int EC_GROUP_cmp(const EC_GROUP *a, const EC_GROUP *b) [all...] |
/external/openssl/include/openssl/ |
ec.h | 129 EC_GROUP; 185 /* EC_GROUP functions */ 188 /** Creates a new EC_GROUP object 190 * \return newly created EC_GROUP object or NULL in case of an error. 192 EC_GROUP *EC_GROUP_new(const EC_METHOD *meth); 194 /** Frees a EC_GROUP object 195 * \param group EC_GROUP object to be freed. 197 void EC_GROUP_free(EC_GROUP *group); 199 /** Clears and frees a EC_GROUP object 200 * \param group EC_GROUP object to be cleared and freed [all...] |
/system/keymaster/ |
asymmetric_key.h | 129 static EC_GROUP* choose_group(size_t key_size_bits); 130 static keymaster_error_t get_group_size(const EC_GROUP& group, size_t* key_size_bits); 141 void operator()(EC_GROUP* p) { EC_GROUP_free(p); }
|
/external/chromium_org/third_party/boringssl/src/crypto/evp/ |
p_ec_asn1.c | 70 const EC_GROUP *group; 145 EC_GROUP *group; 211 const EC_GROUP *group = EC_KEY_get0_group(b->pkey.ec); 250 const EC_GROUP *group; 347 const EC_GROUP *group; 370 EC_GROUP *group = EC_GROUP_dup(EC_KEY_get0_group(from->pkey.ec)); 380 const EC_GROUP *group_a = EC_KEY_get0_group(a->pkey.ec), 394 const EC_GROUP *group;
|
/external/chromium_org/third_party/boringssl/src/crypto/ecdsa/ |
ecdsa_asn1.c | 76 const EC_GROUP *group;
|
/external/wpa_supplicant_8/src/eap_common/ |
eap_pwd_common.h | 22 EC_GROUP *group;
|