Made supported curves configurable
This commit is contained in:
parent
e2ab84f4a1
commit
5dc6b5fb05
6 changed files with 141 additions and 12 deletions
|
@ -199,6 +199,20 @@
|
|||
#define POLARSSL_ENABLE_WEAK_CIPHERSUITES
|
||||
*/
|
||||
|
||||
/**
|
||||
* \def POLARSSL_ECP_XXXX_ENABLED
|
||||
*
|
||||
* Enables specific curves within the Elliptic Curve module.
|
||||
* By default all supported curves are enables.
|
||||
*
|
||||
* Comment macros to disable the curve and functions for it
|
||||
*/
|
||||
#define POLARSSL_ECP_DP_SECP192R1_ENABLED
|
||||
#define POLARSSL_ECP_DP_SECP224R1_ENABLED
|
||||
#define POLARSSL_ECP_DP_SECP256R1_ENABLED
|
||||
#define POLARSSL_ECP_DP_SECP384R1_ENABLED
|
||||
#define POLARSSL_ECP_DP_SECP521R1_ENABLED
|
||||
|
||||
/**
|
||||
* \def POLARSSL_KEY_EXCHANGE_PSK_ENABLED
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue