mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 08:55:40 +01:00
Fixup: Guard numerous legacy-ECC PK parse functions by !TinyCrypt
This commit is contained in:
parent
d336f721c0
commit
3bef643987
@ -246,6 +246,8 @@ static int pk_get_ecparams( unsigned char **p, const unsigned char *end,
|
||||
}
|
||||
#endif /* MBEDTLS_ECP_C || MBEDTLS_USE_TINYCRYPT */
|
||||
|
||||
#if !defined(MBEDTLS_USE_TINYCRYPT)
|
||||
|
||||
#if defined(MBEDTLS_ECP_C)
|
||||
#if defined(MBEDTLS_PK_PARSE_EC_EXTENDED)
|
||||
/*
|
||||
@ -542,6 +544,7 @@ static int pk_get_ecpubkey( unsigned char **p, const unsigned char *end,
|
||||
return( ret );
|
||||
}
|
||||
#endif /* MBEDTLS_ECP_C */
|
||||
#endif /* !MBEDTLS_USE_TINYCRYPT */
|
||||
|
||||
#if defined(MBEDTLS_USE_TINYCRYPT)
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user