Mercurial > dropbear
diff crypto_desc.c @ 767:e465ed10c51d ecc
Be safer with how we handle ltc_ecc_sets[] (particularly with
system libtomcrypt)
A bit of progress with ecdsa code
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 09 Apr 2013 22:44:19 +0800 |
parents | d1575fdc29a6 |
children | 89555751c489 750ec4ec4cbe |
line wrap: on
line diff
--- a/crypto_desc.c Tue Apr 09 00:36:04 2013 +0800 +++ b/crypto_desc.c Tue Apr 09 22:44:19 2013 +0800 @@ -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 @@ #ifdef DROPBEAR_ECC ltc_mp = ltm_desc; + dropbear_ecc_fill_dp(); #endif }