type crypto/rsa.PrivateKey

33 uses

	crypto/rsa (current package)
		notboring.go#L14: func boringPrivateKey(*PrivateKey) (*boring.PrivateKeyRSA, error) {
		pkcs1v15.go#L92: func DecryptPKCS1v15(random io.Reader, priv *PrivateKey, ciphertext []byte) ([]byte, error) {
		pkcs1v15.go#L153: func DecryptPKCS1v15SessionKey(random io.Reader, priv *PrivateKey, ciphertext []byte, key []byte) error {
		pkcs1v15.go#L184: func decryptPKCS1v15(priv *PrivateKey, ciphertext []byte) (valid int, em []byte, index int, err error) {
		pkcs1v15.go#L287: func SignPKCS1v15(random io.Reader, priv *PrivateKey, hash crypto.Hash, hashed []byte) ([]byte, error) {
		pss.go#L210: func signPSSWithSalt(priv *PrivateKey, hash crypto.Hash, hashed, salt []byte) ([]byte, error) {
		pss.go#L292: func SignPSS(rand io.Reader, priv *PrivateKey, hash crypto.Hash, digest []byte, opts *PSSOptions) ([]byte, error) {
		rsa.go#L109: type PrivateKey struct {
		rsa.go#L121: func (priv *PrivateKey) Public() crypto.PublicKey {
		rsa.go#L127: func (priv *PrivateKey) Equal(x crypto.PrivateKey) bool {
		rsa.go#L128: 	xx, ok := x.(*PrivateKey)
		rsa.go#L160: func (priv *PrivateKey) Sign(rand io.Reader, digest []byte, opts crypto.SignerOpts) ([]byte, error) {
		rsa.go#L171: func (priv *PrivateKey) Decrypt(rand io.Reader, ciphertext []byte, opts crypto.DecrypterOpts) (plaintext []byte, err error) {
		rsa.go#L230: func (priv *PrivateKey) Validate() error {
		rsa.go#L271: func GenerateKey(random io.Reader, bits int) (*PrivateKey, error) {
		rsa.go#L294: func GenerateMultiPrimeKey(random io.Reader, nprimes int, bits int) (*PrivateKey, error) {
		rsa.go#L329: 		key := &PrivateKey{
		rsa.go#L349: 	priv := new(PrivateKey)
		rsa.go#L583: func (priv *PrivateKey) Precompute() {
		rsa.go#L641: func decrypt(priv *PrivateKey, ciphertext []byte, check bool) ([]byte, error) {
		rsa.go#L708: func DecryptOAEP(hash hash.Hash, random io.Reader, priv *PrivateKey, ciphertext []byte, label []byte) ([]byte, error) {
		rsa.go#L712: func decryptOAEP(hash, mgfHash hash.Hash, random io.Reader, priv *PrivateKey, ciphertext []byte, label []byte) ([]byte, error) {

	crypto/tls
		auth.go#L259: 	case rsa.PrivateKey, ecdsa.PrivateKey:
		tls.go#L306: 		priv, ok := cert.PrivateKey.(*rsa.PrivateKey)
		tls.go#L345: 		case *rsa.PrivateKey, *ecdsa.PrivateKey, ed25519.PrivateKey:

	crypto/x509
		pkcs1.go#L47: func ParsePKCS1PrivateKey(der []byte) (*rsa.PrivateKey, error) {
		pkcs1.go#L71: 	key := new(rsa.PrivateKey)
		pkcs1.go#L104: func MarshalPKCS1PrivateKey(key *rsa.PrivateKey) []byte {
		pkcs8.go#L105: 	case *rsa.PrivateKey:

	github.com/gotd/td/internal/crypto
		rsa.go#L49: func rsaDecrypt(data []byte, key *rsa.PrivateKey, to []byte) bool {
		rsa_hashed.go#L41: func RSADecryptHashed(data []byte, key *rsa.PrivateKey) ([]byte, error) {
		rsa_pad.go#L123: func DecodeRSAPad(data []byte, key *rsa.PrivateKey) ([]byte, error) {

	github.com/gotd/td/internal/exchange
		key.go#L28: 	RSA *rsa.PrivateKey