/external/boringssl/src/crypto/ec/ |
internal.h | 83 int (*group_init)(EC_GROUP *); 84 void (*group_finish)(EC_GROUP *); 85 int (*group_copy)(EC_GROUP *, const EC_GROUP *); 86 int (*group_set_curve)(EC_GROUP *, const BIGNUM *p, const BIGNUM *a, 88 int (*point_get_affine_coordinates)(const EC_GROUP *, const EC_POINT *, 96 int (*mul)(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar, 102 int (*field_mul)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, 104 int (*field_sqr)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *); 106 int (*field_encode)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a [all...] |
ec_montgomery.c | 78 int ec_GFp_mont_group_init(EC_GROUP *group) { 86 void ec_GFp_mont_group_finish(EC_GROUP *group) { 92 int ec_GFp_mont_group_copy(EC_GROUP *dest, const EC_GROUP *src) { 118 int ec_GFp_mont_group_set_curve(EC_GROUP *group, const BIGNUM *p, 159 int ec_GFp_mont_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, 169 int ec_GFp_mont_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, 179 int ec_GFp_mont_field_encode(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, 189 int ec_GFp_mont_field_decode(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, 199 static int ec_GFp_mont_point_get_affine_coordinates(const EC_GROUP *group [all...] |
ec.c | 335 EC_GROUP *ec_group_new(const EC_METHOD *meth) { 336 EC_GROUP *ret; 348 ret = OPENSSL_malloc(sizeof(EC_GROUP)); 353 OPENSSL_memset(ret, 0, sizeof(EC_GROUP)); 366 EC_GROUP *EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a, 368 EC_GROUP *ret = ec_group_new(&EC_GFp_mont_method); 384 int EC_GROUP_set_generator(EC_GROUP *group, const EC_POINT *generator, 387 /* |EC_GROUP_set_generator| may only be used with |EC_GROUP|s returned by 404 static EC_GROUP *ec_group_new_from_data(unsigned built_in_index) { 406 EC_GROUP *group = NULL [all...] |
simple.c | 91 int ec_GFp_simple_group_init(EC_GROUP *group) { 100 void ec_GFp_simple_group_finish(EC_GROUP *group) { 107 int ec_GFp_simple_group_copy(EC_GROUP *dest, const EC_GROUP *src) { 119 int ec_GFp_simple_group_set_curve(EC_GROUP *group, const BIGNUM *p, 194 int ec_GFp_simple_group_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, 234 unsigned ec_GFp_simple_group_get_degree(const EC_GROUP *group) { 268 int ec_GFp_simple_point_set_to_infinity(const EC_GROUP *group, 274 static int set_Jprojective_coordinate_GFp(const EC_GROUP *group, BIGNUM *out, 291 const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, const BIGNUM *y [all...] |
oct.c | 77 static size_t ec_GFp_simple_point2oct(const EC_GROUP *group, 172 static int ec_GFp_simple_oct2point(const EC_GROUP *group, EC_POINT *point, 253 int EC_POINT_oct2point(const EC_GROUP *group, EC_POINT *point, 262 size_t EC_POINT_point2oct(const EC_GROUP *group, const EC_POINT *point, 272 int EC_POINT_point2cbb(CBB *out, const EC_GROUP *group, const EC_POINT *point, 283 int ec_GFp_simple_set_compressed_coordinates(const EC_GROUP *group, 408 int EC_POINT_set_compressed_coordinates_GFp(const EC_GROUP *group,
|
example_mul.c | 78 EC_GROUP *group = NULL;
|
/external/boringssl/src/include/openssl/ |
ec.h | 104 /* EC_GROUP_new_by_curve_name returns a fresh EC_GROUP object for the elliptic 112 OPENSSL_EXPORT EC_GROUP *EC_GROUP_new_by_curve_name(int nid); 115 OPENSSL_EXPORT void EC_GROUP_free(EC_GROUP *group); 117 /* EC_GROUP_dup returns a fresh |EC_GROUP| which is equal to |a| or NULL on 119 OPENSSL_EXPORT EC_GROUP *EC_GROUP_dup(const EC_GROUP *a); 123 OPENSSL_EXPORT int EC_GROUP_cmp(const EC_GROUP *a, const EC_GROUP *b, 128 OPENSSL_EXPORT const EC_POINT *EC_GROUP_get0_generator(const EC_GROUP *group); 132 OPENSSL_EXPORT const BIGNUM *EC_GROUP_get0_order(const EC_GROUP *group) [all...] |
ec_key.h | 115 /* EC_KEY_get0_group returns a pointer to the |EC_GROUP| object inside |key|. */ 116 OPENSSL_EXPORT const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); 118 /* EC_KEY_set_group sets the |EC_GROUP| object that |key| will use to |group|. 120 OPENSSL_EXPORT int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); 185 const EC_GROUP *group); 195 * name from |cbs| and advances |cbs|. It returns a newly-allocated |EC_GROUP| 197 OPENSSL_EXPORT EC_GROUP *EC_KEY_parse_curve_name(CBS *cbs); 202 OPENSSL_EXPORT int EC_KEY_marshal_curve_name(CBB *cbb, const EC_GROUP *group); 205 * 5480) from |cbs| and advances |cbs|. It returns a newly-allocated |EC_GROUP| 209 OPENSSL_EXPORT EC_GROUP *EC_KEY_parse_parameters(CBS *cbs) [all...] |
/external/openssh/ |
bufec.c | 32 buffer_put_ecpoint_ret(Buffer *buffer, const EC_GROUP *curve, 45 buffer_put_ecpoint(Buffer *buffer, const EC_GROUP *curve, 53 buffer_get_ecpoint_ret(Buffer *buffer, const EC_GROUP *curve, 66 buffer_get_ecpoint(Buffer *buffer, const EC_GROUP *curve,
|
buffer.h | 92 int buffer_put_ecpoint_ret(Buffer *, const EC_GROUP *, const EC_POINT *); 93 void buffer_put_ecpoint(Buffer *, const EC_GROUP *, const EC_POINT *); 94 int buffer_get_ecpoint_ret(Buffer *, const EC_GROUP *, EC_POINT *); 95 void buffer_get_ecpoint(Buffer *, const EC_GROUP *, EC_POINT *);
|
kex.h | 42 # define EC_GROUP void 47 # define EC_GROUP void 156 const EC_GROUP *ec_group; /* ECDH */ member in struct:kex 201 int kex_ecdh_hash(int, const EC_GROUP *, const char *, const char *, 226 # undef EC_GROUP
|
packet.h | 27 # define EC_GROUP void 33 # define EC_GROUP void 174 int sshpkt_put_ec(struct ssh *ssh, const EC_POINT *v, const EC_GROUP *g); 185 int sshpkt_get_ec(struct ssh *ssh, EC_POINT *v, const EC_GROUP *g); 198 # undef EC_GROUP 202 # undef EC_GROUP
|
sshkey.h | 38 # define EC_GROUP void 45 # define EC_GROUP void 152 int sshkey_ec_validate_public(const EC_GROUP *, const EC_POINT *); 175 void sshkey_dump_ec_point(const EC_GROUP *, const EC_POINT *); 221 # undef EC_GROUP 225 # undef EC_GROUP
|
/external/boringssl/src/crypto/ecdsa/ |
ecdsa_verify_test.cc | 29 static bssl::UniquePtr<EC_GROUP> GetCurve(FileTest *t, const char *key) { 36 return bssl::UniquePtr<EC_GROUP>(EC_GROUP_new_by_curve_name(NID_secp224r1)); 39 return bssl::UniquePtr<EC_GROUP>( 43 return bssl::UniquePtr<EC_GROUP>(EC_GROUP_new_by_curve_name(NID_secp384r1)); 46 return bssl::UniquePtr<EC_GROUP>(EC_GROUP_new_by_curve_name(NID_secp521r1)); 63 bssl::UniquePtr<EC_GROUP> group = GetCurve(t, "Curve");
|
ecdsa_sign_test.cc | 29 static bssl::UniquePtr<EC_GROUP> GetCurve(FileTest *t, const char *key) { 36 return bssl::UniquePtr<EC_GROUP>(EC_GROUP_new_by_curve_name(NID_secp224r1)); 39 return bssl::UniquePtr<EC_GROUP>( 43 return bssl::UniquePtr<EC_GROUP>(EC_GROUP_new_by_curve_name(NID_secp384r1)); 46 return bssl::UniquePtr<EC_GROUP>(EC_GROUP_new_by_curve_name(NID_secp521r1)); 63 bssl::UniquePtr<EC_GROUP> group = GetCurve(t, "Curve");
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
OpenSSLECGroupContext.java | 29 * Represents a BoringSSL EC_GROUP object. 35 private final NativeRef.EC_GROUP groupCtx; 37 public OpenSSLECGroupContext(NativeRef.EC_GROUP groupCtx) { 54 NativeRef.EC_GROUP groupRef = new NativeRef.EC_GROUP(ctx); 70 public NativeRef.EC_GROUP getNativeRef() { 157 NativeRef.EC_GROUP groupRef = new NativeRef.EC_GROUP(group);
|
NativeRef.java | 51 public static class EC_GROUP extends NativeRef { 52 public EC_GROUP(long ctx) {
|
/external/boringssl/src/crypto/ecdh/ |
ecdh_test.cc | 29 static bssl::UniquePtr<EC_GROUP> GetCurve(FileTest *t, const char *key) { 36 return bssl::UniquePtr<EC_GROUP>(EC_GROUP_new_by_curve_name(NID_secp224r1)); 39 return bssl::UniquePtr<EC_GROUP>(EC_GROUP_new_by_curve_name( 43 return bssl::UniquePtr<EC_GROUP>(EC_GROUP_new_by_curve_name(NID_secp384r1)); 46 return bssl::UniquePtr<EC_GROUP>(EC_GROUP_new_by_curve_name(NID_secp521r1)); 63 bssl::UniquePtr<EC_GROUP> group = GetCurve(t, "Curve");
|
/system/keymaster/ |
openssl_utils.h | 58 DEFINE_OPENSSL_OBJECT_POINTER(EC_GROUP) 72 keymaster_error_t ec_get_group_size(const EC_GROUP* group, size_t* key_size_bits); 73 EC_GROUP* ec_get_group(keymaster_ec_curve_t curve);
|
openssl_utils.cpp | 25 keymaster_error_t ec_get_group_size(const EC_GROUP* group, size_t* key_size_bits) { 45 EC_GROUP* ec_get_group(keymaster_ec_curve_t curve) { 132 const EC_GROUP* group = EC_KEY_get0_group(ec_key);
|
nist_curve_key_exchange.cpp | 71 const EC_GROUP* group = EC_KEY_get0_group(private_key_.get()); 98 const EC_GROUP* group = EC_KEY_get0_group(private_key_.get());
|
/system/keymaster/include/keymaster/ |
ec_key_factory.h | 56 static EC_GROUP* ChooseGroup(size_t key_size_bits); 57 static EC_GROUP* ChooseGroup(keymaster_ec_curve_t ec_curve);
|
/external/boringssl/src/crypto/evp/ |
p_ec_asn1.c | 70 const EC_GROUP *group = EC_KEY_get0_group(ec_key); 98 EC_GROUP *group = EC_KEY_parse_curve_name(params); 130 const EC_GROUP *group = EC_KEY_get0_group(b->pkey.ec); 145 EC_GROUP *group = EC_KEY_parse_parameters(params); 196 const EC_GROUP *group = EC_KEY_get0_group(pkey->pkey.ec); 209 EC_GROUP *group = EC_GROUP_dup(EC_KEY_get0_group(from->pkey.ec)); 219 const EC_GROUP *group_a = EC_KEY_get0_group(a->pkey.ec),
|
/external/libchrome/crypto/ |
scoped_openssl_types.h | 49 using ScopedEC_GROUP = ScopedOpenSSL<EC_GROUP, EC_GROUP_free>;
|
/external/wpa_supplicant_8/src/eap_common/ |
eap_pwd_common.h | 22 EC_GROUP *group;
|