mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Add support for secp256k1 arithmetic
This commit is contained in:
@ -259,6 +259,9 @@
|
||||
#define POLARSSL_ECP_DP_SECP256R1_ENABLED
|
||||
#define POLARSSL_ECP_DP_SECP384R1_ENABLED
|
||||
#define POLARSSL_ECP_DP_SECP521R1_ENABLED
|
||||
//#define POLARSSL_ECP_DP_SECP192K1_ENABLED // Not implemented yet!
|
||||
//#define POLARSSL_ECP_DP_SECP224K1_ENABLED // Not implemented yet!
|
||||
#define POLARSSL_ECP_DP_SECP256K1_ENABLED
|
||||
#define POLARSSL_ECP_DP_BP256R1_ENABLED
|
||||
#define POLARSSL_ECP_DP_BP384R1_ENABLED
|
||||
#define POLARSSL_ECP_DP_BP512R1_ENABLED
|
||||
|
@ -68,6 +68,9 @@ typedef enum
|
||||
POLARSSL_ECP_DP_M255, /*!< Curve25519 */
|
||||
POLARSSL_ECP_DP_M383, /*!< (not implemented yet) */
|
||||
POLARSSL_ECP_DP_M511, /*!< (not implemented yet) */
|
||||
POLARSSL_ECP_DP_SECP192K1, /*!< (not implemented yet) */
|
||||
POLARSSL_ECP_DP_SECP224K1, /*!< (not implemented yet) */
|
||||
POLARSSL_ECP_DP_SECP256K1, /*!< 256-bits Koblitz curve */
|
||||
} ecp_group_id;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user