mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
Add a possibility to call PSA_INIT without MBEDTLS_PSA_CRYPTO_C
Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
@ -276,6 +276,12 @@ psa_key_usage_t mbedtls_test_update_key_usage_flags( psa_key_usage_t usage_flags
|
|||||||
} \
|
} \
|
||||||
} \
|
} \
|
||||||
while( 0 )
|
while( 0 )
|
||||||
|
#else
|
||||||
|
/* Define empty macros so that we can use them in the preamble and teardown
|
||||||
|
* of every test function that uses PSA conditionally based on
|
||||||
|
* MBEDTLS_PSA_CRYPTO_C. */
|
||||||
|
#define PSA_INIT( ) ( (void) 0 )
|
||||||
|
#define PSA_DONE( ) ( (void) 0 )
|
||||||
|
|
||||||
#endif /* MBEDTLS_PSA_CRYPTO_C */
|
#endif /* MBEDTLS_PSA_CRYPTO_C */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user