File config_adjust_psa_from_legacy.h

Adjust PSA configuration: construct PSA configuration from legacy.

When MBEDTLS_PSA_CRYPTO_CONFIG is disabled, we automatically enable cryptographic mechanisms through the PSA interface when the corresponding legacy mechanism is enabled. In many cases, this just enables the PSA wrapper code around the legacy implementation, but we also do this for some mechanisms where PSA has its own independent implementation so that high-level modules that can use either cryptographic API have the same feature set in both cases.

Defines

MBEDTLS_PSA_BUILTIN_ALG_HMAC
PSA_WANT_ALG_HMAC
PSA_WANT_KEY_TYPE_HMAC