mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-25 09:02:48 +00:00
build_info: auto enable PK_PARSE_EC_COMPRESSED when PK_PARSE_C && ECP_C
This helps backward compatibility since compressed points were always supported in previous releases as long as PK_PARSE_C and ECP_C were defined. Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
parent
15e7044627
commit
fdf15ddfbe
@ -149,6 +149,15 @@
|
|||||||
#define MBEDTLS_ECP_LIGHT
|
#define MBEDTLS_ECP_LIGHT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* MBEDTLS_PK_PARSE_EC_COMPRESSED is introduced in MbedTLS version 3.5, while
|
||||||
|
* in previous version compressed points were automatically supported as long
|
||||||
|
* as PK_PARSE_C and ECP_C were enabled. As a consequence, for backward
|
||||||
|
* compatibility, we auto-enable PK_PARSE_EC_COMPRESSED when these conditions
|
||||||
|
* are met. */
|
||||||
|
#if defined(MBEDTLS_PK_PARSE_C) && defined(MBEDTLS_ECP_C)
|
||||||
|
#define MBEDTLS_PK_PARSE_EC_COMPRESSED
|
||||||
|
#endif
|
||||||
|
|
||||||
/* If MBEDTLS_PSA_CRYPTO_C is defined, make sure MBEDTLS_PSA_CRYPTO_CLIENT
|
/* If MBEDTLS_PSA_CRYPTO_C is defined, make sure MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
* is defined as well to include all PSA code.
|
* is defined as well to include all PSA code.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user