Home
last modified time | relevance | path

Searched refs:ec (Results 1 – 19 of 19) sorted by relevance

/hal_espressif-latest/components/bt/host/bluedroid/stack/smp/
Dp_256_curvepara.c30 elliptic_curve_t *ec; in p_256_init_curve() local
33 ec = &curve_p256; in p_256_init_curve()
35 ec->p[7] = 0xFFFFFFFF; in p_256_init_curve()
36 ec->p[6] = 0x00000001; in p_256_init_curve()
37 ec->p[5] = 0x0; in p_256_init_curve()
38 ec->p[4] = 0x0; in p_256_init_curve()
39 ec->p[3] = 0x0; in p_256_init_curve()
40 ec->p[2] = 0xFFFFFFFF; in p_256_init_curve()
41 ec->p[1] = 0xFFFFFFFF; in p_256_init_curve()
42 ec->p[0] = 0xFFFFFFFF; in p_256_init_curve()
[all …]
/hal_espressif-latest/components/wpa_supplicant/src/common/
Ddragonfly.c109 int dragonfly_is_quadratic_residue_blind(struct crypto_ec *ec, in dragonfly_is_quadratic_residue_blind() argument
120 prime = crypto_ec_get_prime(ec); in dragonfly_is_quadratic_residue_blind()
121 prime_len = crypto_ec_prime_len(ec); in dragonfly_is_quadratic_residue_blind()
219 int dragonfly_sqrt(struct crypto_ec *ec, const struct crypto_bignum *val, in dragonfly_sqrt() argument
230 prime = crypto_ec_get_prime(ec); in dragonfly_sqrt()
231 prime_len = crypto_ec_prime_len(ec); in dragonfly_sqrt()
Dsae.c34 tmp->ec = crypto_ec_init(group); in sae_set_group()
35 if (tmp->ec) { in sae_set_group()
39 tmp->prime_len = crypto_ec_prime_len(tmp->ec); in sae_set_group()
40 tmp->prime = crypto_ec_get_prime(tmp->ec); in sae_set_group()
41 tmp->order_len = crypto_ec_order_len(tmp->ec); in sae_set_group()
42 tmp->order = crypto_ec_get_order(tmp->ec); in sae_set_group()
91 crypto_ec_deinit(tmp->ec); in sae_clear_temp_data()
147 bits = crypto_ec_prime_len_bits(sae->tmp->ec); in sae_test_pwd_seed_ecc()
167 y_sqr = crypto_ec_point_compute_y_sqr(sae->tmp->ec, x_cand); in sae_test_pwd_seed_ecc()
172 res = dragonfly_is_quadratic_residue_blind(sae->tmp->ec, qr, qnr, in sae_test_pwd_seed_ecc()
[all …]
Ddragonfly.h23 int dragonfly_is_quadratic_residue_blind(struct crypto_ec *ec,
30 int dragonfly_sqrt(struct crypto_ec *ec, const struct crypto_bignum *val,
Dsae.h55 struct crypto_ec *ec; member
88 struct crypto_ec *ec; member
Dsae_pk.c498 if (crypto_ec_point_to_bin(tmp->ec, ap ? tmp->own_commit_element_ecc : in sae_pk_hash_sig_data()
504 if (crypto_ec_point_to_bin(tmp->ec, ap ? tmp->peer_commit_element_ecc : in sae_pk_hash_sig_data()
637 if (!tmp->ec) { in sae_check_confirm_pk()
/hal_espressif-latest/tools/esptool_py/espsecure/
D__init__.py20 from cryptography.hazmat.primitives.asymmetric import ec, padding, rsa, utils
265 if isinstance(sk, ec.EllipticCurvePrivateKey):
266 if not isinstance(sk.curve, (ec.SECP192R1, ec.SECP256R1, ec.SECP384R1)):
288 if isinstance(vk, ec.EllipticCurvePublicKey):
289 if not isinstance(vk.curve, (ec.SECP192R1, ec.SECP256R1, ec.SECP384R1)):
585 if isinstance(numbers.curve, ec.SECP192R1):
590 elif isinstance(numbers.curve, ec.SECP256R1):
595 elif isinstance(numbers.curve, ec.SECP384R1):
605 signature, digest, ec.ECDSA(utils.Prehashed(hash_type))
653 if isinstance(private_key.curve, ec.SECP192R1):
[all …]
/hal_espressif-latest/tools/esptool_py/docs/en/espefuse/
Dburn-key-digest-cmd.rst70 …= a2 cd 39 85 df 00 d7 95 07 0f f6 7c 8b ab e1 7d 39 11 95 c4 5b 37 6e 7b f0 ec 04 5e 36 30 02 5d …
166 …= a2 cd 39 85 df 00 d7 95 07 0f f6 7c 8b ab e1 7d 39 11 95 c4 5b 37 6e 7b f0 ec 04 5e 36 30 02 5d …
170 …= a3 cd 39 85 df 00 d7 95 07 0f f6 7c 8b ab e1 7d 39 11 95 c4 5b 37 6e 7b f0 ec 04 5e 36 30 02 5d …
174 …= a4 cd 39 85 df 00 d7 95 07 0f f6 7c 8b ab e1 7d 39 11 95 c4 5b 37 6e 7b f0 ec 04 5e 36 30 02 5d …
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/crypto/
Dcrypto_mbedtls-ec.c926 mbedtls_ecp_keypair *ec ) in pk_write_ec_param() argument
933 if( ( ret = mbedtls_oid_get_oid_by_ec_grp( ec->MBEDTLS_PRIVATE(grp).id, &oid, &oid_len ) ) != 0 ) in pk_write_ec_param()
942 mbedtls_ecp_keypair *ec, int format ) in pk_write_ec_pubkey_formatted() argument
948 if( ( ret = mbedtls_ecp_point_write_binary( &ec->MBEDTLS_PRIVATE(grp), &ec->MBEDTLS_PRIVATE(Q), in pk_write_ec_pubkey_formatted()
/hal_espressif-latest/tools/esptool_py/espsecure/esp_hsm_sign/
D__init__.py21 import cryptography.hazmat.primitives.asymmetric.ec as EC
/hal_espressif-latest/components/wpa_supplicant/
DCMakeLists.txt114 "esp_supplicant/src/crypto/crypto_mbedtls-ec.c")
/hal_espressif-latest/components/soc/esp32s3/include/soc/
Dusb_dwc_struct.h463 uint32_t ec: 2; member
/hal_espressif-latest/components/soc/esp32s2/include/soc/
Dusb_dwc_struct.h463 uint32_t ec: 2; member
/hal_espressif-latest/zephyr/esp32/
DCMakeLists.txt536 "${WPA_SUPPLICANT_COMPONENT_DIR}/esp_supplicant/src/crypto/crypto_mbedtls-ec.c"
/hal_espressif-latest/zephyr/esp32c2/
DCMakeLists.txt494 "${WPA_SUPPLICANT_COMPONENT_DIR}/esp_supplicant/src/crypto/crypto_mbedtls-ec.c"
/hal_espressif-latest/zephyr/esp32s2/
DCMakeLists.txt496 "${WPA_SUPPLICANT_COMPONENT_DIR}/esp_supplicant/src/crypto/crypto_mbedtls-ec.c"
/hal_espressif-latest/zephyr/esp32c3/
DCMakeLists.txt549 "${WPA_SUPPLICANT_COMPONENT_DIR}/esp_supplicant/src/crypto/crypto_mbedtls-ec.c"
/hal_espressif-latest/zephyr/esp32c6/
DCMakeLists.txt502 "${WPA_SUPPLICANT_COMPONENT_DIR}/esp_supplicant/src/crypto/crypto_mbedtls-ec.c"
/hal_espressif-latest/zephyr/esp32s3/
DCMakeLists.txt567 "${WPA_SUPPLICANT_COMPONENT_DIR}/esp_supplicant/src/crypto/crypto_mbedtls-ec.c"