]> Cypherpunks repositories - gostls13.git/commit
crypto/internal/mlkem768: new package
authorFilippo Valsorda <filippo@golang.org>
Wed, 6 Dec 2023 15:51:11 +0000 (16:51 +0100)
committerGopher Robot <gobot@golang.org>
Wed, 10 Apr 2024 16:37:53 +0000 (16:37 +0000)
commit1bac2528fc83f0b75c436184c010697198eb0782
treed0f0387e62ee3441a29f6861e68bb4181469b422
parentbdd27c4debfb51fe42df0c0532c1c747777b7a32
crypto/internal/mlkem768: new package

This was initially developed at github.com/FiloSottile/mlkem768.

5ce9162 - mlkem768,xwing: add SeedSize <Filippo Valsorda>
b43add9 - mlkem768,xwing: add NewKeyFromSeed <Filippo Valsorda>
e000fa4 - mlkem768: improve RoundTrip benchmark <Filippo Valsorda>
344d5ee - mlkem768: add exhaustive tests for compress and decompress (#4) <David Buchanan>
08fb36c - mlkem768: do not panic <Filippo Valsorda>
9e9fcc2 - mlkem768: add proposed Wycheproof test vectors <Filippo Valsorda>
5e630b8 - mlkem768: add more tests <Filippo Valsorda>
e3fb5df - mlkem768: add TestUnluckyVector <Filippo Valsorda>
3f410e9 - mlkem768: add accumulated pq-crystals vectors <Filippo Valsorda>
9897e2f - mlkem768: add other known test vectors <Filippo Valsorda>
cffbfb9 - mlkem768: update sampleNTT comment <Filippo Valsorda>
df1b265 - mlkem768: use uint16 reads, simpler bit twiddling <Josh Bleecher Snyder>
50a7fad - mlkem768: unroll ntt inner loop <Josh Bleecher Snyder>
cd8140e - mlkem768: avoid extra data copies <Josh Bleecher Snyder>
0c68443 - mlkem768: buffer reads from sha3 <Josh Bleecher Snyder>
bb784ff - mlkem768: create README.md <Filippo Valsorda>
35e7ada - mlkem768: add package docs and LICENSE <Filippo Valsorda>
2e6a3df - mlkem768: drop performance optimization notes <Filippo Valsorda>
d5449de - mlkem768: add benchmarks <Filippo Valsorda>
3294fee - mlkem768: implement ML-KEM <Filippo Valsorda>
4cb306e - mlkem768: reimplement compress and decompress <Filippo Valsorda>
48e4c4c - mlkem768: fix AHat draft spec typo <Filippo Valsorda>
c34ddcf - mlkem768: make better use of constants <Filippo Valsorda>
3b485e1 - mlkem768: initial commit, a full K-PKE implementation <Filippo Valsorda>

Submitting changes on behalf of Josh Bleecher Snyder as authorized at
https://go-review.googlesource.com/c/go/+/547357/comment/61f8433f_04dc9c5d/
and of David Buchanan as authorized at
https://github.com/FiloSottile/mlkem768/pull/4#issuecomment-1975330952.

Updates #64537

Change-Id: I50607336282434d64a1255901b0ef40dbfd47e91
Reviewed-on: https://go-review.googlesource.com/c/go/+/550215
Reviewed-by: Roland Shoemaker <roland@golang.org>
Reviewed-by: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
20 files changed:
src/compress/gzip/issue14937_test.go
src/crypto/internal/mlkem768/mlkem768.go [new file with mode: 0644]
src/crypto/internal/mlkem768/mlkem768_test.go [new file with mode: 0644]
src/go/build/deps_test.go
src/vendor/golang.org/x/crypto/sha3/doc.go [new file with mode: 0644]
src/vendor/golang.org/x/crypto/sha3/hashes.go [new file with mode: 0644]
src/vendor/golang.org/x/crypto/sha3/hashes_generic.go [new file with mode: 0644]
src/vendor/golang.org/x/crypto/sha3/keccakf.go [new file with mode: 0644]
src/vendor/golang.org/x/crypto/sha3/keccakf_amd64.go [new file with mode: 0644]
src/vendor/golang.org/x/crypto/sha3/keccakf_amd64.s [new file with mode: 0644]
src/vendor/golang.org/x/crypto/sha3/register.go [new file with mode: 0644]
src/vendor/golang.org/x/crypto/sha3/sha3.go [new file with mode: 0644]
src/vendor/golang.org/x/crypto/sha3/sha3_s390x.go [new file with mode: 0644]
src/vendor/golang.org/x/crypto/sha3/sha3_s390x.s [new file with mode: 0644]
src/vendor/golang.org/x/crypto/sha3/shake.go [new file with mode: 0644]
src/vendor/golang.org/x/crypto/sha3/shake_generic.go [new file with mode: 0644]
src/vendor/golang.org/x/crypto/sha3/xor.go [new file with mode: 0644]
src/vendor/golang.org/x/crypto/sha3/xor_generic.go [new file with mode: 0644]
src/vendor/golang.org/x/crypto/sha3/xor_unaligned.go [new file with mode: 0644]
src/vendor/modules.txt