-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
♻️ Use 64 byte specific keccak instruction,
The `keccak256-aarch64-simd` crate includes a function that can accept variable-lengthed inputs, however this function has a bit of overhead due to manual padding. The input size to `keccak256` is fixed to 64 bytes here, so we can take advantage of the `simd_keccak_64b_single` function to reduce padding overhead.
- Loading branch information
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters