From cc5a789fb88a37a5dad9d42fbc528349ffac1c1a Mon Sep 17 00:00:00 2001 From: kokke Date: Wed, 16 May 2018 23:14:16 +0200 Subject: [PATCH] Update ecdh.h --- ecdh.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ecdh.h b/ecdh.h index 485e522..07362bf 100644 --- a/ecdh.h +++ b/ecdh.h @@ -93,6 +93,10 @@ int ecdh_generate_keys(uint8_t* public, uint8_t* private); int ecdh_shared_secret(const uint8_t* private, const uint8_t* others_pub, uint8_t* output); +/* Broken :( .... */ +int ecdsa_sign(const uint8_t* private, uint8_t* hash, uint8_t* random_k, uint8_t* signature); +int ecdsa_verify(const uint8_t* public, uint8_t* hash, const uint8_t* signature); + /******************************************************************************/