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: golang/crypto Loading
base: v0.23.0
Choose a base ref
...
head repository: golang/crypto Loading
compare: v0.24.0
Choose a head ref
  • 8 commits
  • 20 files changed
  • 5 contributors

Commits on May 6, 2024

  1. sha3: simplify XOR functions

    name                   old time/op   new time/op   delta
    PermutationFunction-4    398ns ± 0%    399ns ± 1%    ~     (p=0.508 n=9+10)
    Sha3_512_MTU-4          8.34µs ± 1%   8.36µs ± 1%    ~     (p=0.101 n=10+10)
    Sha3_384_MTU-4          6.00µs ± 0%   6.02µs ± 1%  +0.47%  (p=0.000 n=8+10)
    Sha3_256_MTU-4          4.78µs ± 0%   4.79µs ± 1%    ~     (p=0.324 n=10+10)
    Sha3_224_MTU-4          4.57µs ± 1%   4.57µs ± 1%    ~     (p=0.288 n=10+10)
    Shake128_MTU-4          3.87µs ± 0%   3.86µs ± 1%  -0.22%  (p=0.008 n=9+9)
    Shake256_MTU-4          4.17µs ± 0%   4.17µs ± 0%    ~     (p=0.474 n=10+8)
    Shake256_16x-4          59.4µs ± 0%   59.7µs ± 0%  +0.48%  (p=0.000 n=9+8)
    Shake256_1MiB-4         3.19ms ± 1%   3.20ms ± 0%    ~     (p=0.105 n=10+10)
    Sha3_512_1MiB-4         5.97ms ± 0%   6.01ms ± 0%  +0.75%  (p=0.000 n=10+10)
    
    name                   old speed     new speed     delta
    PermutationFunction-4  502MB/s ± 0%  502MB/s ± 0%    ~     (p=0.497 n=9+10)
    Sha3_512_MTU-4         162MB/s ± 1%  161MB/s ± 1%    ~     (p=0.101 n=10+10)
    Sha3_384_MTU-4         225MB/s ± 0%  224MB/s ± 1%  -0.47%  (p=0.000 n=8+10)
    Sha3_256_MTU-4         282MB/s ± 0%  282MB/s ± 1%    ~     (p=0.325 n=10+10)
    Sha3_224_MTU-4         296MB/s ± 1%  295MB/s ± 1%    ~     (p=0.280 n=10+10)
    Shake128_MTU-4         349MB/s ± 0%  350MB/s ± 1%  +0.22%  (p=0.008 n=9+9)
    Shake256_MTU-4         324MB/s ± 0%  324MB/s ± 0%    ~     (p=0.459 n=10+8)
    Shake256_16x-4         276MB/s ± 0%  274MB/s ± 0%  -0.48%  (p=0.000 n=9+8)
    Shake256_1MiB-4        328MB/s ± 1%  327MB/s ± 0%    ~     (p=0.105 n=10+10)
    Sha3_512_1MiB-4        176MB/s ± 0%  174MB/s ± 0%  -0.74%  (p=0.000 n=10+10)
    
    Change-Id: Ib8e571f3c9a0f84096df2f38ca96da197ad5be30
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/544815
    Auto-Submit: Filippo Valsorda <[email protected]>
    Reviewed-by: Roland Shoemaker <[email protected]>
    Reviewed-by: Cherry Mui <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Mauri de Souza Meneguzzo <[email protected]>
    FiloSottile authored and gopherbot committed May 6, 2024
    Configuration menu
    Copy the full SHA
    10f366e View commit details
    Browse the repository at this point in the history

