Skip to content
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

✨ Add aarch64 SIMD keccak #31

Merged
merged 7 commits into from
Nov 10, 2023
Merged

✨ Add aarch64 SIMD keccak #31

merged 7 commits into from
Nov 10, 2023

Conversation

clabby
Copy link
Collaborator

@clabby clabby commented Oct 23, 2023

Overview

Adds an aarch64-specific SIMD keccak implementation.

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.
@clabby clabby marked this pull request as ready for review November 10, 2023 16:41
@clabby clabby force-pushed the cl/aarch64-simd-keccak branch 12 times, most recently from 3978e50 to e3fd9c2 Compare November 10, 2023 20:08
@clabby clabby merged commit 87fcea0 into main Nov 10, 2023
4 checks passed
@clabby clabby deleted the cl/aarch64-simd-keccak branch November 10, 2023 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant