comparison 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
comparison
equal deleted inserted replaced
766:d1575fdc29a6 767:e465ed10c51d
1 #include "includes.h" 1 #include "includes.h"
2 #include "dbutil.h" 2 #include "dbutil.h"
3 #include "crypto_desc.h" 3 #include "crypto_desc.h"
4 #include "ltc_prng.h" 4 #include "ltc_prng.h"
5 #include "ecc.h"
5 6
6 #ifdef DROPBEAR_LTC_PRNG 7 #ifdef DROPBEAR_LTC_PRNG
7 int dropbear_ltc_prng = -1; 8 int dropbear_ltc_prng = -1;
8 #endif 9 #endif
9 10
66 } 67 }
67 #endif 68 #endif
68 69
69 #ifdef DROPBEAR_ECC 70 #ifdef DROPBEAR_ECC
70 ltc_mp = ltm_desc; 71 ltc_mp = ltm_desc;
72 dropbear_ecc_fill_dp();
71 #endif 73 #endif
72 } 74 }
73 75