Skip to content

sha1-checked: hardware acceleration on arm64 #909

Description

@srijs

Hi everyone!

For a project I'm currently working with sha1-checked and have integrated the hardware acceleration available on arm64 for about ~2.2-2.4x better performance compared to the baseline, and landing within ~25% of plain unchecked SHA-1.

The downside is that it needs a little bit of unsafe code around the core::arch::aarch64 instrinsics, as well as a bit more complexity due to the runtime feature detection and branching.

Would there be interest in me upstreaming these changes?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions