aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/json
diff options
context:
space:
mode:
authorAlec Bakholdin <alecbakholdin@gmail.com>2024-12-22 20:36:59 -0500
committerGopher Robot <gobot@golang.org>2024-12-26 12:33:05 -0800
commitcce75da30b6a1a58f7265401279cab707d403dcf (patch)
treedcb29fd34224b8b665314812bbfb8dda9ddd3ae2 /src/encoding/json
parent772f024c615ec13c6cd28bf024e9d6be852201b6 (diff)
downloadgo-cce75da30b6a1a58f7265401279cab707d403dcf.tar.xz
crypto/mlkem: swap order of return values of Encapsulate
Per FIPS 203 (https://csrc.nist.gov/pubs/fips/203/final), the order of return values should be sharedKey, ciphertext. This commit simply swaps those return values and updates any consumers of the Encapsulate() method to respect the new order. Fixes #70950 Change-Id: I2a0d605e3baf7fe69510d60d3d35bbac18f883c9 Reviewed-on: https://go-review.googlesource.com/c/go/+/638376 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Austin Clements <austin@google.com> Auto-Submit: Ian Lance Taylor <iant@golang.org> Reviewed-by: Filippo Valsorda <filippo@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/encoding/json')
0 files changed, 0 insertions, 0 deletions