lib: sha256: add feature sha256_hmac
authorPhilippe Reynes <philippe.reynes@softathome.com>
Thu, 19 Dec 2024 13:05:50 +0000 (14:05 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 18 Jan 2025 23:12:47 +0000 (17:12 -0600)
commite364a9148f0adecf32628c16b1571dd729b45358
treea218968fa263d5d460a9700a195066c029c0e2df
parentccc5e166836c2fa204a58fe9ac87c5fce72b5e7b
lib: sha256: add feature sha256_hmac

Adds the support of the hmac based on sha256.
This implementation is based on rfc2104.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Reviewed-by: Raymond Mao <raymond.mao@linaro.org>
include/u-boot/sha256.h
lib/mbedtls/sha256.c
lib/sha256.c