/hal_espressif-3.7.0/components/bt/esp_ble_mesh/mesh_common/tinycrypt/src/ |
D | ecc_dh.c | 69 int uECC_make_key_with_d(uint8_t *public_key, uint8_t *private_key, in uECC_make_key_with_d() argument 88 uECC_vli_nativeToBytes(public_key, in uECC_make_key_with_d() 91 uECC_vli_nativeToBytes(public_key + curve->num_bytes, in uECC_make_key_with_d() 103 int uECC_make_key(uint8_t *public_key, uint8_t *private_key, uECC_Curve curve) in uECC_make_key() argument 129 uECC_vli_nativeToBytes(public_key, in uECC_make_key() 132 uECC_vli_nativeToBytes(public_key + curve->num_bytes, in uECC_make_key() 145 int uECC_shared_secret(const uint8_t *public_key, const uint8_t *private_key, in uECC_shared_secret() argument 165 public_key, in uECC_shared_secret() 168 public_key + num_bytes, in uECC_shared_secret()
|
D | ecc_dsa.c | 191 int uECC_verify(const uint8_t *public_key, const uint8_t *message_hash, in uECC_verify() argument 218 uECC_vli_bytesToNative(_public, public_key, curve->num_bytes); in uECC_verify() 219 uECC_vli_bytesToNative(_public + num_words, public_key + curve->num_bytes, in uECC_verify()
|
D | ecc.c | 890 int uECC_valid_public_key(const uint8_t *public_key, uECC_Curve curve) in uECC_valid_public_key() argument 895 uECC_vli_bytesToNative(_public, public_key, curve->num_bytes); in uECC_valid_public_key() 898 public_key + curve->num_bytes, in uECC_valid_public_key() 908 int uECC_compute_public_key(const uint8_t *private_key, uint8_t *public_key, in uECC_compute_public_key() argument 934 uECC_vli_nativeToBytes(public_key, curve->num_bytes, _public); in uECC_compute_public_key() 936 public_key + in uECC_compute_public_key()
|
/hal_espressif-3.7.0/components/bt/porting/ext/tinycrypt/src/ |
D | ecc_dh.c | 68 int uECC_make_key_with_d(uint8_t *public_key, uint8_t *private_key, in uECC_make_key_with_d() argument 87 uECC_vli_nativeToBytes(public_key, in uECC_make_key_with_d() 90 uECC_vli_nativeToBytes(public_key + curve->num_bytes, in uECC_make_key_with_d() 102 int uECC_make_key(uint8_t *public_key, uint8_t *private_key, uECC_Curve curve) in uECC_make_key() argument 128 uECC_vli_nativeToBytes(public_key, in uECC_make_key() 131 uECC_vli_nativeToBytes(public_key + curve->num_bytes, in uECC_make_key() 144 int uECC_shared_secret(const uint8_t *public_key, const uint8_t *private_key, in uECC_shared_secret() argument 164 public_key, in uECC_shared_secret() 167 public_key + num_bytes, in uECC_shared_secret()
|
D | ecc_dsa.c | 192 int uECC_verify(const uint8_t *public_key, const uint8_t *message_hash, in uECC_verify() argument 219 uECC_vli_bytesToNative(_public, public_key, curve->num_bytes); in uECC_verify() 220 uECC_vli_bytesToNative(_public + num_words, public_key + curve->num_bytes, in uECC_verify()
|
D | ecc.c | 890 int uECC_valid_public_key(const uint8_t *public_key, uECC_Curve curve) in uECC_valid_public_key() argument 895 uECC_vli_bytesToNative(_public, public_key, curve->num_bytes); in uECC_valid_public_key() 898 public_key + curve->num_bytes, in uECC_valid_public_key() 908 int uECC_compute_public_key(const uint8_t *private_key, uint8_t *public_key, in uECC_compute_public_key() argument 934 uECC_vli_nativeToBytes(public_key, curve->num_bytes, _public); in uECC_compute_public_key() 936 public_key + in uECC_compute_public_key()
|
/hal_espressif-3.7.0/tools/esptool_py/espsecure/esp_hsm_sign/ |
D | __init__.py | 98 public_key = session.get_key( 102 if public_key.key_type == pkcs11.mechanisms.KeyType.RSA: 103 exponent = public_key[pkcs11.Attribute.PUBLIC_EXPONENT] 104 modulus = public_key[pkcs11.Attribute.MODULUS] 107 public_key = RSA.RSAPublicNumbers(e, n).public_key() 109 elif public_key.key_type == pkcs11.mechanisms.KeyType.EC: 111 public_key[pkcs11.Attribute.EC_POINT] 113 public_key = EC.EllipticCurvePublicKey.from_encoded_point( 122 return public_key
|
/hal_espressif-3.7.0/components/bt/test/ |
D | test_smp.c | 92 Point public_key; variable 95 ECC_PointMult_Bin_NAF(&public_key, &(curve_p256.G), private_key, KEY_LENGTH_DWORDS_P256); 97 TEST_ASSERT(ECC_CheckPointIsInElliCur_P256(&public_key)); 100 public_key.y[i] = 0x0; 103 TEST_ASSERT(!ECC_CheckPointIsInElliCur_P256(&public_key)); 109 ECC_PointMult_Bin_NAF(&public_key, &(curve_p256.G), private_key, KEY_LENGTH_DWORDS_P256); 111 TEST_ASSERT(ECC_CheckPointIsInElliCur_P256(&public_key));
|
/hal_espressif-3.7.0/components/bootloader/subproject/components/micro-ecc/ |
D | uECC_verify_antifault.c | 17 int uECC_verify_antifault(const uint8_t *public_key, in uECC_verify_antifault() argument 36 uECC_word_t *_public = (uECC_word_t *)public_key; in uECC_verify_antifault() 52 uECC_vli_bytesToNative(_public, public_key, curve->num_bytes); in uECC_verify_antifault() 54 _public + num_words, public_key + curve->num_bytes, curve->num_bytes); in uECC_verify_antifault()
|
D | uECC_verify_antifault.h | 15 int uECC_verify_antifault(const uint8_t *public_key,
|
/hal_espressif-3.7.0/tools/esptool_py/espsecure/ |
D | __init__.py | 307 return _load_sbv2_signing_key(key_data).public_key() 318 def _get_sbv2_rsa_primitives(public_key): argument 320 numbers = public_key.public_numbers() 328 rr = 1 << (public_key.key_size * 2) 567 public_key = _get_sbv2_pub_key(pk) 569 if isinstance(public_key, rsa.RSAPublicKey): 571 rsa_primitives = _get_sbv2_rsa_primitives(public_key) 573 public_key.verify( 585 numbers = public_key.public_numbers() 596 public_key.verify( [all …]
|
/hal_espressif-3.7.0/components/wpa_supplicant/src/wps/ |
D | wps_attr_parse.h | 66 const u8 *public_key; member
|
D | wps_validate.c | 612 static int wps_validate_public_key(const u8 *public_key, size_t len, in wps_validate_public_key() argument 615 if (public_key == NULL) { in wps_validate_public_key() 1409 wps_validate_public_key(attr->public_key, attr->public_key_len, 1) || in wps_validate_m1() 1483 wps_validate_public_key(attr->public_key, attr->public_key_len, 1) || in wps_validate_m2()
|
/hal_espressif-3.7.0/components/bt/porting/ext/tinycrypt/include/tinycrypt/ |
D | ecc.h | 267 uint8_t *public_key, uECC_Curve curve); 521 int uECC_valid_public_key(const uint8_t *public_key, uECC_Curve curve);
|
/hal_espressif-3.7.0/components/bt/esp_ble_mesh/mesh_common/tinycrypt/include/tinycrypt/ |
D | ecc.h | 267 uint8_t *public_key, uECC_Curve curve); 521 int uECC_valid_public_key(const uint8_t *public_key, uECC_Curve curve);
|
/hal_espressif-3.7.0/tools/esptool_py/docs/en/espsecure/ |
D | index.rst | 30 … sign_data --version 2 --hsm --hsm-config <hsm_config_file> --pub-key <public_key> --output <signe… 44 python espsecure.py verify_signature --version 2 --keyfile <public_key> <signed_image>
|
/hal_espressif-3.7.0/components/wpa_supplicant/src/tls/ |
D | x509v3.h | 63 u8 *public_key; member
|
D | x509v3.c | 56 os_free(cert->public_key); in x509_certificate_free() 270 os_free(cert->public_key); in x509_parse_public_key() 271 cert->public_key = os_memdup(pos + 1, hdr.length - 1); in x509_parse_public_key() 272 if (cert->public_key == NULL) { in x509_parse_public_key() 279 cert->public_key, cert->public_key_len); in x509_parse_public_key() 1865 pk = crypto_public_key_import(issuer->public_key, in x509_check_signature()
|
D | tlsv1_client_ocsp.c | 55 const u8 *addr[1] = { signer->public_key }; in ocsp_responder_id_match() 197 hash_len = ocsp_hash_data(&alg.oid, issuer->public_key, in tls_process_ocsp_single_response()
|
/hal_espressif-3.7.0/components/mbedtls/esp_crt_bundle/ |
D | gen_crt_bundle.py | 127 pub_key = crt.public_key()
|
/hal_espressif-3.7.0/components/esp_hw_support/test_apps/security_support/esp_hw_support_unity_tests/main/ |
D | gen_digital_signature_tests.py | 116 pub_numbers = private_key.public_key().public_numbers()
|
/hal_espressif-3.7.0/components/wpa_supplicant/esp_supplicant/src/crypto/ |
D | crypto_mbedtls-ec.c | 1106 struct wpabuf *public_key = NULL; in crypto_ecdh_get_pubkey() local 1119 public_key = wpabuf_alloc_copy(buf, 32); in crypto_ecdh_get_pubkey() 1121 return public_key; in crypto_ecdh_get_pubkey()
|
/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/smp/ |
D | smp_keys.c | 1121 Point public_key; in smp_process_private_key() local 1135 ECC_PointMult(&public_key, &(curve_p256.G), (DWORD *) private_key, KEY_LENGTH_DWORDS_P256); in smp_process_private_key() 1136 memcpy(p_cb->loc_publ_key.x, public_key.x, BT_OCTET32_LEN); in smp_process_private_key() 1137 memcpy(p_cb->loc_publ_key.y, public_key.y, BT_OCTET32_LEN); in smp_process_private_key()
|
/hal_espressif-3.7.0/components/bt/controller/esp32c2/ |
D | bt.c | 1142 static int mbedtls_gen_keypair(uint8_t *public_key, uint8_t *private_key) in mbedtls_gen_keypair() argument 1174 memcpy(public_key, &pub[1], 64); in mbedtls_gen_keypair()
|
/hal_espressif-3.7.0/components/bt/esp_ble_mesh/mesh_core/bluedroid_host/ |
D | mesh_bearer_adapt.c | 1798 Point public_key = {0}; in bt_mesh_pub_key_get() local 1819 ECC_PointMult(&public_key, &(curve_p256.G), (DWORD *)private_key, KEY_LENGTH_DWORDS_P256); in bt_mesh_pub_key_get() 1821 memcpy(bt_mesh_public_key, public_key.x, BT_OCTET32_LEN); in bt_mesh_pub_key_get() 1822 memcpy(bt_mesh_public_key + BT_OCTET32_LEN, public_key.y, BT_OCTET32_LEN); in bt_mesh_pub_key_get()
|