An implementation of Keccak derived functions specified in FIPS-202, SP800-185 and KangarooTwelve
Creative Commons Zero v1.0 Universal
194
stars
50
forks
source link
clean up some unsafety, help LLVM elide bounds checks #5
Closed
rphmeier closed 8 years ago
Actually got faster (reproducible for me, may want to check on other machines)
Benches After:
Before:
Comparison After:
Before:
It would be nice to get rid of
as_bytes_slice
unsafety, but I don't see a way of doing it without likely hurting performance.