Commit da291de5 authored by Shenghou Ma's avatar Shenghou Ma

crypto/rsa: fix docs for PrecomputedValues.Qinv

Fixes #7507.

LGTM=agl
R=agl
CC=golang-codereviews
https://golang.org/cl/74090043
parent 3877f1d9
...@@ -60,7 +60,7 @@ type PrivateKey struct { ...@@ -60,7 +60,7 @@ type PrivateKey struct {
type PrecomputedValues struct { type PrecomputedValues struct {
Dp, Dq *big.Int // D mod (P-1) (or mod Q-1) Dp, Dq *big.Int // D mod (P-1) (or mod Q-1)
Qinv *big.Int // Q^-1 mod Q Qinv *big.Int // Q^-1 mod P
// CRTValues is used for the 3rd and subsequent primes. Due to a // CRTValues is used for the 3rd and subsequent primes. Due to a
// historical accident, the CRT for the first two primes is handled // historical accident, the CRT for the first two primes is handled
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment