Commit graph

60 commits

Author SHA1 Message Date
Eric Frias
3d02e3bc00 Wrap OpenSSL's random number generator in fc clothing 2014-04-02 08:54:13 -04:00
dnotestein
10127a854c Merge branch 'phoenix' of https://github.com/InvictusInnovations/fc into phoenix
Conflicts:
	src/crypto/elliptic.cpp
2014-03-30 18:32:20 -04:00
dnotestein
f09c91f878 added hash64 function that uses sha256 to replace city_hash in blockchain and message protocol-related hashing 2014-03-30 14:16:33 -04:00
Daniel Larimer
5f9dfa9a42 update http code 2014-03-27 19:53:40 -04:00
Daniel Larimer
987568e31b update apis 2014-03-27 01:09:08 -04:00
vogel76
163be8a6d0 [BW]: [NIP] Added public_key::to_base58 text conversion to simplify contact display_name generation at bts side. 2014-03-03 11:31:08 +01:00
Daniel Larimer
4b2d221c05 fix ecc point seralization 2014-02-27 23:35:24 -05:00
BrownBear
46bfcfe74d added missing files: romix.[hc]pp 2014-02-27 12:37:23 +01:00
BrownBear2
49ff83922b added romix kdf and cfb for aes 2014-02-26 12:05:17 +01:00
Tzadik Vanderhoof
0761d32d01 safer sha256 binary constructor 2014-02-24 02:08:48 -05:00
Tzadik Vanderhoof
57769e4df9 BSX-21 Import Bitcoin Private Key from String 2014-02-24 00:47:00 -05:00
Nicolas Wack
30ee9868e6 Fix compilation on mac os with clang/libc++ 2014-02-22 19:27:53 +01:00
batmaninpink
1e509fa1a9 added support for scrypt key derivation needed for multibit wallet support 2014-02-18 08:59:17 +01:00
Daniel Larimer
5178ca8c1a added api methods to encryption functions 2014-02-16 21:28:55 -05:00
dnotestein
68281f4dc0 Added get_typename function needed by new leveldb database upgrading code (uint160 is stored in blockchain database). 2014-02-11 23:10:24 -05:00
Daniel Larimer
09c84c1731 fixes to build under clang++ 2014-02-06 03:22:09 -05:00
Daniel Larimer
0db28ec6de Merge pull request #3 from wackou/fix_clang_compile
Fix clang compile
2014-02-06 02:46:43 -05:00
Daniel Larimer
52a4a46cca std::hash supprot for sha256 2014-01-30 15:10:05 -05:00
batmaninpink
ccd2bbe7b2 expose aes_decrypt for use elsewhere 2014-01-20 15:17:39 +01:00
Nicolas Wack
271781f78c Fix compilation with clang/libc++
The issue was that redeclaring the hash template in the code somehow seems to shadow the declaration that is done in <functional> and <memory> and afterwards the template specialization of the hash function seems to use our redefined template instead of libc++’s one (most likely due to the fact that libc++ uses an inline namespace inside std)
2014-01-19 19:30:42 +01:00
Daniel Larimer
b8a9c77269 adding helper function to return uncompressed ecc pub key 2013-12-09 22:25:59 -05:00
dnotestein
760c94d20f Untested popcnt code for Windows 2013-09-22 14:10:40 -04:00
Daniel Larimer
81c0290568 raw pack of fc::path 2013-09-21 22:48:50 -04:00
Daniel Larimer
3da6a03987 adding not equal operator to fc::ecc::public_key 2013-09-13 23:13:11 -04:00
Daniel Larimer
68b9fafe9a disable padding for aes_encoder and decoder 2013-09-05 22:09:12 -04:00
Daniel Larimer
8c95d62c9e two phase init of aes encoder/decoder 2013-09-05 19:02:10 -04:00
Daniel Larimer
be836e3e47 add stream-based aes decryption 2013-09-05 18:49:55 -04:00
Daniel Larimer
b615522217 add typedefs for forward compat 2013-08-31 13:56:59 -04:00
Daniel Larimer
5bf5cf9219 adding aes_load and aes_save methods 2013-08-31 13:12:55 -04:00
Daniel Larimer
3acfe018b1 various updates 2013-08-25 01:24:07 -04:00
Daniel Larimer
6a1f42aba0 adding new crypto apis 2013-08-24 04:25:03 -04:00
Daniel Larimer
9410980885 various updates 2013-08-23 20:14:46 -04:00
Daniel Larimer
c88ce7984e adding more helper methods to time and elliptic crypto 2013-08-15 19:36:54 -04:00
Daniel Larimer
f954ff1a25 fix bugs with bigint 2013-08-14 01:11:48 -04:00
Daniel Larimer
311a9652d4 bug fixes and tests for aes 2013-08-13 13:57:39 -04:00
Daniel Larimer
e19c3327a0 adding aes encryption and openssl wrapper cleanup 2013-08-13 12:58:55 -04:00
Daniel Larimer
ec4d12f6a4 added additional operators 2013-08-12 14:42:54 -04:00
Daniel Larimer
1f03f67d1d added new elliptic curve crypto methods 2013-08-10 02:33:15 -04:00
Daniel Larimer
fbadc5bdfa fix uninitialized variables in ecc::compact_signature (fc::array) and a few other places 2013-08-02 14:32:59 -04:00
Daniel Larimer
8a9d0c9e13 adding ripemd160 2013-07-28 10:49:45 -04:00
Daniel Larimer
c8839553c0 updated 128bit int math and bigint 2013-07-28 02:13:31 -04:00
Daniel Larimer
637372bbc2 unify city uint128 with new uint128 class 2013-07-26 23:26:51 -04:00
Daniel Larimer
72a1c45905 more bigint operators 2013-07-19 23:50:04 -04:00
Daniel Larimer
4ea60ef088 fix crashes in ecc handling with nullptr 2013-07-18 19:08:58 -04:00
Daniel Larimer
2ef8cfa06e fix bigint bugs 2013-07-17 20:55:36 -04:00
Daniel Larimer
87542eba25 adding city hash 2013-07-17 11:50:45 -04:00
Daniel Larimer
a0f41aa397 various updates and enhancements to crypto and network code 2013-07-17 02:01:35 -04:00
Daniel Larimer
d40636f5af removing header for defucnt super_fast_hash 2013-07-12 01:19:07 -04:00
Daniel Larimer
79cd431503 Fixed constness of ecc::private_key call 2013-07-11 01:26:54 -04:00
Daniel Larimer
a8ab947b20 fix sha224 serialization / sizeof 2013-07-05 20:29:07 -04:00