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: RustCrypto/RSA
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.10.0-rc.8
Choose a base ref
...
head repository: RustCrypto/RSA
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.10.0-rc.9
Choose a head ref
  • 7 commits
  • 6 files changed
  • 3 contributors

Commits on Sep 26, 2025

  1. Cargo.lock: update dependencies (#583)

    Updates the following dependencies:
    
        $ cargo update
        Updating crates.io index
         Locking 49 packages to latest compatible versions
        Updating aead v0.6.0-rc.1 -> v0.6.0-rc.2
        Updating aes v0.9.0-rc.0 -> v0.9.0-rc.1
        Updating aes-gcm v0.11.0-rc.0 -> v0.11.0-rc.1
        Updating autocfg v1.4.0 -> v1.5.0
          Adding base16ct v0.3.0
        Updating bitflags v2.9.1 -> v2.9.4
        Updating cbc v0.2.0-rc.0 -> v0.2.0-rc.1
        Updating cfg-if v1.0.0 -> v1.0.3
        Updating crypto-bigint v0.7.0-rc.6 -> v0.7.0-rc.7
        Updating crypto-primes v0.7.0-pre.2 -> v0.7.0-pre.3
        Updating der v0.8.0-rc.7 -> v0.8.0-rc.9
        Updating digest v0.11.0-rc.1 -> v0.11.0-rc.2
        Updating errno v0.3.12 -> v0.3.14
        Updating ghash v0.6.0-rc.1 -> v0.6.0-rc.2
        Updating hmac v0.13.0-rc.0 -> v0.13.0-rc.2
        Updating hybrid-array v0.4.0 -> v0.4.4
        Updating keccak v0.2.0-pre.0 -> v0.2.0-rc.0
        Updating libc v0.2.172 -> v0.2.176
        Updating linux-raw-sys v0.9.4 -> v0.11.0
        Updating memchr v2.7.4 -> v2.7.6
        Updating pbkdf2 v0.13.0-rc.0 -> v0.13.0-rc.1
        Updating pkcs1 v0.8.0-rc.3 -> v0.8.0-rc.4
        Updating pkcs5 v0.8.0-rc.6 -> v0.8.0-rc.8
        Updating pkcs8 v0.11.0-rc.6 -> v0.11.0-rc.7
        Updating polyval v0.7.0-rc.1 -> v0.7.0-rc.2
        Updating proc-macro2 v1.0.95 -> v1.0.101
        Updating proptest v1.7.0 -> v1.8.0
        Updating r-efi v5.2.0 -> v5.3.0
        Updating rand v0.9.1 -> v0.9.2
        Updating regex-syntax v0.8.5 -> v0.8.6
        Updating rustix v1.0.7 -> v1.1.2
        Updating scrypt v0.12.0-rc.1 -> v0.12.0-rc.2
        Updating serde v1.0.219 -> v1.0.227
          Adding serde_core v1.0.227
        Updating serde_derive v1.0.219 -> v1.0.227
        Updating serde_json v1.0.140 -> v1.0.145
        Updating serdect v0.4.0 -> v0.4.1
        Updating sha3 v0.11.0-rc.2 -> v0.11.0-rc.3
        Updating syn v2.0.101 -> v2.0.106
        Updating tempfile v3.20.0 -> v3.23.0
        Updating unicode-ident v1.0.18 -> v1.0.19
        Updating universal-hash v0.6.0-rc.1 -> v0.6.0-rc.2
        Updating wasi v0.14.2+wasi-0.2.4 -> v0.14.7+wasi-0.2.4
          Adding wasip2 v1.0.1+wasi-0.2.4
          Adding windows-link v0.2.0
        Updating windows-sys v0.59.0 -> v0.61.1
        Removing windows-targets v0.52.6
        Removing windows_aarch64_gnullvm v0.52.6
        Removing windows_aarch64_msvc v0.52.6
        Removing windows_i686_gnu v0.52.6
        Removing windows_i686_gnullvm v0.52.6
        Removing windows_i686_msvc v0.52.6
        Removing windows_x86_64_gnu v0.52.6
        Removing windows_x86_64_gnullvm v0.52.6
        Removing windows_x86_64_msvc v0.52.6
          Adding wit-bindgen v0.46.0
        Removing wit-bindgen-rt v0.39.0
        Updating zerocopy v0.8.25 -> v0.8.27
        Updating zerocopy-derive v0.8.25 -> v0.8.27
    tarcieri authored Sep 26, 2025
    Configuration menu
    Copy the full SHA
    e51df00 View commit details
    Browse the repository at this point in the history
  2. rstest parametrizing for threading test cases (#582)

    Changed tests to use the rstest #571. 
    On my machine it makes the test (`--release`) run about 40% faster (2.8s
    to 1.6s)
    
    Places where the pattern was `let tests = [...]` with only one test
    case, I changed to use rstest, since this makes adding more test cases
    easier. I assumed that was the reason for the `tests` variable being
    there despite there only being one test case.
    LWEdslev authored Sep 26, 2025
    Configuration menu
    Copy the full SHA
    4ff59f6 View commit details
    Browse the repository at this point in the history
  3. Bump serdect to v0.4 (#584)

    tarcieri authored Sep 26, 2025
    Configuration menu
    Copy the full SHA
    62e4ced View commit details
    Browse the repository at this point in the history
  4. wycheproof: add git submodule update --init to error message (#585)

    It's otherwise unclear what needs to be done to address these errors in
    the event the wycheproof submodule has not been initialized
    tarcieri authored Sep 26, 2025
    Configuration menu
    Copy the full SHA
    bb0468e View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2025

  1. fixup support for subtle feature in hybrid-array (#586)

    When a downstream crate enables the `subtle` feature in `hybrid-array`,
    the crate would fail to compile:
    ```
    src/algorithms/pss.rs:375:31
        |
    375 |     if (salt_valid & h0.ct_eq(h)).into() {
        |                         ----- ^ expected `&Array<u8, ...>`, found `&mut [u8]`
        |                         |
        |                         arguments to this method are incorrect
        |
        = note:      expected reference `&Array<u8, <D as OutputSizeUser>::OutputSize>`
                found mutable reference `&mut [u8]`
    ```
    
    This is because the `hybrid_array::Array` was automatically deref'ed to
    a slice. Now `Array` implements `subtle::ConstantTimeEq` that automatic
    deref no longer happens.
    
    This commit fixes that by converting one of the arguments of the
    conversion that brings back the auto-deref.
    
    Thanks to @tarcieri for the help debugging:
    RustCrypto/formats#2049 (comment)
    baloo authored Sep 30, 2025
    Configuration menu
    Copy the full SHA
    6e3e33e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    baf37f4 View commit details
    Browse the repository at this point in the history
  3. v0.10.0-rc.9 (#588)

    tarcieri authored Sep 30, 2025
    Configuration menu
    Copy the full SHA
    7ae85c1 View commit details
    Browse the repository at this point in the history
Loading