summaryrefslogtreecommitdiff
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
commit6efaae829993371789dd8bb851f9043319553d9a (patch)
tree343f113967d44bf8f03b2b063daeb0a28f1f33b9 /crypto_desc.c
parentda9eb9946aa0ef4bcfdb2cee5da56cb2db518d3d (diff)
downloaddropbear-6efaae829993371789dd8bb851f9043319553d9a.tar.gz
Be safer with how we handle ltc_ecc_sets[] (particularly with
system libtomcrypt) A bit of progress with ecdsa code
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
}