1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-21 05:48:23 +00:00
Commit Graph

5 Commits

Author SHA1 Message Date
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