go/src/crypto
Roland Shoemaker 7b32830f58 crypto/elliptic: store P-256 precomputed basepoint table in source
Store the precomputed P-256 basepoint table in source rather than
computing it at runtime, saving ~88kB from the heap. The flip side
is that this increases binary sizes by ~77kB.

Fixes #44992

Change-Id: Ia5421eae87b41522b0d8cecba051cba1d2ed73db
Reviewed-on: https://go-review.googlesource.com/c/go/+/315189
Run-TryBot: Roland Shoemaker <roland@golang.org>
Trust: Roland Shoemaker <roland@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
2021-04-29 20:23:35 +00:00
..
aes all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
cipher crypto/cipher: make AES-GCM benchmarks match ChaCha20Poly1305 ones 2021-04-28 19:13:50 +00:00
des crypto/des: fix typo in permuteInitialBlock function comments 2020-09-22 21:24:40 +00:00
dsa crypto/dsa,crypto/x509: deprecate DSA and remove crypto/x509 support 2020-10-02 10:48:33 +00:00
ecdsa crypto/ecdsa: fix dead reference link 2021-03-13 11:26:35 +00:00
ed25519 crypto/ed25519: add comprehensive edge-case test vectors 2021-04-05 20:53:42 +00:00
elliptic crypto/elliptic: store P-256 precomputed basepoint table in source 2021-04-29 20:23:35 +00:00
hmac crypto/hmac: panic if reusing hash.Hash values 2020-10-19 15:00:02 +00:00
internal all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
md5 crypto/md5: improve ppc64x performance 2021-03-15 12:30:38 +00:00
rand crypto/rand, internal/syscall/unix: add support for getentropy syscall on darwin 2021-03-17 22:14:28 +00:00
rc4
rsa crypto/rsa: fix salt length calculation with PSSSaltLengthAuto 2021-03-29 15:20:11 +00:00
sha1 docs: fix case of GitHub 2021-03-05 02:35:21 +00:00
sha256 docs: fix case of GitHub 2021-03-05 02:35:21 +00:00
sha512 all: remove redundant spaces before . and , 2021-04-20 00:49:17 +00:00
subtle
tls crypto/tls: fix flaky handshake cancellation tests 2021-04-16 19:23:29 +00:00
x509 syscall, etc.: use abi.FuncPCABI0 for libc syscall wrappers 2021-04-26 15:52:34 +00:00
crypto.go crypto: fix PKCS space in docs 2020-07-08 17:21:49 +00:00
issue21104_test.go