Commits on May 7, 2024

  1. sha3: disable s390x assembly

    It was integrated in such a way that it made devirtualization
    impossible, leading to allocations on every platform.
    
    It can be reintroduced according to AssemblyPolicy and TargetSpecific.
    
    Updates #64897
    
    Change-Id: I3a4edc91185c2928b2c9b80655a2bc8daa6b44e3
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/544816
    Reviewed-by: Roland Shoemaker <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Mauri de Souza Meneguzzo <[email protected]>
    Auto-Submit: Filippo Valsorda <[email protected]>
    Reviewed-by: Cherry Mui <[email protected]>
    FiloSottile authored and gopherbot committed May 7, 2024
    Configuration menu
    Copy the full SHA
    59b5a86 View commit details
    Browse the repository at this point in the history
  2. sha3: make APIs usable with zero allocations

    The "buf points into storage" pattern is nice, but causes the whole
    state struct to escape, since escape analysis can't track the pointer
    once it's assigned to buf.
    
    Change-Id: I31c0e83f946d66bedb5a180e96ab5d5e936eb322
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/544817
    Reviewed-by: Cherry Mui <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Roland Shoemaker <[email protected]>
    Reviewed-by: Mauri de Souza Meneguzzo <[email protected]>
    Auto-Submit: Filippo Valsorda <[email protected]>
    FiloSottile authored and gopherbot committed May 7, 2024
    Configuration menu
    Copy the full SHA
    477a5b4 View commit details
    Browse the repository at this point in the history
  3. sha3: reenable s390x assembly

    Fixes golang/go#64897
    
    Change-Id: I0c8c52d73a7d2df0f44fee36d407a87213f59bff
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/554435
    TryBot-Result: Gopher Robot <[email protected]>
    Reviewed-by: Cherry Mui <[email protected]>
    Reviewed-by: Filippo Valsorda <[email protected]>
    Reviewed-by: Roland Shoemaker <[email protected]>
    Auto-Submit: Filippo Valsorda <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    mauri870 authored and gopherbot committed May 7, 2024
    Configuration menu
    Copy the full SHA
    67b1361 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2024

  1. ssh: allow server auth callbacks to send additional banners

    Add a new BannerError error type that auth callbacks can return to send
    banner to the client. While the BannerCallback can send the initial
    banner message, auth callbacks might want to communicate more
    information to the client to help them diagnose failures.
    
    Updates golang/go#64962
    
    Change-Id: I97a26480ff4064b95a0a26042b0a5e19737cfb62
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/558695
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Roland Shoemaker <[email protected]>
    Reviewed-by: Nicola Murino <[email protected]>
    Auto-Submit: Nicola Murino <[email protected]>
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    awly authored and gopherbot committed May 22, 2024
    Configuration menu
    Copy the full SHA
    44c9b0f View commit details
    Browse the repository at this point in the history

Commits on May 29, 2024

  1. ssh: implement CryptoPublicKey on sk keys

    This commit implements the CryptoPublicKey interface for the
    skECDSAPublicKey and skEd25519PublicKey types.
    
    Fixes golang/go#62518
    
    Change-Id: I2b8ac89196fbb3614bf5c675127bed23f1cf6b26
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/526875
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Matthew Dempsky <[email protected]>
    Reviewed-by: Than McIntosh <[email protected]>
    Auto-Submit: Nicola Murino <[email protected]>
    Reviewed-by: Nicola Murino <[email protected]>
    maraino authored and gopherbot committed May 29, 2024
    Configuration menu
    Copy the full SHA
    349231f View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2024

  1. x509roots/fallback: update bundle

    This is an automated CL which updates the NSS root bundle.
    
    Change-Id: I8a1b9637e83214674e6fe82ebf584e9b90446ca3
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/589875
    Reviewed-by: Roland Shoemaker <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Auto-Submit: Gopher Robot <[email protected]>
    Reviewed-by: Damien Neil <[email protected]>
    gopherbot committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    0b431c7 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2024

  1. go.mod: update golang.org/x dependencies

    Update golang.org/x dependencies to their latest tagged versions.
    
    Change-Id: I105ee0f343768881d4fe3a2bfd1fcbaa7e1fd705
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/590218
    Auto-Submit: Gopher Robot <[email protected]>
    Reviewed-by: Than McIntosh <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    gopherbot committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    332fd65 View commit details
    Browse the repository at this point in the history
Loading