mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-11 06:45:36 +00:00
Optimize baremetal ECP configuration
This commit is contained in:
parent
43fa8d645b
commit
085ab567ae
|
@ -55,6 +55,10 @@
|
||||||
#define MBEDTLS_ECP_DP_SECP256R1_ENABLED
|
#define MBEDTLS_ECP_DP_SECP256R1_ENABLED
|
||||||
#define MBEDTLS_ECP_NIST_OPTIM
|
#define MBEDTLS_ECP_NIST_OPTIM
|
||||||
#define MBEDTLS_ECDSA_DETERMINISTIC
|
#define MBEDTLS_ECDSA_DETERMINISTIC
|
||||||
|
#define MBEDTLS_ECP_WINDOW_SIZE 2
|
||||||
|
#define MBEDTLS_ECP_FIXED_POINT_OPTIM 0
|
||||||
|
#define MBEDTLS_ECP_MAX_BITS 256
|
||||||
|
#define MBEDTLS_MPI_MAX_SIZE 32 // 256 bits is 32 bytes
|
||||||
|
|
||||||
/* Key exchanges */
|
/* Key exchanges */
|
||||||
#define MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
|
#define MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
|
||||||
|
|
Loading…
Reference in a new issue