mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
ECDH alternative implementation support
Add alternative implementation support for ECDH at the higher layer
This commit is contained in:
@ -38,6 +38,7 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#if !defined(MBEDTLS_ECDH_ALT)
|
||||
/*
|
||||
* Generate public key: simple wrapper around mbedtls_ecp_gen_keypair
|
||||
*/
|
||||
@ -81,7 +82,7 @@ cleanup:
|
||||
|
||||
return( ret );
|
||||
}
|
||||
|
||||
#endif /* MBEDTLS_ECDH_ALT */
|
||||
/*
|
||||
* Initialize context
|
||||
*/
|
||||
|
Reference in New Issue
Block a user