Mbed TLS v3.6.3
Loading...
Searching...
No Matches
Macros
config_adjust_psa_from_legacy.h File Reference

Adjust PSA configuration: construct PSA configuration from legacy. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MBEDTLS_PSA_BUILTIN_ALG_HMAC   1
 
#define PSA_WANT_ALG_HMAC   1
 
#define PSA_WANT_KEY_TYPE_HMAC   1
 

Detailed Description

Adjust PSA configuration: construct PSA configuration from legacy.

This is an internal header. Do not include it directly.

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.

Definition in file config_adjust_psa_from_legacy.h.

Macro Definition Documentation

◆ MBEDTLS_PSA_BUILTIN_ALG_HMAC

#define MBEDTLS_PSA_BUILTIN_ALG_HMAC   1

Definition at line 132 of file config_adjust_psa_from_legacy.h.

◆ PSA_WANT_ALG_HMAC

#define PSA_WANT_ALG_HMAC   1

Definition at line 133 of file config_adjust_psa_from_legacy.h.

◆ PSA_WANT_KEY_TYPE_HMAC

#define PSA_WANT_KEY_TYPE_HMAC   1

Definition at line 134 of file config_adjust_psa_from_legacy.h.