RustCrypto / asm-hashes

Assembly implementations of cryptographic hash functions
46 stars 26 forks source link

Change compression functions to accept &[Block] instead of &Block #26

Closed newpavlov closed 5 months ago

newpavlov commented 3 years ago

It will allow us to prevent hasher state from spilling to memory after processing each block (e.g. by encoding tight loop inside assembly).

newpavlov commented 3 years ago

Public API of the crates has been appropriately changed, but assembly still processes one block at a time.

newpavlov commented 5 months ago

We decided to deprecate these crates and future ASM backends will be implemented directly in the hash implementations crats.