mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2026-04-20 22:05:15 +00: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:
parent
7e62c31097
commit
db0e50ea70
7 changed files with 50 additions and 14 deletions
|
|
@ -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 )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue