/hal_espressif-3.6.0/components/wpa_supplicant/src/tls/ |
D | tlsv1_record.c | 159 struct crypto_hash *hmac = NULL; in tlsv1_record_send() local 211 hmac = crypto_hash_init(rl->hash_alg, rl->write_mac_secret, rl->hash_size); in tlsv1_record_send() 212 if (hmac == NULL) { in tlsv1_record_send() 217 crypto_hash_update(hmac, rl->write_seq_num, TLS_SEQ_NUM_LEN); in tlsv1_record_send() 219 crypto_hash_update(hmac, ct_start, TLS_RECORD_HEADER_LEN); in tlsv1_record_send() 220 crypto_hash_update(hmac, payload, payload_len); in tlsv1_record_send() 225 crypto_hash_finish(hmac, NULL, NULL); in tlsv1_record_send() 230 if ((int)crypto_hash_finish(hmac, pos, &clen) < 0) { in tlsv1_record_send() 288 struct crypto_hash *hmac = NULL; in tlsv1_record_receive() local 441 hmac = crypto_hash_init(rl->hash_alg, rl->read_mac_secret, rl->hash_size); in tlsv1_record_receive() [all …]
|
/hal_espressif-3.6.0/components/esp_hw_support/test/ |
D | test_hmac.c | 79 uint8_t hmac[32]; variable 166 TEST_ESP_OK(esp_hmac_calculate(HMAC_KEY4, zeroes, zero_results[i].msglen, hmac)); 167 TEST_ASSERT_EQUAL_HEX8_ARRAY(zero_results[i].result, hmac, sizeof(hmac)); 174 uint8_t hmac[32]; variable 964 TEST_ESP_OK(esp_hmac_calculate(HMAC_KEY4, message, results[i].msglen, hmac)); 965 TEST_ASSERT_EQUAL_HEX8_ARRAY(results[i].result, hmac, sizeof(hmac)); 971 uint8_t hmac[32]; variable 988 TEST_ESP_OK(esp_hmac_calculate(HMAC_KEY4, message, results[i].msglen, hmac)); 989 TEST_ASSERT_EQUAL_HEX8_ARRAY(results[i].result, hmac, sizeof(hmac)); 1001 uint8_t hmac[32]; variable [all …]
|
D | gen_digital_signature_tests.py | 8 import hmac 103 aes_key = hmac.HMAC(hmac_keys[hmac_key_idx], b'\xFF' * 32, hashlib.sha256).digest()
|
/hal_espressif-3.6.0/components/esp_hw_support/port/esp32s2/ |
D | esp_hmac.c | 26 uint8_t *hmac) in esp_hmac_calculate() argument 29 if (!message || !hmac) return ESP_ERR_INVALID_ARG; in esp_hmac_calculate() 35 hmac_ret = ets_hmac_calculate_message(convert_key_type(key_id), message, message_len, hmac); in esp_hmac_calculate()
|
/hal_espressif-3.6.0/components/esp_hw_support/port/esp32c3/ |
D | esp_hmac.c | 45 uint8_t *hmac) in esp_hmac_calculate() argument 49 if (!message || !hmac) { in esp_hmac_calculate() 121 hmac_hal_read_result_256(hmac); in esp_hmac_calculate()
|
/hal_espressif-3.6.0/components/esp_hw_support/port/esp32h2/ |
D | esp_hmac.c | 45 uint8_t *hmac) in esp_hmac_calculate() argument 49 if (!message || !hmac) { in esp_hmac_calculate() 121 hmac_hal_read_result_256(hmac); in esp_hmac_calculate()
|
/hal_espressif-3.6.0/components/esp_hw_support/port/esp32s3/ |
D | esp_hmac.c | 46 uint8_t *hmac) in esp_hmac_calculate() argument 50 if (!message || !hmac) { in esp_hmac_calculate() 122 hmac_hal_read_result_256(hmac); in esp_hmac_calculate()
|
/hal_espressif-3.6.0/docs/en/api-reference/peripherals/ |
D | hmac.rst | 7 …} Technical Reference Manual* > *HMAC Accelerator (HMAC)* [`PDF <{IDF_TARGET_TRM_EN_URL}#hmac>`__]. 106 …} Technical Reference Manual* > *HMAC Accelerator (HMAC)* [`PDF <{IDF_TARGET_TRM_EN_URL}#hmac>`__]. 138 uint8_t hmac[32]; 143 esp_err_t result = esp_hmac_calculate(HMAC_KEY4, message, msg_len, hmac); 146 // HMAC written to hmac now
|
D | index.rst | 14 :SOC_HMAC_SUPPORTED: hmac
|
/hal_espressif-3.6.0/docs/zh_CN/api-reference/peripherals/ |
D | hmac.rst | 1 .. include:: ../../../en/api-reference/peripherals/hmac.rst
|
D | index.rst | 14 :SOC_HMAC_SUPPORTED: hmac
|
/hal_espressif-3.6.0/components/esp_rom/include/esp32s3/rom/ |
D | hmac.h | 31 …ulate_message(ets_efuse_block_t key_block, const void *message, size_t message_len, uint8_t *hmac);
|
/hal_espressif-3.6.0/components/esp_rom/include/esp32c3/rom/ |
D | hmac.h | 33 …ulate_message(ets_efuse_block_t key_block, const void *message, size_t message_len, uint8_t *hmac);
|
/hal_espressif-3.6.0/components/esp_rom/include/esp32h2/rom/ |
D | hmac.h | 33 …ulate_message(ets_efuse_block_t key_block, const void *message, size_t message_len, uint8_t *hmac);
|
/hal_espressif-3.6.0/components/esp_rom/include/esp32s2/rom/ |
D | hmac.h | 33 …ulate_message(ets_efuse_block_t key_block, const void *message, size_t message_len, uint8_t *hmac);
|
/hal_espressif-3.6.0/components/esp_hw_support/include/soc/esp32s3/ |
D | esp_hmac.h | 51 uint8_t *hmac);
|
/hal_espressif-3.6.0/components/esp_hw_support/include/soc/esp32c3/ |
D | esp_hmac.h | 53 uint8_t *hmac);
|
/hal_espressif-3.6.0/components/esp_hw_support/include/soc/esp32h2/ |
D | esp_hmac.h | 53 uint8_t *hmac);
|
/hal_espressif-3.6.0/components/esp_hw_support/include/soc/esp32s2/ |
D | esp_hmac.h | 53 uint8_t *hmac);
|
/hal_espressif-3.6.0/examples/protocols/mqtt/ssl_ds/ |
D | configure_ds.py | 6 import hmac 115 aes_key = hmac.HMAC(hmac_key, b'\xFF' * 32, hashlib.sha256).digest()
|
/hal_espressif-3.6.0/components/efuse/esp32s2/ |
D | esp_efuse_table.csv | 64 … EFUSE_BLK0, 49, 1, Software disable jtag jtag can be activated again by hmac module
|
/hal_espressif-3.6.0/components/bt/ |
D | CMakeLists.txt | 395 "esp_ble_mesh/mesh_common/tinycrypt/src/hmac.c" 485 "host/nimble/nimble/ext/tinycrypt/src/hmac.c"
|