Pavol Rusnak
ad51a5451c
hasher: use param_size in call to blake2b_InitPersonal
2019-02-16 15:04:34 +01:00
Pavol Rusnak
21391dc5be
hasher: add param_size to hasher_InitParam
2019-01-31 19:18:06 +01:00
Pavol Rusnak
8c2bac9594
hasher: don't hardcore zcash stuff into hasher
2019-01-31 19:05:53 +01:00
Pavol Rusnak
60b5b7032c
hasher: add HASHER_SAPLING_PREIMAGE
2018-10-16 11:29:45 +02:00
Pavol Rusnak
5d62454c6a
refactor hashers, introduce HASHER_SHA2_RIPEMD160
2018-08-01 15:03:43 +02:00
Pavol Rusnak
456037599f
hasher: add HASHER_SHA3{,K}
2018-07-31 14:20:18 +02:00
Pavol Rusnak
669acd7331
blake2b: add personal_len to blake2b_InitPersonal
2018-06-15 10:19:10 +02:00
Karel Bilek
620902b9b3
blake2b: Fix overwinter hashers
2018-06-15 10:13:24 +02:00
Pavol Rusnak
dba2361728
add overwinter hashers
2018-06-12 19:04:55 +02:00
Yura Pakhuchiy
08512053c4
Groestl hash: do it twice and truncate to 256 bits
2018-04-23 16:15:59 +02:00
Yura Pakhuchiy
2fdcebfbb6
Add Groestl hash
2018-04-23 16:15:59 +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
Saleem Rashid
6b813bc473
hasher: Add HASHER_BLAKE
2017-12-10 20:07:13 +01:00
Saleem Rashid
a70caa3dbc
hasher: Initial commit
2017-12-10 20:07:13 +01:00