zephyr/subsys/storage/flash_map/Kconfig
Gerson Fernando Budke eb0f571790 storage: flash_map: Add SHA-256 integrity method
Add SHA-256 flash integrity method.  It reads flash data from a
device giving an offset creating a SHA-256 hash to be compared
with a reference.  On sucess match, zero is returned, otherwise
a negative errno value.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2020-09-03 17:56:02 +02:00

40 lines
902 B
Plaintext

# Flash map abstraction module
# Copyright (c) 2017 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
#
# Flash map
#
menuconfig FLASH_MAP
bool "Flash map abstraction module"
depends on FLASH_HAS_DRIVER_ENABLED
help
Enable support of flash map abstraction.
if FLASH_MAP
config FLASH_MAP_SHELL
bool "Enable flash map shell interface"
depends on SHELL
help
This enables shell commands to list and test flash maps.
config FLASH_MAP_CUSTOM
bool "Custom flash map description"
help
This option enables custom flash map description.
User must provide such a description in place of default on
if had enabled this option.
config FLASH_AREA_CHECK_INTEGRITY
bool "Enable flash check functions"
select TINYCRYPT
select TINYCRYPT_SHA256
help
If enabled, there will be available the backend to check flash
integrity using SHA-256 verification algorithm.
endif