blob: cd1e030d17c55c22452a8169d2c2872dfca42ae1 [file] [log] [blame]
Manuel Pégourié-Gonnarda7159452023-03-22 17:29:22 +01001Features
2 * All modules that use hashes or HMAC can now take advantage of PSA Crypto
3 drivers when MBEDTLS_PSA_CRYPTO_C is enabled and psa_crypto_init() has
4 been called. Previously (in 3.3), this was restricted to a few modules,
5 and only in builds where MBEDTLS_MD_C was disabled; in particular the
6 entropy module was not covered which meant an external RNG had to be
7 provided - these limitations are lifted in this version. A new set of
8 feature macros, MBEDTLS_MD_CAN_xxx, has been introduced that can be used
9 to check for availability of hash algorithms, regardless of whether
Manuel Pégourié-Gonnard1f61b7b2023-09-22 10:15:22 +020010 they're provided by a built-in implementation, a driver or both. See
11 docs/driver-only-builds.md.