/external/boringssl/src/include/openssl/ |
D | ec.h | 128 OPENSSL_EXPORT const EC_POINT *EC_GROUP_get0_generator(const EC_GROUP *group); 160 OPENSSL_EXPORT EC_POINT *EC_POINT_new(const EC_GROUP *group); 163 OPENSSL_EXPORT void EC_POINT_free(EC_POINT *point); 167 OPENSSL_EXPORT void EC_POINT_clear_free(EC_POINT *point); 171 OPENSSL_EXPORT int EC_POINT_copy(EC_POINT *dest, const EC_POINT *src); 175 OPENSSL_EXPORT EC_POINT *EC_POINT_dup(const EC_POINT *src, 181 EC_POINT *point); 186 const EC_POINT *point); 192 const EC_POINT *point, BN_CTX *ctx); 196 OPENSSL_EXPORT int EC_POINT_cmp(const EC_GROUP *group, const EC_POINT *a, [all …]
|
D | ec_key.h | 131 OPENSSL_EXPORT const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); 135 OPENSSL_EXPORT int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub);
|
/external/boringssl/src/crypto/fipsmodule/ec/ |
D | internal.h | 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, 97 const EC_POINT *p, const BIGNUM *p_scalar, BN_CTX *ctx); 117 EC_POINT *generator; 155 int ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar, 156 const EC_POINT *p, const BIGNUM *p_scalar, BN_CTX *ctx); 167 int ec_GFp_simple_point_init(EC_POINT *); 168 void ec_GFp_simple_point_finish(EC_POINT *); 169 void ec_GFp_simple_point_clear_finish(EC_POINT *); 170 int ec_GFp_simple_point_copy(EC_POINT *, const EC_POINT *); [all …]
|
D | ec.c | 386 int EC_GROUP_set_generator(EC_GROUP *group, const EC_POINT *generator, in EC_GROUP_set_generator() 410 EC_POINT *P = NULL; in ec_group_new_from_data() 564 const EC_POINT *EC_GROUP_get0_generator(const EC_GROUP *group) { in EC_GROUP_get0_generator() 597 EC_POINT *EC_POINT_new(const EC_GROUP *group) { in EC_POINT_new() 598 EC_POINT *ret; in EC_POINT_new() 621 void EC_POINT_free(EC_POINT *point) { in EC_POINT_free() 631 void EC_POINT_clear_free(EC_POINT *point) { in EC_POINT_clear_free() 642 int EC_POINT_copy(EC_POINT *dest, const EC_POINT *src) { in EC_POINT_copy() 653 EC_POINT *EC_POINT_dup(const EC_POINT *a, const EC_GROUP *group) { in EC_POINT_dup() 658 EC_POINT *ret = EC_POINT_new(group); in EC_POINT_dup() [all …]
|
D | ec_test.cc | 141 const EC_POINT *pub_key = EC_KEY_get0_public_key(key.get()); in TEST() 250 bssl::UniquePtr<EC_POINT> generator(EC_POINT_new(group.get())); in TEST() 263 bssl::UniquePtr<EC_POINT> point(EC_POINT_new(group.get())); in TEST() 302 auto point = bssl::UniquePtr<EC_POINT>(EC_POINT_new(group)); in TEST_P() 311 bssl::UniquePtr<EC_POINT> invalid_point(EC_POINT_new(group)); in TEST_P() 331 bssl::UniquePtr<EC_POINT> p1(EC_POINT_new(group)); in TEST_P() 335 bssl::UniquePtr<EC_POINT> p2(EC_POINT_new(group)); in TEST_P() 339 bssl::UniquePtr<EC_POINT> double_p1(EC_POINT_new(group)); in TEST_P() 345 bssl::UniquePtr<EC_POINT> p1_plus_p2(EC_POINT_new(group)); in TEST_P() 359 bssl::UniquePtr<EC_POINT> point(EC_POINT_new(group.get())); in TEST_P() [all …]
|
D | wnaf.c | 241 int ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar, in ec_wNAF_mul() 242 const EC_POINT *p, const BIGNUM *p_scalar, BN_CTX *ctx) { in ec_wNAF_mul() 244 const EC_POINT *generator = NULL; in ec_wNAF_mul() 245 EC_POINT *tmp = NULL; in ec_wNAF_mul() 256 EC_POINT **val = NULL; /* precomputation */ in ec_wNAF_mul() 257 EC_POINT **v; in ec_wNAF_mul() 258 EC_POINT ***val_sub = NULL; /* pointers to sub-arrays of 'val' */ in ec_wNAF_mul() 272 const EC_POINT **points = p != NULL ? &p : NULL; in ec_wNAF_mul()
|
D | simple.c | 238 int ec_GFp_simple_point_init(EC_POINT *point) { in ec_GFp_simple_point_init() 246 void ec_GFp_simple_point_finish(EC_POINT *point) { in ec_GFp_simple_point_finish() 252 void ec_GFp_simple_point_clear_finish(EC_POINT *point) { in ec_GFp_simple_point_clear_finish() 258 int ec_GFp_simple_point_copy(EC_POINT *dest, const EC_POINT *src) { in ec_GFp_simple_point_copy() 269 EC_POINT *point) { in ec_GFp_simple_point_set_to_infinity() 291 const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, const BIGNUM *y, in ec_GFp_simple_set_Jprojective_coordinates_GFp() 317 const EC_POINT *point, in ec_GFp_simple_get_Jprojective_coordinates_GFp() 360 EC_POINT *point, const BIGNUM *x, in ec_GFp_simple_point_set_affine_coordinates() 372 int ec_GFp_simple_add(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, in ec_GFp_simple_add() 373 const EC_POINT *b, BN_CTX *ctx) { in ec_GFp_simple_add() [all …]
|
D | oct.c | 77 const EC_POINT *point, in ec_GFp_simple_point2oct() 171 static int ec_GFp_simple_oct2point(const EC_GROUP *group, EC_POINT *point, in ec_GFp_simple_oct2point() 252 int EC_POINT_oct2point(const EC_GROUP *group, EC_POINT *point, in EC_POINT_oct2point() 261 size_t EC_POINT_point2oct(const EC_GROUP *group, const EC_POINT *point, in EC_POINT_point2oct() 272 EC_POINT *point, const BIGNUM *x, in ec_GFp_simple_set_compressed_coordinates() 397 EC_POINT *point, const BIGNUM *x, in EC_POINT_set_compressed_coordinates_GFp()
|
D | ec_key.c | 268 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key) { in EC_KEY_get0_public_key() 272 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub_key) { in EC_KEY_set_public_key() 295 EC_POINT *point = NULL; in EC_KEY_check_key() 379 EC_POINT *point = NULL; in EC_KEY_set_public_key_affine_coordinates() 438 EC_POINT *pub_key = NULL; in EC_KEY_generate_key()
|
/external/openssh/ |
D | bufec.c | 33 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()
|
D | 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 *);
|
D | packet.h | 28 # 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
|
D | sshkey.h | 39 # 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
|
D | kex.h | 43 # 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
|
D | sshbuf-getput-crypto.c | 76 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()
|
D | kexecdh.c | 58 const EC_POINT *client_dh_pub, in kex_ecdh_hash() 59 const EC_POINT *server_dh_pub, in kex_ecdh_hash()
|
D | kexecdhs.c | 65 EC_POINT *client_public; in input_kex_ecdh_init() 68 const EC_POINT *public_key; in input_kex_ecdh_init()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLECPointContext.java | 24 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()
|
D | NativeRef.java | 72 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/ |
D | crypto_openssl.c | 1487 EC_POINT_clear_free((EC_POINT *) p); in crypto_ec_point_deinit() 1489 EC_POINT_free((EC_POINT *) p); in crypto_ec_point_deinit() 1507 EC_POINT_get_affine_coordinates_GFp(e->group, (EC_POINT *) point, in crypto_ec_point_to_bin() 1530 EC_POINT *elem; in crypto_ec_point_from_bin() 1565 return EC_POINT_add(e->group, (EC_POINT *) c, (const EC_POINT *) a, in crypto_ec_point_add() 1566 (const EC_POINT *) b, e->bnctx) ? 0 : -1; in crypto_ec_point_add() 1576 return EC_POINT_mul(e->group, (EC_POINT *) res, NULL, in crypto_ec_point_mul() 1577 (const EC_POINT *) p, (const BIGNUM *) b, e->bnctx) in crypto_ec_point_mul() 1586 return EC_POINT_invert(e->group, (EC_POINT *) p, e->bnctx) ? 0 : -1; in crypto_ec_point_invert() 1596 if (!EC_POINT_set_compressed_coordinates_GFp(e->group, (EC_POINT *) p, in crypto_ec_point_solve_y_coord() [all …]
|
/external/tpm2/ |
D | CpriECC.c | 105 EC_POINT *ecP, // IN: the point to convert in Point2B() 149 EC_POINT *P = NULL; in EccCurveInit() 207 static EC_POINT * 210 EC_POINT *ecP, // IN: an existing BN point in the group in PointFrom2B() 240 static EC_POINT * 247 EC_POINT *ecP; in EccInitPoint2B() 269 EC_POINT *ecpQ, // OUT: result in PointMul() 271 EC_POINT *ecpP, // IN: point for [B]P in PointMul() 355 EC_POINT *R = NULL; in _cpri__EccPointMultiply() 356 EC_POINT *Q = NULL; in _cpri__EccPointMultiply() [all …]
|
/external/boringssl/src/crypto/ecdh/ |
D | ecdh.c | 80 int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, in ECDH_compute_key() 101 EC_POINT *tmp = EC_POINT_new(group); in ECDH_compute_key()
|
D | ecdh_test.cc | 84 bssl::UniquePtr<EC_POINT> pub_key(EC_POINT_new(group.get())); in TEST() 86 bssl::UniquePtr<EC_POINT> peer_pub_key(EC_POINT_new(group.get())); in TEST()
|
/external/boringssl/src/crypto/evp/ |
D | p_ec_asn1.c | 71 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/ssl/ |
D | ssl_ecdh.cc | 57 bssl::UniquePtr<EC_POINT> public_key(EC_POINT_new(group.get())); in ssl_ec_point_offer() 90 bssl::UniquePtr<EC_POINT> peer_point(EC_POINT_new(group.get())); in ssl_ec_point_finish() 91 bssl::UniquePtr<EC_POINT> result(EC_POINT_new(group.get())); in ssl_ec_point_finish()
|