zephyr/samples/subsys/mgmt
Tomi Fontanilles 703e5258eb mgmt: updatehub: 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.

The reliance of mgmt/updatehub on storage/flash_map's configuration
(`FLASH_AREA_CHECK_INTEGRITY_BACKEND`) is removed.
The choice of which implementation to use is made automatically,
based on whether a PSA API provider is present (`PSA_CRYPTO_CLIENT`).

This commit also add a test case with PSA (based on Mbed TLS)
in samples/subsys/mgmt/updatehub/sample.yaml.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2024-06-14 14:02:08 -04:00
..
hawkbit mgmt: hawkbit: change the tls certificate tag 2024-05-06 22:50:44 +01:00
mcumgr/smp_svr samples: mgmt: mcumgr: smp_svr: Remove documentation for go tool 2024-06-07 15:07:07 +02:00
osdp hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
updatehub mgmt: updatehub: replace TinyCrypt by PSA 2024-06-14 14:02:08 -04:00
mgmt.rst