diff --git a/src/apps/monero/xmr/crypto.py b/src/apps/monero/xmr/crypto.py index c9c0c8eb5..8f96981e9 100644 --- a/src/apps/monero/xmr/crypto.py +++ b/src/apps/monero/xmr/crypto.py @@ -46,6 +46,14 @@ def keccak_hash(inp): return tcry.xmr_fast_hash(inp) +def keccak_hash_into(r, inp): + """ + Hashesh input in one call + :return: + """ + return tcry.xmr_fast_hash(r,inp) + + def keccak_2hash(inp): """ Keccak double hashing