Documentation ¶
Index ¶
Constants ¶
View Source
const NumMRTests = 64
Variables ¶
This section is empty.
Functions ¶
func FermatInverse ¶
https://cs.opensource.google/go/go/+/refs/tags/go1.18:src/crypto/dsa/dsa.go;l=188-192 fermatInverse calculates the inverse of k in GF(P) using Fermat's method. This has better constant-time properties than Euclid's method (implemented in math/big.Int.ModInverse) although math/big itself isn't strictly constant-time so it's not perfect.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
crypto/internal/randutil/randutil.go
|
crypto/internal/randutil/randutil.go |
Package subtle implements functions that are often useful in cryptographic code but require careful thought to use correctly.
|
Package subtle implements functions that are often useful in cryptographic code but require careful thought to use correctly. |
Click to show internal directories.
Click to hide internal directories.