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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.47.0
Choose a base ref
...
head repository: golang/crypto
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.48.0
Choose a head ref
  • 2 commits
  • 4 files changed
  • 2 contributors

Commits on Jan 13, 2026

  1. scrypt: fix panic on parameters <= 0

    Providing 0 as argument for r or p results in a panic:
    panic: runtime error: integer divide by zero
    
    Providing negative values for r or p returns a misleading error:
    scrypt: parameters are too large
    
    This change avoids the panic and introduces a new error
    that is returned when r or p are <= 0:
    scrypt: parameters must be > 0
    
    Change-Id: I68987b27d1eedd66644d2ec9436cba364fc1d46d
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/731780
    Reviewed-by: Michael Pratt <mpratt@google.com>
    Reviewed-by: Roland Shoemaker <roland@golang.org>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Filippo Valsorda <filippo@golang.org>
    Auto-Submit: Roland Shoemaker <roland@golang.org>
    jgf authored and gopherbot committed Jan 13, 2026
    Configuration menu
    Copy the full SHA
    7d0074c View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2026

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

    Update golang.org/x dependencies to their latest tagged versions.
    
    Change-Id: I1b283104f6d4557ee12c256bbadfccb3cd5548be
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/743362
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    Reviewed-by: Cherry Mui <cherryyz@google.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Auto-Submit: Gopher Robot <gobot@golang.org>
    gopherbot committed Feb 9, 2026
    Configuration menu
    Copy the full SHA
    e08b067 View commit details
    Browse the repository at this point in the history
Loading