golang / go

The Go programming language
https://go.dev
BSD 3-Clause "New" or "Revised" License
124.21k stars 17.7k forks source link

crypto/rsa: reimplement GenerateKey per FIPS 186-5 #70473

Open derekparker opened 1 day ago

derekparker commented 1 day ago

Submitting on behalf of @archanaravindar.

This patch implements RSA Key Generation per FIPS 186-5. The implementation uses math/big despite eventually needing to port to bigmod in order to not have to validate the math/big package in the FIPS certification. The port to bigmod will be committed as a follow-up patch.

For #69799

gopherbot commented 1 day ago

This PR (HEAD: 13933ef44593070f15a76fba64da8f8a175184fb) has been imported to Gerrit for code review.

Please visit Gerrit at https://go-review.googlesource.com/c/go/+/630336.

Important tips:

gopherbot commented 1 day ago

Message from Gopher Robot:

Patch Set 1:

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/630336. After addressing review feedback, remember to publish your drafts!