More changes for KEX and ECDH. Set up hash descriptors, make ECC code work,

ses.hash and ses.session_id are now buffers (doesn't compile)

--HG--
branch : ecc
This commit is contained in:
Matt Johnston
2013-03-29 00:28:09 +08:00
parent 5139bd42f6
commit b4bcc60657
14 changed files with 180 additions and 114 deletions

View File

@@ -27,6 +27,8 @@
#include "dbutil.h"
#include "bignum.h"
#include "random.h"
#include "ltc_prng.h"
/* this is used to generate unique output from the same hashpool */
static uint32_t counter = 0;