LedgerHQ / app-monero

Monero wallet application for Ledger Nano S & X
Apache License 2.0
273 stars 101 forks source link

Do not call cx_hash with CX_NO_REINIT #54

Closed niooss-ledger closed 4 years ago

niooss-ledger commented 4 years ago

Currently monero_hash_final() calls cx_hash(CX_LAST) and monero_hash() calls cx_hash(CX_LAST|CX_NO_REINIT). This is quite confusing.

As option CX_NO_REINIT is not used by cx_hash anyway, drop it.

grydz commented 4 years ago

Thank you.