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

1 2

  /external/boringssl/src/crypto/ec/
internal.h 84 int (*group_init)(EC_GROUP *);
85 void (*group_finish)(EC_GROUP *);
86 void (*group_clear_finish)(EC_GROUP *);
87 int (*group_copy)(EC_GROUP *, const EC_GROUP *);
91 int (*group_set_curve)(EC_GROUP *, const BIGNUM *p, const BIGNUM *a,
95 int (*point_get_affine_coordinates)(const EC_GROUP *, const EC_POINT *,
103 int (*mul)(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar,
112 int (*check_pub_key_order)(const EC_GROUP *group, const EC_POINT *pub_key,
120 int (*field_mul)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a
    [all...]
ec_montgomery.c 77 int ec_GFp_mont_group_init(EC_GROUP *group) {
86 void ec_GFp_mont_group_finish(EC_GROUP *group) {
94 void ec_GFp_mont_group_clear_finish(EC_GROUP *group) {
102 int ec_GFp_mont_group_copy(EC_GROUP *dest, const EC_GROUP *src) {
136 int ec_GFp_mont_group_set_curve(EC_GROUP *group, const BIGNUM *p,
189 int ec_GFp_mont_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
199 int ec_GFp_mont_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
209 int ec_GFp_mont_field_encode(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
219 int ec_GFp_mont_field_decode(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a
    [all...]
ec.c 321 EC_GROUP *ec_group_new(const EC_METHOD *meth) {
322 EC_GROUP *ret;
334 ret = OPENSSL_malloc(sizeof(EC_GROUP));
339 memset(ret, 0, sizeof(EC_GROUP));
353 EC_GROUP *EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a,
356 EC_GROUP *ret;
374 int EC_GROUP_set_generator(EC_GROUP *group, const EC_POINT *generator,
377 /* |EC_GROUP_set_generator| should only be used with |EC_GROUP|s returned
412 static EC_GROUP *ec_group_new_from_data(unsigned built_in_index) {
414 EC_GROUP *group = NULL
    [all...]
simple.c 91 int ec_GFp_simple_group_init(EC_GROUP *group) {
99 void ec_GFp_simple_group_finish(EC_GROUP *group) {
105 void ec_GFp_simple_group_clear_finish(EC_GROUP *group) {
111 int ec_GFp_simple_group_copy(EC_GROUP *dest, const EC_GROUP *src) {
122 int ec_GFp_simple_group_set_curve(EC_GROUP *group, const BIGNUM *p,
189 int ec_GFp_simple_group_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a,
229 unsigned ec_GFp_simple_group_get_degree(const EC_GROUP *group) {
233 int ec_GFp_simple_group_check_discriminant(const EC_GROUP *group, BN_CTX *ctx) {
336 int ec_GFp_simple_point_set_to_infinity(const EC_GROUP *group
    [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,
408 int EC_POINT_set_compressed_coordinates_GFp(const EC_GROUP *group,
example_mul.c 78 EC_GROUP *group = NULL;
ec_asn1.c 163 ECPKPARAMETERS *ec_asn1_group2pkparameters(const EC_GROUP *group,
194 EC_GROUP *ec_asn1_pkparameters2group(const ECPKPARAMETERS *params) {
195 EC_GROUP *ret = NULL;
238 static EC_GROUP *d2i_ECPKParameters(EC_GROUP **groupp, const uint8_t **inp,
240 EC_GROUP *group = NULL;
268 static int i2d_ECPKParameters(const EC_GROUP *group, uint8_t **outp) {
  /external/boringssl/src/include/openssl/
ec.h 81 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);
110 /* EC_GROUP_dup returns a fresh |EC_GROUP| which is equal to |a| or NULL on
112 OPENSSL_EXPORT EC_GROUP *EC_GROUP_dup(const EC_GROUP *a);
116 OPENSSL_EXPORT int EC_GROUP_cmp(const EC_GROUP *a, const EC_GROUP *b,
121 OPENSSL_EXPORT const EC_POINT *EC_GROUP_get0_generator(const EC_GROUP *group)
    [all...]
ec_key.h 116 /* EC_KEY_get0_group returns a pointer to the |EC_GROUP| object inside |key|. */
117 OPENSSL_EXPORT const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
119 /* EC_KEY_set_group sets the |EC_GROUP| object that |key| will use to |group|.
121 OPENSSL_EXPORT int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group);
  /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());
ec_key_factory.cpp 99 UniquePtr<EC_GROUP, EC_GROUP_Delete> group(ChooseGroup(ec_curve));
188 EC_GROUP* EcKeyFactory::ChooseGroup(size_t key_size_bits) {
209 EC_GROUP* EcKeyFactory::ChooseGroup(keymaster_ec_curve_t ec_curve) {
  /external/conscrypt/src/main/java/org/conscrypt/
NativeRef.java 48 public static class EC_GROUP extends NativeRef {
49 public EC_GROUP(long ctx) {
OpenSSLECGroupContext.java 30 private final NativeRef.EC_GROUP groupCtx;
32 public OpenSSLECGroupContext(NativeRef.EC_GROUP groupCtx) {
49 NativeRef.EC_GROUP groupRef = new NativeRef.EC_GROUP(ctx);
69 public NativeRef.EC_GROUP getNativeRef() {
156 NativeRef.EC_GROUP groupRef = new NativeRef.EC_GROUP(group);
NativeCrypto.java 115 NativeRef.EC_GROUP ecGroupRef);
159 public static native long EVP_PKEY_new_EC_KEY(NativeRef.EC_GROUP groupRef,
167 public static native void EC_GROUP_set_asn1_flag(NativeRef.EC_GROUP groupRef, int flag);
169 public static native void EC_GROUP_set_point_conversion_form(NativeRef.EC_GROUP groupRef,
172 public static native String EC_GROUP_get_curve_name(NativeRef.EC_GROUP groupRef);
174 public static native byte[][] EC_GROUP_get_curve(NativeRef.EC_GROUP groupRef);
178 public static native long EC_GROUP_get_generator(NativeRef.EC_GROUP groupRef);
180 public static native int get_EC_GROUP_type(NativeRef.EC_GROUP groupRef);
182 public static native byte[] EC_GROUP_get_order(NativeRef.EC_GROUP groupRef);
184 public static native int EC_GROUP_get_degree(NativeRef.EC_GROUP groupRef)
    [all...]
OpenSSLECPublicKey.java 46 this.group = new OpenSSLECGroupContext(new NativeRef.EC_GROUP(
159 group = new OpenSSLECGroupContext(new NativeRef.EC_GROUP(
OpenSSLECDHKeyAgreement.java 127 int fieldSizeBits = NativeCrypto.EC_GROUP_get_degree(new NativeRef.EC_GROUP(
OpenSSLECPrivateKey.java 50 this.group = new OpenSSLECGroupContext(new NativeRef.EC_GROUP(
255 group = new OpenSSLECGroupContext(new NativeRef.EC_GROUP(
  /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/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/evp/
p_ec_asn1.c 70 const EC_GROUP *group;
202 const EC_GROUP *group = EC_KEY_get0_group(b->pkey.ec);
242 const EC_GROUP *group;
340 const EC_GROUP *group = EC_KEY_get0_group(pkey->pkey.ec);
353 EC_GROUP *group = EC_GROUP_dup(EC_KEY_get0_group(from->pkey.ec));
363 const EC_GROUP *group_a = EC_KEY_get0_group(a->pkey.ec),
380 const EC_GROUP *group;
p_ec.c 78 EC_GROUP *gen_group;
166 const EC_GROUP *group;
188 EC_GROUP *group;
  /external/boringssl/src/crypto/ecdh/
ecdh.c 97 const EC_GROUP *const group = EC_KEY_get0_group(priv_key);

Completed in 271 milliseconds

1 2