From da291de5a2bb7a4c7b92133a3e1765d279ca6a32 Mon Sep 17 00:00:00 2001 From: Shenghou Ma Date: Tue, 11 Mar 2014 13:06:01 -0400 Subject: [PATCH] crypto/rsa: fix docs for PrecomputedValues.Qinv Fixes #7507. LGTM=agl R=agl CC=golang-codereviews https://golang.org/cl/74090043 --- src/pkg/crypto/rsa/rsa.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/crypto/rsa/rsa.go b/src/pkg/crypto/rsa/rsa.go index c8f1febe64..bce6ba4eba 100644 --- a/src/pkg/crypto/rsa/rsa.go +++ b/src/pkg/crypto/rsa/rsa.go @@ -60,7 +60,7 @@ type PrivateKey struct { type PrecomputedValues struct { 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 // historical accident, the CRT for the first two primes is handled -- 2.48.1