-
Adam Langley authored
A 4-bit window is convenient because 4 divides both 32 and 64, therefore we never have a window spanning words of the exponent. Additionaly, the benefit of a 5-bit window is only 2.6% at 1024-bits and 3.3% at 2048-bits. This code is still not constant time, however. benchmark old ns/op new ns/op delta BenchmarkRSA2048Decrypt 17108590 11180370 -34.65% Benchmark3PrimeRSA2048Decrypt 13003720 7680390 -40.94% R=gri CC=golang-dev https://golang.org/cl/6716048
73f11171
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
arith.go | ||
arith_386.s | ||
arith_amd64.s | ||
arith_arm.s | ||
arith_decl.go | ||
arith_test.go | ||
calibrate_test.go | ||
example_test.go | ||
gcd_test.go | ||
hilbert_test.go | ||
int.go | ||
int_test.go | ||
nat.go | ||
nat_test.go | ||
rat.go | ||
rat_test.go |