Commit Graph

21 Commits

Author SHA1 Message Date
Arthur Britto
e46149819d Remove use of deprecated crypto code. 2012-06-13 11:56:01 -07:00
Arthur Britto
d4a057cfcd Make NewcoinAddress use new crypto primatives and add unit test. 2012-06-12 23:01:19 -07:00
JoelKatz
51ba107e2c Fix breakage. 2012-06-09 02:22:00 -07:00
JoelKatz
bb54bf8c1d Change some BN_free to BN_clear_free 2012-06-08 22:21:16 -07:00
JoelKatz
f92d5b6ceb Untie the dependencies between NewcoinAddress and BIGNUM. 2012-06-08 20:47:05 -07:00
JoelKatz
b70cdd7fa4 Make Get/Set PrivateKeyU work. 2012-06-08 16:13:24 -07:00
JoelKatz
0f16669987 Bufix. 2012-06-08 15:56:41 -07:00
JoelKatz
17c57e7819 Add skeleton of new code. 2012-06-08 15:55:52 -07:00
JoelKatz
574f86bb4d Small cleanups. 2012-05-28 05:05:29 -07:00
JoelKatz
735259b2eb Pass by ref 2012-05-28 04:28:48 -07:00
JoelKatz
de59306fec Fix some const-correctness issues. Add a Verify helper that takes a string. 2012-05-21 19:38:30 -07:00
JoelKatz
4e1f435655 CKey::SetPubKey(const std::string&); 2012-05-21 06:04:51 -07:00
JoelKatz
ce60836ac4 Allow signatures, public keys, and private keys to vary in length. If this
breaks anything, we'll fix it.
2012-05-18 19:45:55 -07:00
JoelKatz
c029ca8427 Out of extreme paranoia, ensure HMAC key and ENC key are different. 2012-04-07 05:11:06 -07:00
JoelKatz
7f623047cc Finalize code. Add unit test. 2012-04-05 19:53:35 -07:00
JoelKatz
b7d72553ec Add the ECIES definitions. I'm going to put them in their own file. 2012-04-04 15:06:06 -07:00
JoelKatz
c2c94b8a8b The crux of ECIES. Generate a secret from two EC keys.
At least one private key must be known, but it doesn't matter which.
2012-04-04 12:45:54 -07:00
Arthur Britto
d0eb4567ba NewcoinAddress fixes and work towards unls. 2012-03-20 15:20:39 -07:00
Arthur Britto
925cc6ff86 Many fixes and clean up for NewcoinAddress. 2012-03-18 19:00:28 -07:00
Arthur Britto
73ff9b95ad Rework addresses. 2012-03-17 20:19:09 -07:00
Arthur Britto
c513e45754 Move sources to src and build objs in obj. 2012-03-06 22:43:06 -08:00