Home
last modified time | relevance | path

Searched refs:src_key (Results 1 – 3 of 3) sorted by relevance

/hal_espressif-3.6.0/components/efuse/test/
Dtest_efuse.c554 uint8_t src_key[32] = { 0 }; variable
558 src_key[i] = 0xAB + i;
561 TEST_ESP_OK(esp_efuse_write_block(EFUSE_BLK2, src_key, offset_in_bits, count_useful_reg * 32));
564 TEST_ASSERT_EQUAL_HEX8_ARRAY(src_key, dst_key, sizeof(src_key));
568 memset(src_key, 0, sizeof(src_key));
572 src_key[i] = 0xCD + i;
574 …TEST_ESP_OK(esp_efuse_write_block(EFUSE_BLK2, src_key, offset_in_bits, count_useful_reg * 32 / 2));
577 TEST_ASSERT_EQUAL_HEX8_ARRAY(src_key, dst_key, count_useful_reg * 4 / 2);
/hal_espressif-3.6.0/components/efuse/src/
Desp_efuse_api.c244 esp_err_t esp_efuse_write_block(esp_efuse_block_t blk, const void* src_key, size_t offset_in_bits, … in esp_efuse_write_block() argument
247 if (blk == EFUSE_BLK0 || blk >= EFUSE_BLK_MAX || src_key == NULL || size_bits == 0) { in esp_efuse_write_block()
258 err = esp_efuse_write_field_blob(field, src_key, size_bits); in esp_efuse_write_block()
/hal_espressif-3.6.0/components/efuse/include/
Desp_efuse.h277 esp_err_t esp_efuse_write_block(esp_efuse_block_t blk, const void* src_key, size_t offset_in_bits, …