zephyr/subsys
Tomi Fontanilles f2c643ba02 storage: flash_map: replace TinyCrypt by PSA
As part of ongoing work to move away from TinyCrypt and towards PSA
(#43712), introduce a PSA option and remove the TinyCrypt one for the
SHA-256 implementation.

The Mbed TLS implementation is modified to use `mbedtls_sha256`
directly for smaller code size.

As of now the implementation defaults to PSA only if TF-M is enabled
because a dependency loop happens if using `PSA_CRYPTO_CLIENT` as a
condition in `FLASH_AREA_CHECK_INTEGRITY_BACKEND`.

A test case is added for the PSA implementation, and an NS platform is
added to the base test case to verify the compilation on a TF-M-enabled
platform.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2024-06-14 14:02:08 -04:00
..
bindesc build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
bluetooth Bluetooth: Host: Add the API bt_hci_err_to_str() 2024-06-14 19:17:48 +02:00
canbus canbus: isotp: use proper CAN ID masks 2024-04-24 09:53:06 +02:00
console
dap dap: fix timeout handling 2024-06-14 11:14:17 +02:00
debug arch: introduce arch_stack_walk() 2024-06-13 16:46:48 -04:00
demand_paging demand_paging: eviction/nru: fix pathological behavior 2024-06-14 19:15:59 +02:00
dfu dfu/mcuboot: Use flash_area_flatten instead of flash_area_erase 2024-06-04 08:00:46 +02:00
disk drivers: disk: add DISK_IOCTL_CTRL_DEINIT command to supported IOCTLs 2024-06-07 18:16:01 +01:00
dsp
emul treewide: drivers: espi: Adjust terms per eSPI specification 1.5 2024-05-02 13:56:46 -04:00
fb
fs fs: nvs: Add CRC-32 to protect data 2024-06-13 05:51:56 -04:00
input input: utils: rename the input dump callback 2024-04-01 11:05:02 +01:00
ipc ipc: fix return code of icbmsg backend send operation. 2024-06-10 15:00:01 +03:00
jwt jwt: add missing PSA_WANT dependencies to RSA signature 2024-06-13 09:22:20 +02:00
llext llext: refactor: use cached section headers 2024-06-14 11:13:44 +02:00
logging logging: allow OOT backend to enable LOG_BACKEND_FORMAT_TIMESTAMP 2024-06-12 12:49:32 -04:00
lorawan lorawan: services: frag decoder: add lowmem implementation 2024-06-11 16:09:23 +03:00
mem_mgmt
mgmt mgmt: updatehub: replace TinyCrypt by PSA 2024-06-14 14:02:08 -04:00
modbus modbus_serial: Disable rx interrupt if buffer fills up 2024-06-13 16:48:05 -04:00
modem modem: pipe: simplify synchronization 2024-06-13 16:43:49 -04:00
net net: lwm2m: Retry DTLS handshake before dropping to bootstrap 2024-06-14 15:34:39 +02:00
pm pm: Add a symbol for device power state constraints 2024-06-07 19:06:23 -04:00
portability subsys/portability/CMSIS: Do not redefine TRUE & FALSE 2024-06-11 16:29:22 +03:00
random random: enable AES support CTR_DRBG CSPRNG when it relies on Mbed TLS 2024-06-03 16:13:05 -04:00
retention
rtio sys: Add a lockfree mpsc and spsc queues 2024-06-06 00:42:29 -07:00
sd sd: sd_ops: fix DISK_IOCTL_CTRL_SYNC return code 2024-05-29 07:31:39 +02:00
sensing sensors: Submit call returns void 2024-06-14 19:13:02 +02:00
settings storage/settings: Replace flash_area_erase with flash_area_flatten 2024-06-04 08:00:46 +02:00
shell shell: kernel: add command to unwind a thread 2024-06-13 16:46:48 -04:00
sip_svc linker: subsys: Use Z_LINK_ITERABLE_SUBALIGN 2024-04-20 13:45:25 -04:00
stats
storage storage: flash_map: replace TinyCrypt by PSA 2024-06-14 14:02:08 -04:00
task_wdt task_wdt: Feed hardware watchdog only when its started 2024-06-06 00:40:53 -07:00
testsuite testsuite: coverage: Add CONFIG_ZTEST_COVERAGE_RESET_BEFORE_TESTS 2024-06-12 14:32:04 +03:00
timing
tracing tracing: change controlling expressions in while to Boolean 2024-06-11 20:02:40 +03:00
usb usb: device_next: add helper to register all available class instances 2024-06-14 19:17:13 +02:00
zbus zbus: vded: msg_sub: Improve channel ref copy 2024-06-09 09:07:21 -05:00
CMakeLists.txt dap: add CMSIS-DAP compatible controller 2024-06-14 11:14:17 +02:00
Kconfig dap: add CMSIS-DAP compatible controller 2024-06-14 11:14:17 +02:00