/dragonfly/crypto/libressl/crypto/ec/ |
H A D | ec_lcl.h | 125 int (*point_copy)(EC_POINT *, const EC_POINT *); 154 int (*add)(const EC_GROUP *, EC_POINT *r, const EC_POINT *a, const EC_POINT *b, BN_CTX *); 155 int (*dbl)(const EC_GROUP *, EC_POINT *r, const EC_POINT *a, BN_CTX *); 161 int (*point_cmp)(const EC_GROUP *, const EC_POINT *a, const EC_POINT *b, BN_CTX *); 259 EC_POINT *pub_key; 323 int ec_GFp_simple_point_copy(EC_POINT *, const EC_POINT *); 339 int ec_GFp_simple_add(const EC_GROUP *, EC_POINT *r, const EC_POINT *a, const EC_POINT *b, BN_CTX *… 340 int ec_GFp_simple_dbl(const EC_GROUP *, EC_POINT *r, const EC_POINT *a, BN_CTX *); 390 int ec_GF2m_simple_point_copy(EC_POINT *, const EC_POINT *); 402 int ec_GF2m_simple_add(const EC_GROUP *, EC_POINT *r, const EC_POINT *a, const EC_POINT *b, BN_CTX … [all …]
|
H A D | ec_lib.c | 398 const EC_POINT * 827 EC_POINT * 830 EC_POINT *ret; in EC_POINT_new() 856 EC_POINT_free(EC_POINT * point) in EC_POINT_free() 882 EC_POINT_copy(EC_POINT * dest, const EC_POINT * src) in EC_POINT_copy() 898 EC_POINT * 901 EC_POINT *t; in EC_POINT_dup() 1055 EC_POINT_add(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, in EC_POINT_add() 1056 const EC_POINT *b, BN_CTX *ctx) in EC_POINT_add() 1071 EC_POINT_dbl(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, BN_CTX *ctx) in EC_POINT_dbl() [all …]
|
H A D | ec_print.c | 60 EC_POINT_point2bn(const EC_GROUP * group, const EC_POINT * point, in EC_POINT_point2bn() 85 EC_POINT * 87 const BIGNUM * bn, EC_POINT * point, BN_CTX * ctx) in EC_POINT_bn2point() 91 EC_POINT *ret; in EC_POINT_bn2point() 125 EC_POINT_point2hex(const EC_GROUP * group, const EC_POINT * point, in EC_POINT_point2hex() 163 EC_POINT * 165 EC_POINT * point, BN_CTX * ctx) in EC_POINT_hex2point() 167 EC_POINT *ret = NULL; in EC_POINT_hex2point()
|
H A D | ec2_smpl.c | 317 ec_GF2m_simple_point_init(EC_POINT * point) in ec_GF2m_simple_point_init() 328 ec_GF2m_simple_point_finish(EC_POINT * point) in ec_GF2m_simple_point_finish() 338 ec_GF2m_simple_point_clear_finish(EC_POINT * point) in ec_GF2m_simple_point_clear_finish() 349 ec_GF2m_simple_point_copy(EC_POINT * dest, const EC_POINT * src) in ec_GF2m_simple_point_copy() 409 const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx) in ec_GF2m_simple_point_get_affine_coordinates() 441 ec_GF2m_simple_add(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, in ec_GF2m_simple_add() 442 const EC_POINT *b, BN_CTX *ctx) in ec_GF2m_simple_add() 561 ec_GF2m_simple_dbl(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, in ec_GF2m_simple_dbl() 657 ec_GF2m_simple_cmp(const EC_GROUP *group, const EC_POINT *a, in ec_GF2m_simple_cmp() 658 const EC_POINT *b, BN_CTX *ctx) in ec_GF2m_simple_cmp() [all …]
|
H A D | ec_mult.c | 149 EC_POINT **p; in ec_pre_comp_free() 172 EC_POINT **p; in ec_pre_comp_clear_free() 339 const EC_POINT *generator = NULL; in ec_wNAF_mul() 340 EC_POINT *tmp = NULL; in ec_wNAF_mul() 354 EC_POINT **val = NULL; /* precomputation */ in ec_wNAF_mul() 355 EC_POINT **v; in ec_wNAF_mul() 517 EC_POINT **tmp_points; in ec_wNAF_mul() 727 const EC_POINT *generator; in ec_wNAF_precompute_mult() 728 EC_POINT *tmp_point = NULL, *base = NULL, **var; in ec_wNAF_precompute_mult() 733 EC_POINT **points = NULL; in ec_wNAF_precompute_mult() [all …]
|
H A D | ecp_smpl.c | 363 ec_GFp_simple_point_init(EC_POINT * point) in ec_GFp_simple_point_init() 375 ec_GFp_simple_point_finish(EC_POINT * point) in ec_GFp_simple_point_finish() 384 ec_GFp_simple_point_clear_finish(EC_POINT * point) in ec_GFp_simple_point_clear_finish() 394 ec_GFp_simple_point_copy(EC_POINT * dest, const EC_POINT * src) in ec_GFp_simple_point_copy() 638 ec_GFp_simple_add(const EC_GROUP * group, EC_POINT * r, const EC_POINT * a, const EC_POINT * b, BN_… in ec_GFp_simple_add() 827 ec_GFp_simple_dbl(const EC_GROUP * group, EC_POINT * r, const EC_POINT * a, BN_CTX * ctx) in ec_GFp_simple_dbl() 1090 ec_GFp_simple_cmp(const EC_GROUP * group, const EC_POINT * a, const EC_POINT * b, BN_CTX * ctx) in ec_GFp_simple_cmp() 1359 EC_POINT *p = points[i]; in ec_GFp_simple_points_make_affine() 1514 const EC_POINT *point, BN_CTX *ctx) in ec_GFp_simple_mul_ct() 1517 EC_POINT *s = NULL; in ec_GFp_simple_mul_ct() [all …]
|
H A D | ec_oct.c | 74 EC_POINT_set_compressed_coordinates(const EC_GROUP *group, EC_POINT *point, in EC_POINT_set_compressed_coordinates() 112 EC_POINT_set_compressed_coordinates_GFp(const EC_GROUP *group, EC_POINT *point, in EC_POINT_set_compressed_coordinates_GFp() 120 EC_POINT_set_compressed_coordinates_GF2m(const EC_GROUP *group, EC_POINT *point, in EC_POINT_set_compressed_coordinates_GF2m() 128 EC_POINT_point2oct(const EC_GROUP *group, const EC_POINT *point, in EC_POINT_point2oct() 160 EC_POINT_oct2point(const EC_GROUP *group, EC_POINT *point, in EC_POINT_oct2point()
|
H A D | ec2_mult.c | 263 ec_GF2m_montgomery_point_multiply(const EC_GROUP *group, EC_POINT *r, in ec_GF2m_montgomery_point_multiply() 264 const BIGNUM *scalar, const EC_POINT *point, BN_CTX *ctx) in ec_GF2m_montgomery_point_multiply() 375 ec_GF2m_simple_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, in ec_GF2m_simple_mul() 376 size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx) in ec_GF2m_simple_mul() 381 EC_POINT *p = NULL; in ec_GF2m_simple_mul() 382 EC_POINT *acc = NULL; in ec_GF2m_simple_mul()
|
H A D | ec_kmeth.c | 214 int (*set_public)(EC_KEY *key, const EC_POINT *pub_key)) in EC_KEY_METHOD_set_init() 232 int (*ckey)(void *out, size_t outlen, const EC_POINT *pub_key, EC_KEY *ecdh, in EC_KEY_METHOD_set_compute_key() 273 int (**pset_public)(EC_KEY *key, const EC_POINT *pub_key)) in EC_KEY_METHOD_get_init() 299 int (**pck)(void *out, size_t outlen, const EC_POINT *pub_key, EC_KEY *ecdh, in EC_KEY_METHOD_get_compute_key()
|
H A D | ec_key.c | 265 EC_POINT *pub_key = NULL; in ossl_ec_key_gen() 317 EC_POINT *point = NULL; in EC_KEY_check_key() 383 EC_POINT *point = NULL; in EC_KEY_set_public_key_affine_coordinates() 465 const EC_POINT * 472 EC_KEY_set_public_key(EC_KEY * key, const EC_POINT * pub_key) in EC_KEY_set_public_key()
|
H A D | ec2_oct.c | 94 ec_GF2m_simple_set_compressed_coordinates(const EC_GROUP *group, EC_POINT *point, in ec_GF2m_simple_set_compressed_coordinates() 176 ec_GF2m_simple_point2oct(const EC_GROUP *group, const EC_POINT *point, in ec_GF2m_simple_point2oct() 292 ec_GF2m_simple_oct2point(const EC_GROUP *group, EC_POINT *point, in ec_GF2m_simple_oct2point()
|
H A D | ecp_oct.c | 71 EC_POINT * point, const BIGNUM * x_, int y_bit, BN_CTX * ctx) in ec_GFp_simple_set_compressed_coordinates() 201 ec_GFp_simple_point2oct(const EC_GROUP * group, const EC_POINT * point, point_conversion_form_t for… in ec_GFp_simple_point2oct() 306 ec_GFp_simple_oct2point(const EC_GROUP * group, EC_POINT * point, in ec_GFp_simple_oct2point()
|
/dragonfly/crypto/libressl/include/openssl/ |
H A D | ec.h | 130 typedef struct ec_point_st EC_POINT; typedef 423 void EC_POINT_free(EC_POINT *point); 428 void EC_POINT_clear_free(EC_POINT *point); 435 int EC_POINT_copy(EC_POINT *dst, const EC_POINT *src); 443 EC_POINT *EC_POINT_dup(const EC_POINT *src, const EC_GROUP *group); 596 EC_POINT *, BN_CTX *); 600 EC_POINT *, BN_CTX *); 615 int EC_POINT_add(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, const EC_POINT *b, BN_CTX *… 624 int EC_POINT_dbl(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, BN_CTX *ctx); 656 int EC_POINT_cmp(const EC_GROUP *group, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx); [all …]
|
H A D | gost.h | 188 const EC_POINT * GOST_KEY_get0_public_key(const GOST_KEY * key); 189 int GOST_KEY_set_public_key(GOST_KEY * key, const EC_POINT * pub_key);
|
/dragonfly/crypto/libressl/crypto/ecdh/ |
H A D | ech_key.c | 84 static int ecdh_compute_key(void *out, size_t len, const EC_POINT *pub_key, 96 ecdh_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, in ecdh_compute_key() 101 EC_POINT *tmp = NULL; in ecdh_compute_key() 209 ossl_ecdh_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, in ossl_ecdh_compute_key() 221 ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, in ECDH_compute_key()
|
H A D | ech_locl.h | 65 int (*compute_key)(void *key, size_t outlen, const EC_POINT *pub_key, EC_KEY *ecdh,
|
/dragonfly/crypto/openssh/ |
H A D | packet.h | 28 # define EC_POINT void macro 34 # define EC_POINT void macro 194 int sshpkt_put_ec(struct ssh *ssh, const EC_POINT *v, const EC_GROUP *g); 206 int sshpkt_get_ec(struct ssh *ssh, EC_POINT *v, const EC_GROUP *g); 216 # undef EC_POINT 220 # undef EC_POINT
|
H A D | sshbuf-getput-crypto.c | 60 get_ec(const u_char *d, size_t len, EC_POINT *v, const EC_GROUP *g) in get_ec() 74 sshbuf_get_ec(struct sshbuf *buf, EC_POINT *v, const EC_GROUP *g) in sshbuf_get_ec() 97 EC_POINT *pt = EC_POINT_new(EC_KEY_get0_group(v)); in sshbuf_get_eckey() 154 sshbuf_put_ec(struct sshbuf *buf, const EC_POINT *v, const EC_GROUP *g) in sshbuf_put_ec()
|
H A D | sshkey.h | 40 # define EC_POINT void macro 49 # define EC_POINT void macro 228 int sshkey_ec_validate_public(const EC_GROUP *, const EC_POINT *); 256 void sshkey_dump_ec_point(const EC_GROUP *, const EC_POINT *); 332 # undef EC_POINT 336 # undef EC_POINT
|
H A D | kexecdh.c | 54 const EC_POINT *public_key; in kex_ecdh_keypair() 96 const EC_POINT *pub_key; in kex_ecdh_enc() 143 EC_POINT *dh_pub = NULL; in kex_ecdh_dec_key_group()
|
H A D | kex.h | 41 # define EC_POINT void macro 48 # define EC_POINT void macro 263 # undef EC_POINT
|
/dragonfly/crypto/libressl/crypto/gost/ |
H A D | gostr341001_key.c | 66 EC_POINT *pub_key; 117 EC_POINT *point = NULL; in GOST_KEY_check_key() 185 EC_POINT *point = NULL; in GOST_KEY_set_public_key_affine_coordinates() 261 const EC_POINT * 268 GOST_KEY_set_public_key(GOST_KEY *key, const EC_POINT *pub_key) in GOST_KEY_set_public_key()
|
H A D | gostr341001.c | 107 EC_POINT *pub_key = NULL; in gost2001_compute_public() 155 EC_POINT *C = NULL; in gost2001_do_sign() 257 EC_POINT *C = NULL; in gost2001_do_verify() 258 const EC_POINT *pub_key = NULL; in gost2001_do_verify() 336 const EC_POINT *pub_key = GOST_KEY_get0_public_key(pkey); in VKO_compute_key() 337 EC_POINT *pnt; in VKO_compute_key()
|
/dragonfly/contrib/wpa_supplicant/src/crypto/ |
H A D | crypto_openssl.c | 1688 EC_POINT_clear_free((EC_POINT *) p); in crypto_ec_point_deinit() 1690 EC_POINT_free((EC_POINT *) p); in crypto_ec_point_deinit() 1698 (const EC_POINT *) p, in crypto_ec_point_x() 1741 EC_POINT *elem; in crypto_ec_point_from_bin() 1776 return EC_POINT_add(e->group, (EC_POINT *) c, (const EC_POINT *) a, in crypto_ec_point_add() 1777 (const EC_POINT *) b, e->bnctx) ? 0 : -1; in crypto_ec_point_add() 1787 return EC_POINT_mul(e->group, (EC_POINT *) res, NULL, in crypto_ec_point_mul() 1865 return EC_POINT_cmp(e->group, (const EC_POINT *) a, in crypto_ec_point_cmp() 1866 (const EC_POINT *) b, e->bnctx); in crypto_ec_point_cmp() 1938 const EC_POINT *pubkey; in crypto_ecdh_get_pubkey() [all …]
|
/dragonfly/crypto/libressl/ssl/ |
H A D | ssl_kex.c | 272 EC_POINT *point = NULL; in ssl_kex_dummy_ecdhe_x25519() 333 const EC_POINT *point; in ssl_kex_public_ecdhe_ecp() 362 EC_POINT *point = NULL; in ssl_kex_peer_public_ecdhe_ecp() 392 const EC_POINT *point; in ssl_kex_derive_ecdhe_ecp()
|