Searched refs:sha_256 (Results 1 – 2 of 2) sorted by relevance
562 esp_err_t esp_partition_get_sha256(const esp_partition_t *partition, uint8_t *sha_256) in esp_partition_get_sha256() argument564 …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() local571 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()
376 esp_err_t esp_partition_get_sha256(const esp_partition_t *partition, uint8_t *sha_256);