type crypto/internal/fips140/rsa.PublicKey
21 uses
crypto/internal/fips140/rsa (current package)
cast.go#L170: pub: PublicKey{
pkcs1v15.go#L63: func pkcs1v15ConstructEM(pub *PublicKey, hash string, hashed []byte) ([]byte, error) {
pkcs1v15.go#L93: func VerifyPKCS1v15(pub *PublicKey, hash string, hashed []byte, sig []byte) error {
pkcs1v15.go#L101: func verifyPKCS1v15(pub *PublicKey, hash string, hashed []byte, sig []byte) error {
pkcs1v22.go#L253: func PSSMaxSaltLength(pub *PublicKey, hash fips140.Hash) (int, error) {
pkcs1v22.go#L314: func VerifyPSS(pub *PublicKey, hash fips140.Hash, digest []byte, sig []byte) error {
pkcs1v22.go#L319: func VerifyPSSWithSaltLength(pub *PublicKey, hash fips140.Hash, digest []byte, sig []byte, saltLength int) error {
pkcs1v22.go#L326: func verifyPSS(pub *PublicKey, hash fips140.Hash, digest []byte, sig []byte, saltLength int) error {
pkcs1v22.go#L371: func EncryptOAEP(hash, mgfHash fips140.Hash, random io.Reader, pub *PublicKey, msg []byte, label []byte) ([]byte, error) {
rsa.go#L14: type PublicKey struct {
rsa.go#L21: func (pub *PublicKey) Size() int {
rsa.go#L27: pub PublicKey
rsa.go#L44: func (priv *PrivateKey) PublicKey() *PublicKey {
rsa.go#L98: pub: PublicKey{
rsa.go#L135: pub: PublicKey{
rsa.go#L160: pub: PublicKey{
rsa.go#L336: func checkPublicKey(pub *PublicKey) (fipsApproved bool, err error) {
rsa.go#L377: func Encrypt(pub *PublicKey, plaintext []byte) ([]byte, error) {
rsa.go#L385: func encrypt(pub *PublicKey, plaintext []byte) ([]byte, error) {
crypto/rsa
rsa.go#L624: func fipsPublicKey(pub *PublicKey) (*rsa.PublicKey, error) {
rsa.go#L629: return &rsa.PublicKey{N: N, E: pub.E}, nil