/freebsd/contrib/bearssl/src/ec/ |
H A D | ec_all_m15.c | 28 api_generator(int curve, size_t *len) in api_generator() 41 api_order(int curve, size_t *len) in api_order() 54 api_xoff(int curve, size_t *len) in api_xoff() 68 const unsigned char *kb, size_t kblen, int curve) in api_mul() 82 const unsigned char *x, size_t xlen, int curve) in api_mulgen() 97 const unsigned char *y, size_t ylen, int curve) in api_muladd()
|
H A D | ec_all_m31.c | 28 api_generator(int curve, size_t *len) in api_generator() 49 api_order(int curve, size_t *len) in api_order() 70 api_xoff(int curve, size_t *len) in api_xoff() 92 const unsigned char *kb, size_t kblen, int curve) in api_mul() 114 const unsigned char *x, size_t xlen, int curve) in api_mulgen() 137 const unsigned char *y, size_t ylen, int curve) in api_muladd()
|
H A D | ec_c25519_i15.c | 92 api_generator(int curve, size_t *len) in api_generator() 100 api_order(int curve, size_t *len) in api_order() 108 api_xoff(int curve, size_t *len) in api_xoff() 180 const unsigned char *kb, size_t kblen, int curve) in api_mul() 357 const unsigned char *x, size_t xlen, int curve) in api_mulgen() 371 const unsigned char *y, size_t ylen, int curve) in api_muladd()
|
H A D | ec_c25519_i31.c | 89 api_generator(int curve, size_t *len) in api_generator() 97 api_order(int curve, size_t *len) in api_order() 105 api_xoff(int curve, size_t *len) in api_xoff() 177 const unsigned char *kb, size_t kblen, int curve) in api_mul() 349 const unsigned char *x, size_t xlen, int curve) in api_mulgen() 363 const unsigned char *y, size_t ylen, int curve) in api_muladd()
|
H A D | ec_c25519_m62.c | 48 api_generator(int curve, size_t *len) in api_generator() 56 api_order(int curve, size_t *len) in api_order() 64 api_xoff(int curve, size_t *len) in api_xoff() 377 const unsigned char *kb, size_t kblen, int curve) in api_mul() 546 const unsigned char *x, size_t xlen, int curve) in api_mulgen() 560 const unsigned char *y, size_t ylen, int curve) in api_muladd()
|
H A D | ec_c25519_m64.c | 48 api_generator(int curve, size_t *len) in api_generator() 56 api_order(int curve, size_t *len) in api_order() 64 api_xoff(int curve, size_t *len) in api_xoff() 621 const unsigned char *kb, size_t kblen, int curve) in api_mul() 772 const unsigned char *x, size_t xlen, int curve) in api_mulgen() 786 const unsigned char *y, size_t ylen, int curve) in api_muladd()
|
H A D | ec_prime_i15.c | 115 id_to_curve(int curve) in id_to_curve() 686 id_to_curve_def(int curve) in id_to_curve_def() 700 api_generator(int curve, size_t *len) in api_generator() 710 api_order(int curve, size_t *len) in api_order() 720 api_xoff(int curve, size_t *len) in api_xoff() 729 const unsigned char *x, size_t xlen, int curve) in api_mul() 747 const unsigned char *x, size_t xlen, int curve) in api_mulgen() 761 const unsigned char *y, size_t ylen, int curve) in api_muladd()
|
H A D | ec_prime_i31.c | 114 id_to_curve(int curve) in id_to_curve() 688 id_to_curve_def(int curve) in id_to_curve_def() 702 api_generator(int curve, size_t *len) in api_generator() 712 api_order(int curve, size_t *len) in api_order() 722 api_xoff(int curve, size_t *len) in api_xoff() 731 const unsigned char *x, size_t xlen, int curve) in api_mul() 749 const unsigned char *x, size_t xlen, int curve) in api_mulgen() 763 const unsigned char *y, size_t ylen, int curve) in api_muladd()
|
H A D | ec_c25519_m31.c | 581 api_generator(int curve, size_t *len) in api_generator() 589 api_order(int curve, size_t *len) in api_order() 597 api_xoff(int curve, size_t *len) in api_xoff() 623 const unsigned char *kb, size_t kblen, int curve) in api_mul() 759 const unsigned char *x, size_t xlen, int curve) in api_mulgen() 773 const unsigned char *y, size_t ylen, int curve) in api_muladd()
|
H A D | ec_c25519_m15.c | 1259 api_generator(int curve, size_t *len) in api_generator() 1267 api_order(int curve, size_t *len) in api_order() 1275 api_xoff(int curve, size_t *len) in api_xoff() 1301 const unsigned char *kb, size_t kblen, int curve) in api_mul() 1437 const unsigned char *x, size_t xlen, int curve) in api_mulgen() 1451 const unsigned char *y, size_t ylen, int curve) in api_muladd()
|
H A D | ec_p256_m64.c | 51 api_generator(int curve, size_t *len) in api_generator() 59 api_order(int curve, size_t *len) in api_order() 67 api_xoff(int curve, size_t *len) in api_xoff() 1652 const unsigned char *k, size_t klen, int curve) in api_mul() 1670 const unsigned char *k, size_t klen, int curve) in api_mulgen() 1683 const unsigned char *y, size_t ylen, int curve) in api_muladd()
|
H A D | ec_pubkey.c | 66 int curve; in br_ec_compute_pub() local
|
H A D | ec_p256_m15.c | 2011 api_generator(int curve, size_t *len) in api_generator() 2019 api_order(int curve, size_t *len) in api_order() 2027 api_xoff(int curve, size_t *len) in api_xoff() 2036 const unsigned char *x, size_t xlen, int curve) in api_mul() 2054 const unsigned char *x, size_t xlen, int curve) in api_mulgen() 2068 const unsigned char *y, size_t ylen, int curve) in api_muladd()
|
H A D | ec_p256_m31.c | 1356 api_generator(int curve, size_t *len) in api_generator() 1364 api_order(int curve, size_t *len) in api_order() 1372 api_xoff(int curve, size_t *len) in api_xoff() 1381 const unsigned char *x, size_t xlen, int curve) in api_mul() 1399 const unsigned char *x, size_t xlen, int curve) in api_mulgen() 1413 const unsigned char *y, size_t ylen, int curve) in api_muladd()
|
H A D | ec_p256_m62.c | 51 api_generator(int curve, size_t *len) in api_generator() 59 api_order(int curve, size_t *len) in api_order() 67 api_xoff(int curve, size_t *len) in api_xoff() 1636 const unsigned char *k, size_t klen, int curve) in api_mul() 1654 const unsigned char *k, size_t klen, int curve) in api_mulgen() 1667 const unsigned char *y, size_t ylen, int curve) in api_muladd()
|
H A D | ec_keygen.c | 31 void *kbuf, int curve) in br_ec_keygen()
|
/freebsd/crypto/libecc/src/curves/ |
H A D | aff_pt.c | 39 int aff_pt_init(aff_pt_t in, ec_shortw_crv_src_t curve) in aff_pt_init() 62 ec_shortw_crv_src_t curve, in aff_pt_init_from_coords() 102 int aff_pt_y_from_x(fp_t y1, fp_t y2, fp_src_t x, ec_shortw_crv_src_t curve) in aff_pt_y_from_x() 139 int is_on_shortw_curve(fp_src_t x, fp_src_t y, ec_shortw_crv_src_t curve, int *on_curve) in is_on_shortw_curve()
|
H A D | aff_pt_montgomery.c | 36 int aff_pt_montgomery_init(aff_pt_montgomery_t in, ec_montgomery_crv_src_t curve) in aff_pt_montgomery_init() 60 ec_montgomery_crv_src_t curve, in aff_pt_montgomery_init_from_coords() 100 int is_on_montgomery_curve(fp_src_t u, fp_src_t v, ec_montgomery_crv_src_t curve, int *on_curve) in is_on_montgomery_curve()
|
/freebsd/contrib/wpa/src/common/ |
H A D | dpp_pkex.c | 37 const struct dpp_curve_params *curve = pkex->own_bi->curve; in dpp_pkex_build_exchange_req() local 222 const struct dpp_curve_params *curve = pkex->own_bi->curve; in dpp_pkex_build_exchange_resp() local 351 const struct dpp_curve_params *curve = bi->curve; in dpp_pkex_rx_exchange_req() local 588 const struct dpp_curve_params *curve = pkex->own_bi->curve; in dpp_pkex_build_commit_reveal_req() local 705 const struct dpp_curve_params *curve = pkex->own_bi->curve; in dpp_pkex_rx_exchange_resp() local 909 const struct dpp_curve_params *curve = pkex->own_bi->curve; in dpp_pkex_build_commit_reveal_resp() local 1022 const struct dpp_curve_params *curve = pkex->own_bi->curve; in dpp_pkex_rx_commit_reveal_req() local 1203 const struct dpp_curve_params *curve = pkex->own_bi->curve; in dpp_pkex_rx_commit_reveal_resp() local
|
H A D | dpp_crypto.c | 99 static int dpp_hash_vector(const struct dpp_curve_params *curve, in dpp_hash_vector() 270 struct crypto_ec_key * dpp_gen_keypair(const struct dpp_curve_params *curve) in dpp_gen_keypair() 284 struct crypto_ec_key * dpp_set_keypair(const struct dpp_curve_params **curve, in dpp_set_keypair() 333 int dpp_keygen(struct dpp_bootstrap_info *bi, const char *curve, in dpp_keygen() 608 dpp_parse_jws_prot_hdr(const struct dpp_curve_params *curve, in dpp_parse_jws_prot_hdr() 730 const struct dpp_curve_params *curve; in dpp_process_signed_connector() local 1169 int dpp_derive_pmkid(const struct dpp_curve_params *curve, in dpp_derive_pmkid() 1422 dpp_pkex_get_role_elem(const struct dpp_curve_params *curve, int init) in dpp_pkex_get_role_elem() 1460 dpp_pkex_derive_Qi(const struct dpp_curve_params *curve, const u8 *mac_init, in dpp_pkex_derive_Qi() 1535 dpp_pkex_derive_Qr(const struct dpp_curve_params *curve, const u8 *mac_resp, in dpp_pkex_derive_Qr() [all …]
|
/freebsd/contrib/wpa/wpa_supplicant/examples/ |
H A D | dpp-qrcode.py | 75 def dpp_display(curve): argument
|
/freebsd/crypto/libecc/src/wycheproof_tests/ |
H A D | libecc_wycheproof.h | 36 const ec_str_params *curve; member 61 const ec_str_params *curve; member 87 const ec_str_params *curve; member 113 const ec_str_params *curve; member
|
/freebsd/crypto/libecc/scripts/ |
H A D | expand_libecc.py | 196 def __init__(self, curve, x, y): argument 275 def __init__(self, curve, x): argument 280 def __init__(self, curve, Y): argument 304 def genKeyPair(curve, is_eckcdsa=False): argument 570 def eckcdsa_genKeyPair(curve): argument 1066 def gen_self_test(curve, hashfunc, sig_alg_sign, sig_alg_verify, sig_alg_genkeypair, num, hashfunc_… argument 1180 def gen_self_tests(curve, num): argument
|
/freebsd/contrib/bearssl/inc/ |
H A D | bearssl_ec.h | 243 int curve; member 260 int curve; member
|
/freebsd/contrib/bearssl/tools/ |
H A D | skey.c | 408 parse_ec_spec(const char *kgen_spec, int *curve) in parse_ec_spec() 434 keygen_ec(int curve, outspec *os) in keygen_ec() 675 int curve; in do_skey() local
|