Closed niooss-ledger closed 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.
monero_hash_final()
cx_hash(CX_LAST)
monero_hash()
cx_hash(CX_LAST|CX_NO_REINIT)
As option CX_NO_REINIT is not used by cx_hash anyway, drop it.
CX_NO_REINIT
cx_hash
Thank you.
Currently
monero_hash_final()
callscx_hash(CX_LAST)
andmonero_hash()
callscx_hash(CX_LAST|CX_NO_REINIT)
. This is quite confusing.As option
CX_NO_REINIT
is not used bycx_hash
anyway, drop it.