-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specialize SIMD SHA-256 for half-length input, iterated hashing #5426
Comments
Additionally, we should probably be able to assume element 14 is zero in more cases - also for full length single-block or last block input - since for the only/last block it's high 32 bits of length (or high 64 for SHA-512). However, that would be a separate flag and it'd probably only be worth the overhead when building a specialized version (so the overhead would be removed by the compiler). |
Looks like these formats/uses would benefit from half-length input iterated hashing:
|
Implement changes to SIMD SHA-256 and to some formats that use it, similarly to what #5425 did for SHA-512.
The text was updated successfully, but these errors were encountered: