8000 Comparing briansmith:main...maan2003:main · briansmith/ring · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: briansmith/ring
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: maan2003/ring
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 5 commits
  • 121 files changed
  • 2 contributors

Commits on May 31, 2023

  1. backport: wasm32: Add a wasm32_unknown_unknown_js feature to contro…

    …l use of web APIs.
    
    Planning ahead for when WASI is to be supported, require the user to opt into
    using web APIs for thw wasm32-unknown-unknown target with a new feature, since
    wasm32-unknown-unknown could be used for either web or non-web environments.
    
    Don't bother updating the tests to use this new flag, since the tests aren't
    part of the "public API" of *ring*. When we add support for other WebAssembly
    environments (e.g. WASI) we'll update the tests then.
    briansmith authored and maan2003 committed May 31, 2023
    Configuration menu
    Copy the full SHA
    2627f92 View commit details
    Browse the repository at this point in the history
  2. backport: Separate Counter and Iv for AES-CTR & ChaCha20; clarify…

    … alignment.
    
    Ensure we're always passing in u32-aligned values to `GFp_ChaCha20_ctr32`.
    
    Get rid of the attempt to abstract away the difference between ChaCha20
    and AES-CTR w.r.t. counters and IVs. The abstraction wasn't actually used
    by any shared code. The AES-CTR (GCM) code does endian conversion in the
    assembly so endian conversion cannot easily be deferred to later. For
    ChaCha20, it makes more sense to do endian conversion at the time of
    `Counter`/`Iv` construction. Despite the slight duplication of logic in
    having two `Counter` types and two `Iv` types, this is actually a net
    reduction of code. If we ever have a third implementation of these types
    we can apply the Rule of Three to factor out the commonality.
    briansmith authored and maan2003 committed May 31, 2023
    Configuration menu
    Copy the full SHA
    2084083 View commit details
    Browse the repository at this point in the history
  3. backport: Add a Rust ChaCha20 implementation.

    See the comments in fallback.rs for more details on the origin.
    briansmith authored and maan2003 committed May 31, 2023
    Configuration menu
    Copy the full SHA
    c99b264 View commit details
    Browse the repository at this point in the history
  4. wip: disable tests for now

    maan2003 committed May 31, 2023
    Configuration menu
    Copy the full SHA
    2645d8a View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2023

  1. pregenerate asm

    perl should be in PATH
    nasm should be at ./target/tools/nasm
    cargo run --manifest-path pregenerate_asm/Cargo.toml
    maan2003 committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    52a1294 View commit details
    Browse the repository at this point in the history
Loading
0