Declare incompatibility in new programs
Existing example programs in this directory are already incompatible with that option, so this is probably acceptable here too. Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
parent
ecffd96910
commit
9efbf53f0e
2 changed files with 8 additions and 4 deletions
|
@ -41,12 +41,14 @@
|
||||||
|
|
||||||
#if !defined(MBEDTLS_PSA_CRYPTO_C) || !defined(MBEDTLS_CIPHER_C) || \
|
#if !defined(MBEDTLS_PSA_CRYPTO_C) || !defined(MBEDTLS_CIPHER_C) || \
|
||||||
!defined(MBEDTLS_AES_C) || !defined(MBEDTLS_GCM_C) || \
|
!defined(MBEDTLS_AES_C) || !defined(MBEDTLS_GCM_C) || \
|
||||||
!defined(MBEDTLS_CHACHAPOLY_C)
|
!defined(MBEDTLS_CHACHAPOLY_C) || \
|
||||||
|
defined(MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER)
|
||||||
int main( void )
|
int main( void )
|
||||||
{
|
{
|
||||||
printf( "MBEDTLS_PSA_CRYPTO_C and/or MBEDTLS_MD_C and/or "
|
printf( "MBEDTLS_PSA_CRYPTO_C and/or MBEDTLS_MD_C and/or "
|
||||||
"MBEDTLS_AES_C and/or MBEDTLS_GCM_C and/or "
|
"MBEDTLS_AES_C and/or MBEDTLS_GCM_C and/or "
|
||||||
"MBEDTLS_CHACHAPOLY_C not defined.\r\n" );
|
"MBEDTLS_CHACHAPOLY_C not defined, and/or "
|
||||||
|
"MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER defined\r\n" );
|
||||||
return( 0 );
|
return( 0 );
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -34,10 +34,12 @@
|
||||||
|
|
||||||
#include "mbedtls/build_info.h"
|
#include "mbedtls/build_info.h"
|
||||||
|
|
||||||
#if !defined(MBEDTLS_PSA_CRYPTO_C) || !defined(MBEDTLS_MD_C)
|
#if !defined(MBEDTLS_PSA_CRYPTO_C) || !defined(MBEDTLS_MD_C) || \
|
||||||
|
defined(MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER)
|
||||||
int main( void )
|
int main( void )
|
||||||
{
|
{
|
||||||
printf( "MBEDTLS_PSA_CRYPTO_C and/or MBEDTLS_MD_C not defined.\r\n" );
|
printf( "MBEDTLS_PSA_CRYPTO_C and/or MBEDTLS_MD_C not defined, "
|
||||||
|
"and/or MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER defined\r\n" );
|
||||||
return( 0 );
|
return( 0 );
|
||||||
}
|
}
|
||||||
#else /* MBEDTLS_PSA_CRYPTO_C && MBEDTLS_MD_C */
|
#else /* MBEDTLS_PSA_CRYPTO_C && MBEDTLS_MD_C */
|
||||||
|
|
Loading…
Reference in a new issue