Make support for SpecifiedECDomain optional
This commit is contained in:
parent
5246ee5c59
commit
6fac3515d0
2 changed files with 25 additions and 2 deletions
|
@ -587,6 +587,20 @@
|
|||
*/
|
||||
#define POLARSSL_KEY_EXCHANGE_ECDH_RSA_ENABLED
|
||||
|
||||
/**
|
||||
* \def POLARSSL_PK_PARSE_EC_EXTENDED
|
||||
*
|
||||
* Enhance support for reading EC keys using variants of SEC1 not allowed by
|
||||
* RFC 5915 and RFC 5480.
|
||||
*
|
||||
* Currently this means parsing the SpecifiedECDomain choice of EC
|
||||
* parameters (only known groups are supported, not arbitrary domains, to
|
||||
* avoid validation issues).
|
||||
*
|
||||
* Disable if you only need to support RFC 5915 + 5480 key formats.
|
||||
*/
|
||||
#define POLARSSL_PK_PARSE_EC_EXTENDED
|
||||
|
||||
/**
|
||||
* \def POLARSSL_ERROR_STRERROR_BC
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue