Pavol Rusnak
eacfa751f9
base58: bail out when output buffer is empty
2018-10-23 18:01:44 +02:00
Dusan Klinec
4aea73e4bb
xmr: monero crypto implemented, tests
2018-09-03 16:22:35 +02:00
Saleem Rashid
c70e440128
hasher: Replace hasher_Double with HASHER_*D
...
This allows us to finely control when to use a single hash or a double hash in
various places. For example, Bitcoin signatures use double SHA256, but Decred
signatures use a single BLAKE256. However, both use double hashes for Base58.
2018-04-03 18:28:06 +02:00
Jochen Hoenicke
3d7d99a3e3
Fix out of bounds read
...
b58tobin needs to check if there are more leading zeros requested by
the address than there are available
2018-03-27 15:04:55 +02:00
Pavol Rusnak
bb4c3d0525
introduce and use memzero instead of explicit_bzero
2018-01-18 15:18:09 +01:00
Pavol Rusnak
b7f73ee3ff
use explicit_bzero
2018-01-16 19:41:27 +01:00
Saleem Rashid
b41a51805f
Use hasher_Raw instead of sha256_Raw
2017-12-10 20:07:13 +01:00
Saleem Rashid
a07a89a421
GCC 7.1.1 -Wimplicit-fallthrough comments
...
Use //-fallthrough rather than __attribute__((fallthrough))
2017-06-08 22:00:32 +02:00
Fabian Schuh
54cc18c493
Steem integration
2016-10-16 01:41:20 +02:00
Jochen Hoenicke
c6e7d376b7
Handle b58 address with shorter lengths
2016-04-27 23:15:53 +02:00
Pavol Rusnak
21d0bb437a
cleanup coding style
2015-04-13 18:19:33 +02:00
netanelkl
70dc71c87e
Some more stack memory wipe before leaving functions.
...
Note that I preferred to change the multiple returns to multiple checks
of a boolean to concentrate the erase into the last part of the
functions.
2015-04-09 14:17:47 -04:00
Pavol Rusnak
89a7d7797b
replace base58 implementation
2014-12-23 03:11:58 +01:00
Pavol Rusnak
22b0dd2e62
fix warning in base58
2014-06-07 14:05:59 +02:00
Pavol Rusnak
5e9cd15527
use new base58 code for address functions, add function for obtaining wif
2014-05-22 22:29:53 +02:00
Pavol Rusnak
4b1211e0ae
extract base58 functions to separate source file
2014-05-22 21:52:04 +02:00