Add sha256_alt to use sha256 hardware in RP2350.

Other boards and SHA224 use mbedtls implementation.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2024-09-13 00:26:44 +02:00
parent f8a05f4832
commit 3d52921ef5
4 changed files with 335 additions and 2 deletions

View File

@@ -329,7 +329,9 @@
//#define MBEDTLS_RIPEMD160_ALT
//#define MBEDTLS_RSA_ALT
//#define MBEDTLS_SHA1_ALT
//#define MBEDTLS_SHA256_ALT
#ifdef PICO_RP2350
#define MBEDTLS_SHA256_ALT
#endif
//#define MBEDTLS_SHA512_ALT
/*