aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/mpagecache_test.go
diff options
context:
space:
mode:
authorRuixin(Peter) Bao <ruixin.bao@ibm.com>2019-10-21 13:18:31 -0400
committerMichael Munday <mike.munday@ibm.com>2020-04-27 19:49:42 +0000
commitd646c035f9749d647b2a3fdab48011d04e0bc2c1 (patch)
treead8aea0c1d8ff891eb48209c4d8b0d645c10036a /src/runtime/mpagecache_test.go
parent6a4441d6fec675a83a8827dc359320e473662b9d (diff)
downloadgo-d646c035f9749d647b2a3fdab48011d04e0bc2c1.tar.xz
crypto/ed25519: implement ed25519 on s390x using KDSA instruction
This CL allows the usage of KDSA instruction when it is available. The instruction is designed to be resistant to side channel attacks and offers performance improvement for ed25519. Benchmarks: name old time/op new time/op delta Signing-8 120µs ±20% 62µs ±12% -48.40% (p=0.000 n=10+10) Verification-8 325µs ±17% 69µs ±10% -78.80% (p=0.000 n=10+10) name old alloc/op new alloc/op delta Signing-8 448B ± 0% 0B -100.00% (p=0.000 n=10+10) Verification-8 288B ± 0% 0B -100.00% (p=0.000 n=10+10) name old allocs/op new allocs/op delta Signing-8 5.00 ± 0% 0.00 -100.00% (p=0.000 n=10+10) Verification-8 2.00 ± 0% 0.00 -100.00% (p=0.000 n=10+10) Change-Id: I0330ce83d807370b419ce638bc2cae4cb3c250dc Reviewed-on: https://go-review.googlesource.com/c/go/+/202578 Run-TryBot: Michael Munday <mike.munday@ibm.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Michael Munday <mike.munday@ibm.com>
Diffstat (limited to 'src/runtime/mpagecache_test.go')
0 files changed, 0 insertions, 0 deletions