/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/storage/ |
D | settings_nvs.c | 217 static int settings_save(bt_mesh_nvs_handle_t handle, const char *key, const uint8_t *val, size_t l… in settings_save() 252 int bt_mesh_save_settings(bt_mesh_nvs_handle_t handle, const char *key, in bt_mesh_save_settings() 262 int bt_mesh_save_core_settings(const char *key, const uint8_t *val, size_t len) in bt_mesh_save_core_settings() 269 int bt_mesh_save_uid_settings(const char *key, const uint8_t *val, size_t len) in bt_mesh_save_uid_settings() 276 int bt_mesh_erase_settings(bt_mesh_nvs_handle_t handle, const char *key) in bt_mesh_erase_settings() 281 int bt_mesh_erase_core_settings(const char *key) in bt_mesh_erase_core_settings() 295 static int settings_load(bt_mesh_nvs_handle_t handle, const char *key, in settings_load() 321 int bt_mesh_load_settings(bt_mesh_nvs_handle_t handle, const char *key, in bt_mesh_load_settings() 331 int bt_mesh_load_core_settings(const char *key, uint8_t *buf, size_t buf_len, bool *exist) in bt_mesh_load_core_settings() 338 int bt_mesh_load_uid_settings(const char *key, uint8_t *buf, size_t buf_len, bool *exist) in bt_mesh_load_uid_settings() [all …]
|
/hal_espressif-latest/components/wpa_supplicant/src/crypto/ |
D | crypto_internal-rsa.c | 22 struct crypto_public_key * crypto_public_key_import(const u8 *key, size_t len) in crypto_public_key_import() 38 struct crypto_private_key * crypto_private_key_import(const u8 *key, in crypto_private_key_import() 72 int crypto_public_key_encrypt_pkcs1_v15(struct crypto_public_key *key, in crypto_public_key_encrypt_pkcs1_v15() 81 int crypto_private_key_decrypt_pkcs1_v15(struct crypto_private_key *key, in crypto_private_key_decrypt_pkcs1_v15() 90 int crypto_private_key_sign_pkcs1(struct crypto_private_key *key, in crypto_private_key_sign_pkcs1() 99 void crypto_public_key_free(struct crypto_public_key *key) in crypto_public_key_free() 105 void crypto_private_key_free(struct crypto_private_key *key) in crypto_private_key_free() 111 int crypto_public_key_decrypt_pkcs1(struct crypto_public_key *key, in crypto_public_key_decrypt_pkcs1()
|
D | aes-omac1.c | 43 int omac1_aes_vector(const u8 *key, size_t key_len, size_t num_elem, in omac1_aes_vector() 133 int omac1_aes_128_vector(const u8 *key, size_t num_elem, in omac1_aes_128_vector() 152 int omac1_aes_128(const u8 *key, const u8 *data, size_t data_len, u8 *mac) in omac1_aes_128() 170 int omac1_aes_256(const u8 *key, const u8 *data, size_t data_len, u8 *mac) in omac1_aes_256()
|
D | des-internal.c | 273 static void deskey(const u8 *key, int decrypt, u32 *keyout) in deskey() 399 int des_encrypt(const u8 *clear, const u8 *key, u8 *cypher) in des_encrypt() 428 void des_key_setup(const u8 *key, u32 *ek, u32 *dk) in des_key_setup() 457 void des3_key_setup(const u8 *key, struct des3_key_s *dkey) in des3_key_setup() 469 void des3_encrypt(const u8 *plain, const struct des3_key_s *key, u8 *crypt) in des3_encrypt() 483 void des3_decrypt(const u8 *crypt, const struct des3_key_s *key, u8 *plain) in des3_decrypt()
|
D | sha256.c | 26 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector() 100 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256()
|
D | aes-ctr.c | 25 int aes_ctr_encrypt(const u8 *key, size_t key_len, const u8 *nonce, in aes_ctr_encrypt() 67 int aes_128_ctr_encrypt(const u8 *key, const u8 *nonce, in aes_128_ctr_encrypt()
|
D | md5.c | 26 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_md5_vector() 105 int hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_md5()
|
D | sha1.c | 26 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha1_vector() 104 int hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_sha1()
|
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/crypto/ |
D | crypto_mbedtls.c | 132 struct crypto_hash * crypto_hash_init(enum crypto_hash_alg alg, const u8 *key, in crypto_hash_init() 295 const u8 *key, size_t key_len, in hmac_vector() 336 int hmac_sha384_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha384_vector() 344 int hmac_sha384(const u8 *key, size_t key_len, const u8 *data, in hmac_sha384() 350 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector() 357 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256() 363 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_md5_vector() 370 int hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_md5() 376 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha1_vector() 383 int hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_sha1() [all …]
|
D | crypto_mbedtls-rsa.c | 91 struct crypto_public_key * crypto_public_key_import(const u8 *key, size_t len) in crypto_public_key_import() 111 struct crypto_private_key * crypto_private_key_import(const u8 *key, in crypto_private_key_import() 182 int crypto_public_key_encrypt_pkcs1_v15(struct crypto_public_key *key, in crypto_public_key_encrypt_pkcs1_v15() 232 int crypto_private_key_decrypt_pkcs1_v15(struct crypto_private_key *key, in crypto_private_key_decrypt_pkcs1_v15() 275 int crypto_private_key_sign_pkcs1(struct crypto_private_key *key, in crypto_private_key_sign_pkcs1() 315 void crypto_public_key_free(struct crypto_public_key *key) in crypto_public_key_free() 326 void crypto_private_key_free(struct crypto_private_key *key) in crypto_private_key_free() 336 int crypto_public_key_decrypt_pkcs1(struct crypto_public_key *key, in crypto_public_key_decrypt_pkcs1()
|
D | crypto_mbedtls-ec.c | 503 mbedtls_pk_context *key = os_malloc(sizeof(*key)); in crypto_alloc_key() local 521 mbedtls_pk_context *key = (mbedtls_pk_context *)crypto_alloc_key(); in crypto_ec_set_pubkey_point() local 569 void crypto_ec_free_key(struct crypto_key *key) in crypto_ec_free_key() 576 struct crypto_ec_point *crypto_ec_get_public_key(struct crypto_key *key) in crypto_ec_get_public_key() 584 int crypto_ec_get_priv_key_der(struct crypto_key *key, unsigned char **key_data, int *key_len) in crypto_ec_get_priv_key_der() 612 struct crypto_ec_group *crypto_ec_get_group_from_key(struct crypto_key *key) in crypto_ec_get_group_from_key() 619 int crypto_ec_key_group(struct crypto_ec_key *key) in crypto_ec_key_group() 627 struct crypto_bignum *crypto_ec_get_private_key(struct crypto_key *key) in crypto_ec_get_private_key() 634 int crypto_ec_get_publickey_buf(struct crypto_key *key, u8 *key_buf, int len) in crypto_ec_get_publickey_buf() 655 int crypto_write_pubkey_der(struct crypto_key *key, unsigned char **key_buf) in crypto_write_pubkey_der() [all …]
|
/hal_espressif-latest/components/bt/host/bluedroid/btc/core/ |
D | btc_config.c | 113 bool btc_config_exist(const char *section, const char *key) in btc_config_exist() 122 bool btc_config_get_int(const char *section, const char *key, int *value) in btc_config_get_int() 137 bool btc_config_set_int(const char *section, const char *key, int value) in btc_config_set_int() 148 bool btc_config_get_str(const char *section, const char *key, char *value, int *size_bytes) in btc_config_get_str() 168 bool btc_config_set_str(const char *section, const char *key, const char *value) in btc_config_set_str() 180 bool btc_config_get_bin(const char *section, const char *key, uint8_t *value, size_t *length) in btc_config_get_bin() 213 size_t btc_config_get_bin_length(const char *section, const char *key) in btc_config_get_bin_length() 229 bool btc_config_set_bin(const char *section, const char *key, const uint8_t *value, size_t length) in btc_config_set_bin() 285 bool btc_config_remove(const char *section, const char *key) in btc_config_remove()
|
/hal_espressif-latest/components/bt/common/osi/ |
D | hash_functions.c | 23 hash_index_t hash_function_naive(const void *key) in hash_function_naive() 28 hash_index_t hash_function_integer(const void *key) in hash_function_integer() 33 hash_index_t hash_function_pointer(const void *key) in hash_function_pointer() 38 hash_index_t hash_function_string(const void *key) in hash_function_string()
|
D | config.c | 27 char *key; member 120 bool config_has_key(const config_t *config, const char *section, const char *key) in config_has_key() 129 bool config_has_key_in_section(config_t *config, const char *key, char *key_value) in config_has_key_in_section() 148 int config_get_int(const config_t *config, const char *section, const char *key, int def_value) in config_get_int() 164 bool config_get_bool(const config_t *config, const char *section, const char *key, bool def_value) in config_get_bool() 185 const char *config_get_string(const config_t *config, const char *section, const char *key, const c… in config_get_string() 199 void config_set_int(config_t *config, const char *section, const char *key, int value) in config_set_int() 210 void config_set_bool(config_t *config, const char *section, const char *key, bool value) in config_set_bool() 219 void config_set_string(config_t *config, const char *section, const char *key, const char *value, b… in config_set_string() 283 bool config_remove_key(config_t *config, const char *section, const char *key) in config_remove_key() [all …]
|
D | hash_map.c | 115 bool hash_map_has_key(const hash_map_t *hash_map, const void *key) in hash_map_has_key() 126 bool hash_map_set(hash_map_t *hash_map, const void *key, void *data) in hash_map_set() 163 bool hash_map_erase(hash_map_t *hash_map, const void *key) in hash_map_erase() 185 void *hash_map_get(const hash_map_t *hash_map, const void *key) in hash_map_get() 249 const void *key) in find_bucket_entry_()
|
/hal_espressif-latest/components/wpa_supplicant/src/tls/ |
D | rsa.c | 63 struct crypto_rsa_key *key; in crypto_rsa_import_public_key() local 118 struct crypto_rsa_key *key; in crypto_rsa_import_public_key_parts() local 146 struct crypto_rsa_key *key; in crypto_rsa_import_private_key() local 240 size_t crypto_rsa_get_modulus_len(struct crypto_rsa_key *key) in crypto_rsa_get_modulus_len() 257 struct crypto_rsa_key *key, int use_private) in crypto_rsa_exptmod() 353 void crypto_rsa_free(struct crypto_rsa_key *key) in crypto_rsa_free()
|
D | pkcs1.c | 81 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key, in pkcs1_encrypt() 97 int pkcs1_v15_private_key_decrypt(struct crypto_rsa_key *key, in pkcs1_v15_private_key_decrypt() 134 int pkcs1_decrypt_public_key(struct crypto_rsa_key *key, in pkcs1_decrypt_public_key()
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/smp/ |
D | smp_keys.c | 158 BOOLEAN smp_encrypt_data (UINT8 *key, UINT8 key_len, in smp_encrypt_data() 219 tSMP_KEY key; in smp_use_static_passkey() local 277 tSMP_KEY key; in smp_proc_passkey() local 773 tSMP_KEY key; in smp_process_confirm() local 802 tSMP_KEY key; in smp_process_compare() local 827 tSMP_KEY key; in smp_process_stk() local 938 tSMP_KEY key; in smp_process_ediv() local 1304 UINT8 key[BT_OCTET16_LEN]; in smp_calculate_f4() local 1416 UINT8 key[BT_OCTET16_LEN]; in smp_calculate_g2() local 1642 UINT8 key[BT_OCTET16_LEN]; in smp_calculate_f5_mackey_or_long_term_key() local [all …]
|
/hal_espressif-latest/components/wpa_supplicant/src/rsn_supp/ |
D | wpa.c | 546 const struct wpa_eapol_key *key, in wpa_supplicant_send_2_of_4() 647 const struct wpa_eapol_key *key, struct wpa_ptk *ptk) in wpa_derive_ptk() 661 const struct wpa_eapol_key *key, in wpa_supplicant_process_1_of_4() 1215 const struct wpa_eapol_key *key, in wpa_supplicant_send_4_of_4() 1263 static void wpa_sm_set_seq(struct wpa_sm *sm, struct wpa_eapol_key *key, u8 isptk) in wpa_sm_set_seq() 1282 struct wpa_eapol_key *key, in wpa_supplicant_process_3_of_4() 1514 const struct wpa_eapol_key *key, in wpa_supplicant_process_1_of_2_wpa() 1585 const struct wpa_eapol_key *key, in wpa_supplicant_send_2_of_2() 1634 struct wpa_eapol_key *key, in wpa_supplicant_process_1_of_2() 1696 struct wpa_eapol_key_192 *key, in wpa_supplicant_verify_eapol_key_mic() [all …]
|
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/ |
D | access.c | 177 struct bt_mesh_app_key *key = NULL; in publish_retransmit() local 538 static bool model_has_key(struct bt_mesh_model *mod, uint16_t key) in model_has_key() 833 struct bt_mesh_app_key *key = NULL; in bt_mesh_model_publish() local 962 const uint8_t *key = NULL; in bt_mesh_tx_devkey_get() local 977 struct bt_mesh_app_key *key = NULL; in bt_mesh_tx_appkey_get() local 1072 const uint8_t *key = NULL; in bt_mesh_rx_devkey_get() local 1125 struct bt_mesh_app_key *key = NULL; in bt_mesh_rx_appkey_get() local
|
/hal_espressif-latest/zephyr/esp32/src/wifi/ |
D | esp_wifi_adapter.c | 448 int32_t nvs_set_i8(uint32_t handle, const char *key, int8_t value) in nvs_set_i8() 453 int32_t nvs_get_i8(uint32_t handle, const char *key, int8_t *out_value) in nvs_get_i8() 458 int32_t nvs_set_u8(uint32_t handle, const char *key, uint8_t value) in nvs_set_u8() 463 int32_t nvs_get_u8(uint32_t handle, const char *key, uint8_t *out_value) in nvs_get_u8() 468 int32_t nvs_set_u16(uint32_t handle, const char *key, uint16_t value) in nvs_set_u16() 473 int32_t nvs_get_u16(uint32_t handle, const char *key, uint16_t *out_value) in nvs_get_u16() 493 int32_t nvs_set_blob(uint32_t handle, const char *key, const void *value, in nvs_set_blob() 499 int32_t nvs_get_blob(uint32_t handle, const char *key, void *out_value, in nvs_get_blob() 505 int32_t nvs_erase_key(uint32_t handle, const char *key) in nvs_erase_key()
|
/hal_espressif-latest/zephyr/esp32c2/src/wifi/ |
D | esp_wifi_adapter.c | 485 int32_t nvs_set_i8(uint32_t handle, const char *key, int8_t value) in nvs_set_i8() 494 int32_t nvs_get_i8(uint32_t handle, const char *key, int8_t *out_value) in nvs_get_i8() 503 int32_t nvs_set_u8(uint32_t handle, const char *key, uint8_t value) in nvs_set_u8() 512 int32_t nvs_get_u8(uint32_t handle, const char *key, uint8_t *out_value) in nvs_get_u8() 521 int32_t nvs_set_u16(uint32_t handle, const char *key, uint16_t value) in nvs_set_u16() 530 int32_t nvs_get_u16(uint32_t handle, const char *key, uint16_t *out_value) in nvs_get_u16() 562 int32_t nvs_set_blob(uint32_t handle, const char *key, const void *value, in nvs_set_blob() 573 int32_t nvs_get_blob(uint32_t handle, const char *key, void *out_value, in nvs_get_blob() 584 int32_t nvs_erase_key(uint32_t handle, const char *key) in nvs_erase_key()
|
/hal_espressif-latest/zephyr/esp32c3/src/wifi/ |
D | esp_wifi_adapter.c | 485 int32_t nvs_set_i8(uint32_t handle, const char *key, int8_t value) in nvs_set_i8() 494 int32_t nvs_get_i8(uint32_t handle, const char *key, int8_t *out_value) in nvs_get_i8() 503 int32_t nvs_set_u8(uint32_t handle, const char *key, uint8_t value) in nvs_set_u8() 512 int32_t nvs_get_u8(uint32_t handle, const char *key, uint8_t *out_value) in nvs_get_u8() 521 int32_t nvs_set_u16(uint32_t handle, const char *key, uint16_t value) in nvs_set_u16() 530 int32_t nvs_get_u16(uint32_t handle, const char *key, uint16_t *out_value) in nvs_get_u16() 562 int32_t nvs_set_blob(uint32_t handle, const char *key, const void *value, in nvs_set_blob() 573 int32_t nvs_get_blob(uint32_t handle, const char *key, void *out_value, in nvs_get_blob() 584 int32_t nvs_erase_key(uint32_t handle, const char *key) in nvs_erase_key()
|
/hal_espressif-latest/zephyr/esp32c6/src/wifi/ |
D | esp_wifi_adapter.c | 489 int32_t nvs_set_i8(uint32_t handle, const char *key, int8_t value) in nvs_set_i8() 498 int32_t nvs_get_i8(uint32_t handle, const char *key, int8_t *out_value) in nvs_get_i8() 507 int32_t nvs_set_u8(uint32_t handle, const char *key, uint8_t value) in nvs_set_u8() 516 int32_t nvs_get_u8(uint32_t handle, const char *key, uint8_t *out_value) in nvs_get_u8() 525 int32_t nvs_set_u16(uint32_t handle, const char *key, uint16_t value) in nvs_set_u16() 534 int32_t nvs_get_u16(uint32_t handle, const char *key, uint16_t *out_value) in nvs_get_u16() 566 int32_t nvs_set_blob(uint32_t handle, const char *key, const void *value, in nvs_set_blob() 577 int32_t nvs_get_blob(uint32_t handle, const char *key, void *out_value, in nvs_get_blob() 588 int32_t nvs_erase_key(uint32_t handle, const char *key) in nvs_erase_key()
|
/hal_espressif-latest/zephyr/esp32s2/src/wifi/ |
D | esp_wifi_adapter.c | 452 int32_t nvs_set_i8(uint32_t handle, const char *key, int8_t value) in nvs_set_i8() 457 int32_t nvs_get_i8(uint32_t handle, const char *key, int8_t *out_value) in nvs_get_i8() 462 int32_t nvs_set_u8(uint32_t handle, const char *key, uint8_t value) in nvs_set_u8() 467 int32_t nvs_get_u8(uint32_t handle, const char *key, uint8_t *out_value) in nvs_get_u8() 472 int32_t nvs_set_u16(uint32_t handle, const char *key, uint16_t value) in nvs_set_u16() 477 int32_t nvs_get_u16(uint32_t handle, const char *key, uint16_t *out_value) in nvs_get_u16() 497 int32_t nvs_set_blob(uint32_t handle, const char *key, const void *value, in nvs_set_blob() 503 int32_t nvs_get_blob(uint32_t handle, const char *key, void *out_value, in nvs_get_blob() 509 int32_t nvs_erase_key(uint32_t handle, const char *key) in nvs_erase_key()
|