HomeSort by relevance Sort by last modified time
    Searched refs:EC_GROUP (Results 1 - 25 of 66) sorted by null

1 2 3

  /external/boringssl/src/crypto/fipsmodule/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 79 int ec_GFp_mont_group_init(EC_GROUP *group) {
87 void ec_GFp_mont_group_finish(EC_GROUP *group) {
93 int ec_GFp_mont_group_copy(EC_GROUP *dest, const EC_GROUP *src) {
119 int ec_GFp_mont_group_set_curve(EC_GROUP *group, const BIGNUM *p,
160 int ec_GFp_mont_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
170 int ec_GFp_mont_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
180 int ec_GFp_mont_field_encode(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
190 int ec_GFp_mont_field_decode(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
200 static int ec_GFp_mont_point_get_affine_coordinates(const EC_GROUP *group
    [all...]
ec.c 337 EC_GROUP *ec_group_new(const EC_METHOD *meth) {
338 EC_GROUP *ret;
350 ret = OPENSSL_malloc(sizeof(EC_GROUP));
355 OPENSSL_memset(ret, 0, sizeof(EC_GROUP));
368 EC_GROUP *EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a,
370 EC_GROUP *ret = ec_group_new(EC_GFp_mont_method());
386 int EC_GROUP_set_generator(EC_GROUP *group, const EC_POINT *generator,
389 /* |EC_GROUP_set_generator| may only be used with |EC_GROUP|s returned by
406 static EC_GROUP *ec_group_new_from_data(unsigned built_in_index) {
409 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 76 static size_t ec_GFp_simple_point2oct(const EC_GROUP *group,
171 static int ec_GFp_simple_oct2point(const EC_GROUP *group, EC_POINT *point,
252 int EC_POINT_oct2point(const EC_GROUP *group, EC_POINT *point,
261 size_t EC_POINT_point2oct(const EC_GROUP *group, const EC_POINT *point,
271 int ec_GFp_simple_set_compressed_coordinates(const EC_GROUP *group,
396 int EC_POINT_set_compressed_coordinates_GFp(const EC_GROUP *group,
  /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);
193 const EC_GROUP *group);
203 * name from |cbs| and advances |cbs|. It returns a newly-allocated |EC_GROUP|
205 OPENSSL_EXPORT EC_GROUP *EC_KEY_parse_curve_name(CBS *cbs);
210 OPENSSL_EXPORT int EC_KEY_marshal_curve_name(CBB *cbb, const EC_GROUP *group);
213 * 5480) from |cbs| and advances |cbs|. It returns a newly-allocated |EC_GROUP|
217 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
164 const EC_GROUP *ec_group; /* ECDH */ member in struct:kex
211 int kex_ecdh_hash(int, const EC_GROUP *, const char *, const char *,
237 # undef EC_GROUP
packet.h 27 # define EC_GROUP void
33 # define EC_GROUP void
184 int sshpkt_put_ec(struct ssh *ssh, const EC_POINT *v, const EC_GROUP *g);
195 int sshpkt_get_ec(struct ssh *ssh, EC_POINT *v, const EC_GROUP *g);
208 # undef EC_GROUP
212 # undef EC_GROUP
sshkey.h 38 # define EC_GROUP void
45 # define EC_GROUP void
154 int sshkey_ec_validate_public(const EC_GROUP *, const EC_POINT *);
177 void sshkey_dump_ec_point(const EC_GROUP *, const EC_POINT *);
222 # undef EC_GROUP
226 # undef EC_GROUP
  /external/conscrypt/common/src/main/java/org/conscrypt/
OpenSSLECGroupContext.java 29 * Represents a BoringSSL EC_GROUP object.
32 private final NativeRef.EC_GROUP groupCtx;
34 OpenSSLECGroupContext(NativeRef.EC_GROUP groupCtx) {
49 NativeRef.EC_GROUP groupRef = new NativeRef.EC_GROUP(ctx);
65 NativeRef.EC_GROUP getNativeRef() {
152 NativeRef.EC_GROUP groupRef = new NativeRef.EC_GROUP(group);
NativeRef.java 61 static final class EC_GROUP extends NativeRef {
62 EC_GROUP(long ctx) {
OpenSSLECPublicKey.java 48 this.group = new OpenSSLECGroupContext(new NativeRef.EC_GROUP(
160 group = new OpenSSLECGroupContext(new NativeRef.EC_GROUP(
  /external/boringssl/src/crypto/ecdh/
ecdh_test.cc 32 static bssl::UniquePtr<EC_GROUP> GetCurve(FileTest *t, const char *key) {
39 return bssl::UniquePtr<EC_GROUP>(EC_GROUP_new_by_curve_name(NID_secp224r1));
42 return bssl::UniquePtr<EC_GROUP>(EC_GROUP_new_by_curve_name(
46 return bssl::UniquePtr<EC_GROUP>(EC_GROUP_new_by_curve_name(NID_secp384r1));
49 return bssl::UniquePtr<EC_GROUP>(EC_GROUP_new_by_curve_name(NID_secp521r1));
67 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) {
126 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/boringssl/src/crypto/fipsmodule/ecdsa/
ecdsa_test.cc 159 bssl::UniquePtr<EC_GROUP> group(EC_GROUP_new_by_curve_name(nid));
261 static bssl::UniquePtr<EC_GROUP> GetCurve(FileTest *t, const char *key) {
268 return bssl::UniquePtr<EC_GROUP>(EC_GROUP_new_by_curve_name(NID_secp224r1));
271 return bssl::UniquePtr<EC_GROUP>(
275 return bssl::UniquePtr<EC_GROUP>(EC_GROUP_new_by_curve_name(NID_secp384r1));
278 return bssl::UniquePtr<EC_GROUP>(EC_GROUP_new_by_curve_name(NID_secp521r1));
297 bssl::UniquePtr<EC_GROUP> group = GetCurve(t, "Curve");
332 bssl::UniquePtr<EC_GROUP> group = GetCurve(t, "Curve");
  /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;
  /external/boringssl/src/crypto/ec_extra/
ec_asn1.c 75 EC_KEY *EC_KEY_parse_private_key(CBS *cbs, const EC_GROUP *group) {
87 EC_GROUP *inner_group = NULL;
328 EC_GROUP *EC_KEY_parse_curve_name(CBS *cbs) {
350 int EC_KEY_marshal_curve_name(CBB *cbb, const EC_GROUP *group) {
372 EC_GROUP *EC_KEY_parse_parameters(CBS *cbs) {
411 int EC_POINT_point2cbb(CBB *out, const EC_GROUP *group, const EC_POINT *point,
425 const EC_GROUP *group = NULL;
465 EC_GROUP *group = EC_KEY_parse_parameters(&cbs);

Completed in 3191 milliseconds

1 2 3