]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.boringcrypto] crypto/rsa: fix boringFakeRandomBlind to work with (*big.Int)...
authorFilippo Valsorda <filippo@golang.org>
Tue, 15 May 2018 15:24:57 +0000 (11:24 -0400)
committerFilippo Valsorda <filippo@golang.org>
Fri, 18 May 2018 15:13:45 +0000 (15:13 +0000)
commit019a994e32ce0b1766311753add7d5ee1e434772
treea168504af9ff14355529805b0a3ad12e0951d6dc
parenta3f9ce3313af58d6f6d904875893b60d929ebd9c
[dev.boringcrypto] crypto/rsa: fix boringFakeRandomBlind to work with (*big.Int).ModInverse

http://golang.org/cl/108996 removed the local modInverse and its call in
decrypt in favor of (*big.Int).ModInverse. boringFakeRandomBlind copies
decrypt, so it needs to be updated as well.

Change-Id: I59a6c17c2fb9cc7f38cbb59dd9ed11846737d220
Reviewed-on: https://go-review.googlesource.com/113676
Run-TryBot: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/crypto/rsa/boring.go