/hal_espressif-latest/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 85 uECC_vli_nativeToBytes(private_key, 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 126 uECC_vli_nativeToBytes(private_key, in uECC_make_key() 145 int uECC_shared_secret(const uint8_t *public_key, const uint8_t *private_key, in uECC_shared_secret() argument 162 private_key, in uECC_shared_secret()
|
D | ecc_dsa.c | 99 int uECC_sign_with_k(const uint8_t *private_key, const uint8_t *message_hash, in uECC_sign_with_k() argument 143 uECC_vli_bytesToNative(tmp, private_key, BITS_TO_BYTES(curve->num_n_bits)); in uECC_sign_with_k() 160 int uECC_sign(const uint8_t *private_key, const uint8_t *message_hash, in uECC_sign() argument 178 if (uECC_sign_with_k(private_key, message_hash, hash_size, k, signature, in uECC_sign()
|
D | ecc.c | 791 uECC_word_t *private_key, in EccPoint_compute_public_key() argument 802 carry = regularize_k(private_key, tmp1, tmp2, curve); in EccPoint_compute_public_key() 908 int uECC_compute_public_key(const uint8_t *private_key, uint8_t *public_key, in uECC_compute_public_key() argument 917 private_key, in uECC_compute_public_key()
|
/hal_espressif-latest/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 84 uECC_vli_nativeToBytes(private_key, 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 125 uECC_vli_nativeToBytes(private_key, in uECC_make_key() 144 int uECC_shared_secret(const uint8_t *public_key, const uint8_t *private_key, in uECC_shared_secret() argument 161 private_key, in uECC_shared_secret()
|
D | ecc_dsa.c | 99 int uECC_sign_with_k(const uint8_t *private_key, const uint8_t *message_hash, in uECC_sign_with_k() argument 144 uECC_vli_bytesToNative(tmp, private_key, BITS_TO_BYTES(curve->num_n_bits)); in uECC_sign_with_k() 161 int uECC_sign(const uint8_t *private_key, const uint8_t *message_hash, in uECC_sign() argument 179 if (uECC_sign_with_k(private_key, message_hash, hash_size, k, signature, in uECC_sign()
|
D | ecc.c | 792 uECC_word_t *private_key, in EccPoint_compute_public_key() argument 803 carry = regularize_k(private_key, tmp1, tmp2, curve); in EccPoint_compute_public_key() 908 int uECC_compute_public_key(const uint8_t *private_key, uint8_t *public_key, in uECC_compute_public_key() argument 917 private_key, in uECC_compute_public_key()
|
/hal_espressif-latest/tools/esptool_py/espsecure/esp_hsm_sign/ |
D | __init__.py | 74 private_key = session.get_key( 78 return private_key 130 def sign_payload(private_key, payload): argument 133 key_type = private_key.key_type 135 signature = private_key.sign(
|
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/ |
D | esp_wpa2_api_port.c | 70 const unsigned char *private_key, int private_key_len, in esp_wifi_sta_wpa2_ent_set_cert_key() argument 74 private_key, private_key_len, private_key_passwd, private_key_passwd_len); in esp_wifi_sta_wpa2_ent_set_cert_key()
|
/hal_espressif-latest/components/bt/porting/ext/tinycrypt/include/tinycrypt/ |
D | ecc_dsa.h | 113 int uECC_sign_with_k(const uint8_t *private_key, const uint8_t *message_hash,
|
D | ecc.h | 266 int uECC_compute_public_key(const uint8_t *private_key, 277 uECC_word_t *private_key, uECC_Curve curve);
|
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/tinycrypt/include/tinycrypt/ |
D | ecc_dsa.h | 113 int uECC_sign_with_k(const uint8_t *private_key, const uint8_t *message_hash,
|
D | ecc.h | 266 int uECC_compute_public_key(const uint8_t *private_key, 277 uECC_word_t *private_key, uECC_Curve curve);
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/smp/ |
D | smp_keys.c | 1073 memcpy((void *)p_cb->private_key, p->param_buf, p->param_len); in smp_continue_private_key_creation() 1081 memcpy((void *)&p_cb->private_key[8], p->param_buf, p->param_len); in smp_continue_private_key_creation() 1089 memcpy((void *)&p_cb->private_key[16], p->param_buf, p->param_len); in smp_continue_private_key_creation() 1097 memcpy((void *)&p_cb->private_key[24], p->param_buf, p->param_len); in smp_continue_private_key_creation() 1122 BT_OCTET32 private_key; in smp_process_private_key() local 1129 memcpy(p_cb->private_key, p_loc_oob->private_key_used, BT_OCTET32_LEN); in smp_process_private_key() 1134 memcpy(private_key, p_cb->private_key, BT_OCTET32_LEN); in smp_process_private_key() 1135 ECC_PointMult(&public_key, &(curve_p256.G), (DWORD *) private_key, KEY_LENGTH_DWORDS_P256); in smp_process_private_key() 1140 smp_debug_print_nbyte_little_endian (p_cb->private_key, (const UINT8 *)"private", in smp_process_private_key() 1165 BT_OCTET32 private_key; in smp_compute_dhkey() local [all …]
|
/hal_espressif-latest/components/wpa_supplicant/src/tls/ |
D | tlsv1_cred.h | 41 const char *private_key,
|
D | rsa.c | 18 int private_key; /* whether private key is set */ member 155 key->private_key = 1; in crypto_rsa_import_private_key() 263 if (use_private && !key->private_key) in crypto_rsa_exptmod()
|
D | tlsv1_cred.c | 1037 const char *private_key, in tlsv1_set_private_key() argument 1050 if (private_key) { in tlsv1_set_private_key() 1055 buf = (u8 *) os_readfile(private_key, &len); in tlsv1_set_private_key() 1058 private_key); in tlsv1_set_private_key()
|
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/include/ |
D | esp_eap_client.h | 218 … const unsigned char *private_key, int private_key_len,
|
D | esp_wpa2.h | 204 const unsigned char *private_key, int private_key_len,
|
/hal_espressif-latest/components/wpa_supplicant/src/eap_peer/ |
D | eap_config.h | 153 u8 *private_key; member
|
D | eap_tls_common.c | 75 params->private_key = (char *) config->private_key; in eap_tls_params_from_conf1() 129 eap_tls_check_blob(sm, ¶ms->private_key, in eap_tls_params_from_conf() 139 params->private_key || in eap_tls_params_from_conf()
|
D | eap_tls.c | 39 config->private_key == 0) { in eap_tls_init()
|
D | eap.c | 485 if (config == NULL || config->private_key == 0 || config->client_cert == 0) in eap_sm_build_nak() 524 sm->config.private_key = (u8 *)sm->blob[1].name; in eap_peer_config_init() 818 sm->config.private_key = NULL; in eap_peer_blob_deinit()
|
/hal_espressif-latest/tools/esptool_py/espsecure/ |
D | __init__.py | 181 private_key = rsa.generate_private_key( 189 f.write(private_key) 548 private_key = hsm.get_privkey_info(session, config) 550 signature = hsm.sign_payload(private_key, contents) 633 private_key = _load_sbv2_signing_key(keyfile.read()) 636 if isinstance(private_key, rsa.RSAPrivateKey): 639 signature = private_key.sign( 647 rsa_primitives = _get_sbv2_rsa_primitives(private_key.public_key()) 652 numbers = private_key.public_key().public_numbers() 653 if isinstance(private_key.curve, ec.SECP192R1): [all …]
|
/hal_espressif-latest/components/bt/esp_ble_mesh/api/core/include/ |
D | esp_ble_mesh_provisioning_api.h | 77 uint8_t private_key[32]);
|
/hal_espressif-latest/components/bt/esp_ble_mesh/api/core/ |
D | esp_ble_mesh_provisioning_api.c | 85 uint8_t private_key[32]) in esp_ble_mesh_node_set_oob_pub_key() 90 if (!pub_key_x || !pub_key_y || !private_key) { in esp_ble_mesh_node_set_oob_pub_key() 102 memcpy(arg.set_oob_pub_key.private_key, private_key, 32); in esp_ble_mesh_node_set_oob_pub_key()
|