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

Use small Curve25519 for wasm32 & other non-{aarch64,x86_64}. #1746

Merged
merged 1 commit into from
Oct 14, 2023

Commits on Oct 14, 2023

  1. Use small Curve25519 for wasm32 & other non-{aarch64,x86_64}.

    Enable `ring::agreement` for wasm32 targets using the small
    implementation of Curve25519.
    
    Use the small Curve25519 implementation of Curve25519 (and
    P-256) for all targets except for Aarch64 and x86-64.
    
    Besides being smaller, the small implementations are likely
    more resistant to compiler-introduced side-channels, which
    is especially important for the wasm32 virtual machine and
    other targets that we don't QA as thoroughly as AAarch64
    and x86-64.
    
    Bring in the previously-removed definition of `fe_mul_llt`
    from BoringSSL as of commit
    8d71d24.
    briansmith committed Oct 14, 2023
    Configuration menu
    Copy the full SHA
    870180e View commit details
    Browse the repository at this point in the history