mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-05-09 03:04:24 +02:00
Introduce MBEDTLS_OPTIMIZE_TINYCRYPT_ASM
Make the ASM optimizations in tinycrypt optional. Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
@@ -1850,6 +1850,14 @@ int query_config( const char *config )
|
||||
}
|
||||
#endif /* MBEDTLS_USE_TINYCRYPT */
|
||||
|
||||
#if defined(MBEDTLS_OPTIMIZE_TINYCRYPT_ASM)
|
||||
if( strcmp( "MBEDTLS_OPTIMIZE_TINYCRYPT_ASM", config ) == 0 )
|
||||
{
|
||||
MACRO_EXPANSION_TO_STR( MBEDTLS_OPTIMIZE_TINYCRYPT_ASM );
|
||||
return( 0 );
|
||||
}
|
||||
#endif /* MBEDTLS_OPTIMIZE_TINYCRYPT_ASM */
|
||||
|
||||
#if defined(MBEDTLS_ENTROPY_C)
|
||||
if( strcmp( "MBEDTLS_ENTROPY_C", config ) == 0 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user