[PATCH v2 0/5] add the support of sha256_hmac and sha256_hkdf
Philippe Reynes
philippe.reynes at softathome.com
Wed Dec 4 18:54:32 CET 2024
This serie adds the support of sha256_hmac and sha256_hkdf.
A first version was sent several months ago just before the
integration of mbedtls. This new version is based on mbedtls.
The first patch of this serie add the support of hkdf
using mbedtls.
Philippe Reynes (5):
mbedtls: enable support of hkdf
lib: sha256: add feature sha256_hmac
test: lib: add test for sha256_hamc
lib: mbedtls: sha256: add support of key derivation
test: lib: add test for key derivation
include/u-boot/sha256.h | 9 +++
lib/mbedtls/Kconfig | 14 ++++
lib/mbedtls/Makefile | 2 +
lib/mbedtls/mbedtls_def_config.h | 4 ++
lib/mbedtls/sha256.c | 56 ++++++++++++++++
test/lib/Makefile | 2 +
test/lib/test_sha256_hkdf.c | 104 +++++++++++++++++++++++++++++
test/lib/test_sha256_hmac.c | 108 +++++++++++++++++++++++++++++++
8 files changed, 299 insertions(+)
create mode 100644 test/lib/test_sha256_hkdf.c
create mode 100644 test/lib/test_sha256_hmac.c
--
2.25.1
More information about the U-Boot
mailing list