Home
last modified time | relevance | path

Searched refs:sha_256 (Results 1 – 2 of 2) sorted by relevance

/device/soc/esp/esp32/components/spi_flash/
Dpartition.c562 esp_err_t esp_partition_get_sha256(const esp_partition_t *partition, uint8_t *sha_256) in esp_partition_get_sha256() argument
564 …ader_common_get_sha256_of_partition(partition->address, partition->size, partition->type, sha_256); in esp_partition_get_sha256()
569 uint8_t sha_256[2][HASH_LEN] = { 0 }; in esp_partition_check_identity() local
571 if (esp_partition_get_sha256(partition_1, sha_256[0]) == ESP_OK && in esp_partition_check_identity()
572 esp_partition_get_sha256(partition_2, sha_256[1]) == ESP_OK) { in esp_partition_check_identity()
574 if (memcmp(sha_256[0], sha_256[1], HASH_LEN) == 0) { in esp_partition_check_identity()
/device/soc/esp/esp32/components/spi_flash/include/
Desp_partition.h376 esp_err_t esp_partition_get_sha256(const esp_partition_t *partition, uint8_t *sha_256);