Skip to content

Speed up AES-GCM on aarch64 #163

@brian-pane

Description

@brian-pane

The Graviola implementation of AES-GCM on aarch64 is slower than aws-lc-rs. These are typical of the benchmark results I see on Apple M4:

aes128-gcm/aws-lc-rs/2KB
                        time:   [251.61 ns 252.00 ns 252.37 ns]

aes128-gcm/graviola/2KB time:   [307.78 ns 308.49 ns 309.27 ns]

If it won't interfere with anyone else's work, I'd like to try making a PR to stitch the AES and Ghash operations, similar to the current x86_64 implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions