1
0
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:
Ron Eldor
2017-06-18 17:57:51 +03:00
parent 45d269555b
commit 433f39c437
4 changed files with 10 additions and 1 deletions

View File

@ -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
*/