mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-05-13 07:14:28 +02:00
Remove curve parameter from public functions
This commit is contained in:
@@ -97,7 +97,7 @@ extern "C" {
|
||||
* @warning A cryptographically-secure PRNG function must be set (using
|
||||
* uECC_set_rng()) before calling uECC_make_key().
|
||||
*/
|
||||
int uECC_make_key(uint8_t *p_public_key, uint8_t *p_private_key, uECC_Curve curve);
|
||||
int uECC_make_key(uint8_t *p_public_key, uint8_t *p_private_key);
|
||||
|
||||
#ifdef ENABLE_TESTS
|
||||
|
||||
@@ -108,7 +108,7 @@ int uECC_make_key(uint8_t *p_public_key, uint8_t *p_private_key, uECC_Curve curv
|
||||
* uECC_make_key() function for real applications.
|
||||
*/
|
||||
int uECC_make_key_with_d(uint8_t *p_public_key, uint8_t *p_private_key,
|
||||
unsigned int *d, uECC_Curve curve);
|
||||
unsigned int *d);
|
||||
#endif
|
||||
|
||||
/**
|
||||
@@ -128,7 +128,7 @@ int uECC_make_key_with_d(uint8_t *p_public_key, uint8_t *p_private_key,
|
||||
* order to produce a cryptographically secure symmetric key.
|
||||
*/
|
||||
int uECC_shared_secret(const uint8_t *p_public_key, const uint8_t *p_private_key,
|
||||
uint8_t *p_secret, uECC_Curve curve);
|
||||
uint8_t *p_secret);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user