Home
last modified time | relevance | path

Searched refs:EC_POINT (Results 1 – 25 of 58) sorted by relevance

123

/external/boringssl/src/include/openssl/
Dec.h130 OPENSSL_EXPORT const EC_POINT *EC_GROUP_get0_generator(const EC_GROUP *group);
175 OPENSSL_EXPORT EC_POINT *EC_POINT_new(const EC_GROUP *group);
178 OPENSSL_EXPORT void EC_POINT_free(EC_POINT *point);
182 OPENSSL_EXPORT int EC_POINT_copy(EC_POINT *dest, const EC_POINT *src);
186 OPENSSL_EXPORT EC_POINT *EC_POINT_dup(const EC_POINT *src,
192 EC_POINT *point);
197 const EC_POINT *point);
203 const EC_POINT *point, BN_CTX *ctx);
207 OPENSSL_EXPORT int EC_POINT_cmp(const EC_GROUP *group, const EC_POINT *a,
208 const EC_POINT *b, BN_CTX *ctx);
[all …]
Decdh.h89 void *out, size_t outlen, const EC_POINT *pub_key, const EC_KEY *priv_key,
105 const EC_POINT *pub_key,
Dec_key.h137 OPENSSL_EXPORT const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
143 OPENSSL_EXPORT int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub);
/external/boringssl/src/crypto/fipsmodule/ec/
Dec.c84 static void ec_point_free(EC_POINT *point, int free_group);
304 static void ec_group_set0_generator(EC_GROUP *group, EC_POINT *generator) { in ec_group_set0_generator()
341 int EC_GROUP_set_generator(EC_GROUP *group, const EC_POINT *generator, in EC_GROUP_set_generator()
370 EC_POINT *copy = NULL; in EC_GROUP_set_generator()
417 EC_POINT *P = NULL; in ec_group_new_from_data()
612 const EC_POINT *EC_GROUP_get0_generator(const EC_GROUP *group) { in EC_GROUP_get0_generator()
679 EC_POINT *EC_POINT_new(const EC_GROUP *group) { in EC_POINT_new()
685 EC_POINT *ret = OPENSSL_malloc(sizeof *ret); in EC_POINT_new()
696 static void ec_point_free(EC_POINT *point, int free_group) { in ec_point_free()
706 void EC_POINT_free(EC_POINT *point) { in EC_POINT_free()
[all …]
Dec_test.cc145 const EC_POINT *pub_key = EC_KEY_get0_public_key(key.get()); in TEST()
254 bssl::UniquePtr<EC_POINT> generator(EC_POINT_new(group.get())); in TEST()
267 bssl::UniquePtr<EC_POINT> point(EC_POINT_new(group.get())); in TEST()
288 bssl::UniquePtr<EC_POINT> generator2(EC_POINT_new(group2.get())); in TEST()
302 bssl::UniquePtr<EC_POINT> generator3(EC_POINT_new(group3.get())); in TEST()
324 bssl::UniquePtr<EC_POINT> generator4(EC_POINT_new(group4.get())); in TEST()
425 bssl::UniquePtr<EC_POINT> g(EC_POINT_new(group.get())); in TEST()
432 bssl::UniquePtr<EC_POINT> q(EC_POINT_new(group.get())); in TEST()
477 auto point = bssl::UniquePtr<EC_POINT>(EC_POINT_new(group())); in TEST_P()
486 bssl::UniquePtr<EC_POINT> invalid_point(EC_POINT_new(group())); in TEST_P()
[all …]
Doct.c129 static int ec_GFp_simple_oct2point(const EC_GROUP *group, EC_POINT *point, in ec_GFp_simple_oct2point()
213 int EC_POINT_oct2point(const EC_GROUP *group, EC_POINT *point, in EC_POINT_oct2point()
222 size_t EC_POINT_point2oct(const EC_GROUP *group, const EC_POINT *point, in EC_POINT_point2oct()
233 EC_POINT *point, const BIGNUM *x, in EC_POINT_set_compressed_coordinates_GFp()
Dec_key.c260 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key) { in EC_KEY_get0_public_key()
264 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub_key) { in EC_KEY_set_public_key()
297 EC_POINT *point = NULL; in EC_KEY_check_key()
374 EC_POINT *point = NULL; in EC_KEY_set_public_key_affine_coordinates()
438 EC_POINT *pub_key = EC_POINT_new(key->group); in EC_KEY_generate_key()
/external/openssh/
Dbufec.c33 const EC_POINT *point) in buffer_put_ecpoint_ret()
46 const EC_POINT *point) in buffer_put_ecpoint()
54 EC_POINT *point) in buffer_get_ecpoint_ret()
67 EC_POINT *point) in buffer_get_ecpoint()
Dbuffer.h92 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 *);
Dsshkey.h39 # define EC_POINT void macro
46 # define EC_POINT void macro
154 int sshkey_ec_validate_public(const EC_GROUP *, const EC_POINT *);
177 void sshkey_dump_ec_point(const EC_GROUP *, const EC_POINT *);
223 # undef EC_POINT
227 # undef EC_POINT
Dpacket.h28 # define EC_POINT void macro
34 # define EC_POINT void macro
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);
209 # undef EC_POINT
213 # undef EC_POINT
Dkex.h43 # define EC_POINT void macro
48 # define EC_POINT void macro
213 const EC_POINT *, const EC_POINT *, const BIGNUM *, u_char *, size_t *);
238 # undef EC_POINT
Dsshbuf-getput-crypto.c76 get_ec(const u_char *d, size_t len, EC_POINT *v, const EC_GROUP *g) in get_ec()
90 sshbuf_get_ec(struct sshbuf *buf, EC_POINT *v, const EC_GROUP *g) in sshbuf_get_ec()
113 EC_POINT *pt = EC_POINT_new(EC_KEY_get0_group(v)); in sshbuf_get_eckey()
192 sshbuf_put_ec(struct sshbuf *buf, const EC_POINT *v, const EC_GROUP *g) in sshbuf_put_ec()
Dkexecdh.c58 const EC_POINT *client_dh_pub, in kex_ecdh_hash()
59 const EC_POINT *server_dh_pub, in kex_ecdh_hash()
Dkexecdhs.c65 EC_POINT *client_public; in input_kex_ecdh_init()
68 const EC_POINT *public_key; in input_kex_ecdh_init()
Dkexecdhc.c60 const EC_POINT *public_key; in kexecdh_client()
103 EC_POINT *server_public = NULL; in input_kex_ecdh_reply()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLECPointContext.java25 private final NativeRef.EC_POINT pointCtx;
27 OpenSSLECPointContext(OpenSSLECGroupContext group, NativeRef.EC_POINT pointCtx) { in OpenSSLECPointContext()
51 NativeRef.EC_POINT getNativeRef() { in getNativeRef()
57 OpenSSLECPointContext point = new OpenSSLECPointContext(group, new NativeRef.EC_POINT( in getInstance()
DNativeRef.java73 static final class EC_POINT extends NativeRef { class in NativeRef
74 EC_POINT(long nativePointer) { in EC_POINT() method in NativeRef.EC_POINT
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLECPointContext.java24 private final NativeRef.EC_POINT pointCtx;
26 OpenSSLECPointContext(OpenSSLECGroupContext group, NativeRef.EC_POINT pointCtx) { in OpenSSLECPointContext()
50 NativeRef.EC_POINT getNativeRef() { in getNativeRef()
56 OpenSSLECPointContext point = new OpenSSLECPointContext(group, new NativeRef.EC_POINT( in getInstance()
DNativeRef.java72 static final class EC_POINT extends NativeRef { class in NativeRef
73 EC_POINT(long nativePointer) { in EC_POINT() method in NativeRef.EC_POINT
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c1682 EC_POINT_clear_free((EC_POINT *) p); in crypto_ec_point_deinit()
1684 EC_POINT_free((EC_POINT *) p); in crypto_ec_point_deinit()
1692 (const EC_POINT *) p, in crypto_ec_point_x()
1712 EC_POINT_get_affine_coordinates_GFp(e->group, (EC_POINT *) point, in crypto_ec_point_to_bin()
1735 EC_POINT *elem; in crypto_ec_point_from_bin()
1770 return EC_POINT_add(e->group, (EC_POINT *) c, (const EC_POINT *) a, in crypto_ec_point_add()
1771 (const EC_POINT *) b, e->bnctx) ? 0 : -1; in crypto_ec_point_add()
1781 return EC_POINT_mul(e->group, (EC_POINT *) res, NULL, in crypto_ec_point_mul()
1782 (const EC_POINT *) p, (const BIGNUM *) b, e->bnctx) in crypto_ec_point_mul()
1791 return EC_POINT_invert(e->group, (EC_POINT *) p, e->bnctx) ? 0 : -1; in crypto_ec_point_invert()
[all …]
/external/boringssl/src/crypto/evp/
Dp_ec_asn1.c71 const EC_POINT *public_key = EC_KEY_get0_public_key(ec_key); in eckey_pub_encode()
96 EC_POINT *point = NULL; in eckey_pub_decode()
131 const EC_POINT *pa = EC_KEY_get0_public_key(a->pkey.ec), in eckey_pub_cmp()
/external/boringssl/src/crypto/ecdh_extra/
Decdh_test.cc90 bssl::UniquePtr<EC_POINT> pub_key(EC_POINT_new(group.get())); in TEST()
92 bssl::UniquePtr<EC_POINT> peer_pub_key(EC_POINT_new(group.get())); in TEST()
249 bssl::UniquePtr<EC_POINT> generator(EC_POINT_new(group.get())); in MakeCustomGroup()
288 const EC_POINT *peer = EC_GROUP_get0_generator(b.get()); in TEST()
/external/boringssl/src/fipstools/
Dcavp_kas_test.cc70 bssl::UniquePtr<EC_POINT> their_point(EC_POINT_new(group)); in TestKAS()
109 const EC_POINT *pub = EC_KEY_get0_public_key(ec_key.get()); in TestKAS()
/external/boringssl/src/crypto/fipsmodule/ecdsa/
Decdsa_test.cc100 bssl::UniquePtr<EC_POINT> g(EC_POINT_new(group.get())); in NewSecp160r1Group()
348 bssl::UniquePtr<EC_POINT> g(EC_POINT_new(ret.get())); in MakeCustomClone()
392 bssl::UniquePtr<EC_POINT> pub_key(EC_POINT_new(group.get())); in TEST()
438 bssl::UniquePtr<EC_POINT> pub_key(EC_POINT_new(group.get())); in TEST()

123