enable-fpecc enable-ecc

pull/1/head
kaleb-himes 2015-01-06 13:42:02 -07:00
parent a990a5cebf
commit ce65bef5a8
3 changed files with 5 additions and 5 deletions

View File

@ -5495,7 +5495,7 @@ int wolfSSL_Cleanup(void)
ret = BAD_MUTEX_E;
#if defined(HAVE_ECC) && defined(FP_ECC)
ecc_fp_free();
wc_ecc_fp_free();
#endif
return ret;

View File

@ -29,7 +29,7 @@
#include <wolfssl/wolfcrypt/settings.h>
#ifdef HAVE_ECC
#include <wolfssl/wolfcrypt/ecc.h> /* ecc_fp_free */
#include <wolfssl/wolfcrypt/ecc.h> /* wc_ecc_fp_free */
#endif
#include <wolfssl/error-ssl.h>
@ -409,7 +409,7 @@ done:
#if defined(NO_MAIN_DRIVER) && defined(HAVE_ECC) && defined(FP_ECC) \
&& defined(HAVE_THREAD_LS)
ecc_fp_free(); /* free per thread cache */
wc_ecc_fp_free(); /* free per thread cache */
#endif
#ifndef WOLFSSL_TIRTOS
@ -603,7 +603,7 @@ static THREAD_RETURN WOLFSSL_THREAD run_wolfssl_server(void* args)
#if defined(NO_MAIN_DRIVER) && defined(HAVE_ECC) && defined(FP_ECC) \
&& defined(HAVE_THREAD_LS)
ecc_fp_free(); /* free per thread cache */
wc_ecc_fp_free(); /* free per thread cache */
#endif
#ifndef WOLFSSL_TIRTOS

View File

@ -264,7 +264,7 @@ int benchmark_test(void *args)
bench_eccKeyGen();
bench_eccKeyAgree();
#if defined(FP_ECC)
ecc_fp_free();
wc_ecc_fp_free();
#endif
#endif