Home
last modified time | relevance | path

Searched refs:crypto_ec (Results 1 – 7 of 7) sorted by relevance

/hal_espressif-latest/components/wpa_supplicant/src/crypto/
Dcrypto.h742 struct crypto_ec;
750 struct crypto_ec * crypto_ec_init(int group);
756 void crypto_ec_deinit(struct crypto_ec *e);
763 size_t crypto_ec_prime_len(struct crypto_ec *e);
770 size_t crypto_ec_prime_len_bits(struct crypto_ec *e);
777 size_t crypto_ec_order_len(struct crypto_ec *e);
784 const struct crypto_bignum * crypto_ec_get_prime(struct crypto_ec *e);
791 const struct crypto_bignum * crypto_ec_get_order(struct crypto_ec *e);
805 const struct crypto_bignum * crypto_ec_get_b(struct crypto_ec *e);
814 struct crypto_ec_point * crypto_ec_point_init(struct crypto_ec *e);
[all …]
/hal_espressif-latest/components/wpa_supplicant/src/common/
Ddragonfly.h16 struct crypto_ec;
23 int dragonfly_is_quadratic_residue_blind(struct crypto_ec *ec,
30 int dragonfly_sqrt(struct crypto_ec *ec, const struct crypto_bignum *val,
Ddragonfly.c109 int dragonfly_is_quadratic_residue_blind(struct crypto_ec *ec, in dragonfly_is_quadratic_residue_blind()
219 int dragonfly_sqrt(struct crypto_ec *ec, const struct crypto_bignum *val, in dragonfly_sqrt()
Dsae.h55 struct crypto_ec *ec;
88 struct crypto_ec *ec;
Ddpp.c83 void dpp_debug_print_point(const char *title, struct crypto_ec *e, in dpp_debug_print_point()
2075 l = crypto_ec_point_init((struct crypto_ec *)group); in dpp_auth_derive_l_responder()
2076 if (!l || (crypto_ec_point_mul((struct crypto_ec *)group, BI_point, sum, l) != 0) || in dpp_auth_derive_l_responder()
2077 (crypto_ec_get_affine_coordinates((struct crypto_ec *)group, l, lx, NULL) != 0)) { in dpp_auth_derive_l_responder()
2117 sum = crypto_ec_point_init((struct crypto_ec *)group); in dpp_auth_derive_l_initiator()
2118 l = crypto_ec_point_init((struct crypto_ec *)group); in dpp_auth_derive_l_initiator()
2120 crypto_ec_point_add((struct crypto_ec *)group, BR_point, PR_point, sum) != 0 || in dpp_auth_derive_l_initiator()
2121 crypto_ec_point_mul((struct crypto_ec *)group, sum, bI_bn, l) != 0 || in dpp_auth_derive_l_initiator()
2122 crypto_ec_get_affine_coordinates((struct crypto_ec *)group, l, lx, NULL) != 0) { in dpp_auth_derive_l_initiator()
4741 crypto_ec_deinit((struct crypto_ec *)group); in dpp_parse_jwk()
Dsae.c573 static struct crypto_ec_point * sswu(struct crypto_ec *ec, int group, in sswu()
818 sae_derive_pt_ecc(struct crypto_ec *ec, int group, in sae_derive_pt_ecc()
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/crypto/
Dcrypto_mbedtls-ec.c39 struct crypto_ec { struct
48 struct crypto_ec *crypto_ec_init(int group) in crypto_ec_init() argument
50 struct crypto_ec *e; in crypto_ec_init()
82 void crypto_ec_deinit(struct crypto_ec *e) in crypto_ec_deinit()
93 struct crypto_ec_point *crypto_ec_point_init(struct crypto_ec *e) in crypto_ec_point_init()
112 size_t crypto_ec_prime_len(struct crypto_ec *e) in crypto_ec_prime_len()
117 size_t crypto_ec_order_len(struct crypto_ec *e) in crypto_ec_order_len()
123 size_t crypto_ec_prime_len_bits(struct crypto_ec *e) in crypto_ec_prime_len_bits()
129 struct crypto_ec *e; in crypto_ec_get_group_byname()
147 const struct crypto_bignum *crypto_ec_get_prime(struct crypto_ec *e) in crypto_ec_get_prime()
[all …]