RustCrypto / hashes

Collection of cryptographic hash functions written in pure Rust
1.84k stars 247 forks source link

streebog: improve `adc` #587

Closed newpavlov closed 4 months ago

newpavlov commented 4 months ago

This change improves codegen for the update_sigma function on x86-64 targets as can be seen by comparing https://rust.godbolt.org/z/3Pa9deedT and https://rust.godbolt.org/z/Mdod5WPx4. On RISC-V both compile into the same assembly.