summaryrefslogtreecommitdiffhomepage
path: root/crypto_desc.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-04-09 22:44:19 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-04-09 22:44:19 +0800
commit9f01625e235fdee884692fdd6a98e9aeb02ed020 (patch)
treea96dfa04e52fda6fc8db0b46ba441a25edf64ac8 /crypto_desc.c
parent7f091e70196cdcfbf80d16d508e6bed0bce38022 (diff)
Be safer with how we handle ltc_ecc_sets[] (particularly with
system libtomcrypt) A bit of progress with ecdsa code --HG-- branch : ecc
Diffstat (limited to 'crypto_desc.c')
-rw-r--r--crypto_desc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto_desc.c b/crypto_desc.c
index 403e085..ed4de30 100644
--- a/crypto_desc.c
+++ b/crypto_desc.c
@@ -2,6 +2,7 @@
#include "dbutil.h"
#include "crypto_desc.h"
#include "ltc_prng.h"
+#include "ecc.h"
#ifdef DROPBEAR_LTC_PRNG
int dropbear_ltc_prng = -1;
@@ -68,6 +69,7 @@ void crypto_init() {
#ifdef DROPBEAR_ECC
ltc_mp = ltm_desc;
+ dropbear_ecc_fill_dp();
#endif
}