From 4218dcda6df6c173b155bbd11f9ad189c2458bb3 Mon Sep 17 00:00:00 2001 From: kokke Date: Thu, 17 May 2018 01:07:00 +0200 Subject: [PATCH] Update ecdh_example.c --- ecdh_example.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ecdh_example.c b/ecdh_example.c index 6627a8f..b94380b 100644 --- a/ecdh_example.c +++ b/ecdh_example.c @@ -119,8 +119,8 @@ static void ecdh_demo(void) } - -void ecdsa_demo() +/* WARNING: This is not working correctly. ECDSA is not working... */ +void ecdsa_broken() { static uint8_t prv[ECC_PRV_KEY_SIZE]; static uint8_t pub[ECC_PUB_KEY_SIZE]; @@ -163,7 +163,7 @@ int main(int argc, char* argv[]) for (i = 0; i < ncycles; ++i) { ecdh_demo(); - ecdsa_demo(); + ecdsa_broken(); } return 0;