go/src/crypto
Xiaolin Zhao debfcb5ad8 crypto/internal/bigmod: provide assembly addMulVVW* for loong64
goos: linux
goarch: loong64
pkg: crypto/internal/bigmod
cpu: Loongson-3A6000 @ 2500.00MHz
               │  bench.old   │              bench.new              │
               │    sec/op    │   sec/op     vs base                │
ModAdd            159.5n ± 0%   159.8n ± 0%   +0.19% (p=0.000 n=20)
ModSub            161.5n ± 0%   161.7n ± 0%   +0.12% (p=0.038 n=20)
MontgomeryRepr    4.126µ ± 0%   2.932µ ± 0%  -28.94% (p=0.000 n=20)
MontgomeryMul     4.144µ ± 0%   2.930µ ± 0%  -29.30% (p=0.000 n=20)
ModMul            8.331µ ± 0%   5.956µ ± 0%  -28.51% (p=0.000 n=20)
ExpBig            11.65m ± 0%   11.64m ± 0%   -0.04% (p=0.000 n=20)
Exp              11.015m ± 0%   7.860m ± 0%  -28.65% (p=0.000 n=20)
geomean           17.34µ        14.28µ       -17.64%

goos: linux
goarch: loong64
pkg: crypto/internal/bigmod
cpu: Loongson-3A5000 @ 2500.00MHz
               │  bench.old   │              bench.new              │
               │    sec/op    │   sec/op     vs base                │
ModAdd            211.3n ± 0%   213.9n ± 0%   +1.23% (p=0.000 n=20)
ModSub            210.6n ± 0%   207.2n ± 0%   -1.61% (p=0.000 n=20)
MontgomeryRepr    5.442µ ± 0%   3.825µ ± 0%  -29.71% (p=0.000 n=20)
MontgomeryMul     5.379µ ± 0%   4.011µ ± 0%  -25.43% (p=0.000 n=20)
ModMul           10.868µ ± 0%   7.859µ ± 0%  -27.69% (p=0.000 n=20)
ExpBig            14.64m ± 0%   14.63m ± 0%   -0.06% (p=0.035 n=20)
Exp               14.39m ± 0%   10.38m ± 0%  -27.86% (p=0.000 n=20)
geomean           22.57µ        18.74µ       -16.96%

Change-Id: Id6ddc9552494e2a26e1a123f38e22d18bb78fdad
Reviewed-on: https://go-review.googlesource.com/c/go/+/593595
Reviewed-by: Roland Shoemaker <roland@golang.org>
Reviewed-by: Qiqi Huang <huangqiqi@loongson.cn>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
Reviewed-by: abner chenc <chenguoqi@loongson.cn>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Meidan Li <limeidan@loongson.cn>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2024-09-04 00:31:27 +00:00
..
aes crypto/aes: add missing aes-gcm buffer overlap checks to PPC64 2024-08-23 15:12:31 +00:00
boring
cipher all: omit unnecessary 0 in slice expression 2024-09-03 20:55:15 +00:00
des crypto/internal/cryptotest: add tests for the cipher.Block interface 2024-07-31 15:43:13 +00:00
dsa crypto,hash: add t.Helper calls to test helpers 2024-08-15 20:19:52 +00:00
ecdh crypto: replace encoding/binary in favour of internal/byteorder 2024-05-13 18:57:38 +00:00
ecdsa crypto: document that Verify inputs are not confidential 2024-05-23 00:11:18 +00:00
ed25519 crypto: document that Verify inputs are not confidential 2024-05-23 00:11:18 +00:00
elliptic cmd,crypto/elliptic: fix typos in comments 2024-04-16 17:46:09 +00:00
hmac crypto/internal/cryptotest: add common tests for the hash.Hash interface 2024-07-09 15:52:04 +00:00
internal crypto/internal/bigmod: provide assembly addMulVVW* for loong64 2024-09-04 00:31:27 +00:00
md5 all: omit unnecessary 0 in slice expression 2024-09-03 20:55:15 +00:00
rand crypto: replace encoding/binary in favour of internal/byteorder 2024-05-13 18:57:38 +00:00
rc4 crypto/internal/cryptotest: add tests for the cipher.Stream interface 2024-08-02 14:54:04 +00:00
rsa std: fix calls to Printf(s) with non-constant s 2024-05-23 18:42:28 +00:00
sha1 all: omit unnecessary 0 in slice expression 2024-09-03 20:55:15 +00:00
sha256 all: omit unnecessary 0 in slice expression 2024-09-03 20:55:15 +00:00
sha512 crypto: implement encoding.BinaryAppender for all crypto hashes 2024-08-01 14:57:46 +00:00
subtle all: omit unnecessary 0 in slice expression 2024-09-03 20:55:15 +00:00
tls crypto,hash: add t.Helper calls to test helpers 2024-08-15 20:19:52 +00:00
x509 crypto/x509,math/rand/v2: implement the encoding.(Binary|Text)Appender 2024-08-21 19:19:57 +00:00
crypto.go
issue21104_test.go
purego_test.go crypto: use and test purego tag consistently 2024-03-04 17:29:44 +00:00