github.com/goplus/igop@v0.25.0/pkg/crypto/rsa/go119_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //go:build go1.19 && !go1.20 4 // +build go1.19,!go1.20 5 6 package rsa 7 8 import ( 9 q "crypto/rsa" 10 11 "go/constant" 12 "reflect" 13 14 "github.com/goplus/igop" 15 ) 16 17 func init() { 18 igop.RegisterPackage(&igop.Package{ 19 Name: "rsa", 20 Path: "crypto/rsa", 21 Deps: map[string]string{ 22 "bytes": "bytes", 23 "crypto": "crypto", 24 "crypto/internal/boring": "boring", 25 "crypto/internal/boring/bbig": "bbig", 26 "crypto/internal/randutil": "randutil", 27 "crypto/rand": "rand", 28 "crypto/subtle": "subtle", 29 "errors": "errors", 30 "hash": "hash", 31 "io": "io", 32 "math": "math", 33 "math/big": "big", 34 }, 35 Interfaces: map[string]reflect.Type{}, 36 NamedTypes: map[string]reflect.Type{ 37 "CRTValue": reflect.TypeOf((*q.CRTValue)(nil)).Elem(), 38 "OAEPOptions": reflect.TypeOf((*q.OAEPOptions)(nil)).Elem(), 39 "PKCS1v15DecryptOptions": reflect.TypeOf((*q.PKCS1v15DecryptOptions)(nil)).Elem(), 40 "PSSOptions": reflect.TypeOf((*q.PSSOptions)(nil)).Elem(), 41 "PrecomputedValues": reflect.TypeOf((*q.PrecomputedValues)(nil)).Elem(), 42 "PrivateKey": reflect.TypeOf((*q.PrivateKey)(nil)).Elem(), 43 "PublicKey": reflect.TypeOf((*q.PublicKey)(nil)).Elem(), 44 }, 45 AliasTypes: map[string]reflect.Type{}, 46 Vars: map[string]reflect.Value{ 47 "ErrDecryption": reflect.ValueOf(&q.ErrDecryption), 48 "ErrMessageTooLong": reflect.ValueOf(&q.ErrMessageTooLong), 49 "ErrVerification": reflect.ValueOf(&q.ErrVerification), 50 }, 51 Funcs: map[string]reflect.Value{ 52 "DecryptOAEP": reflect.ValueOf(q.DecryptOAEP), 53 "DecryptPKCS1v15": reflect.ValueOf(q.DecryptPKCS1v15), 54 "DecryptPKCS1v15SessionKey": reflect.ValueOf(q.DecryptPKCS1v15SessionKey), 55 "EncryptOAEP": reflect.ValueOf(q.EncryptOAEP), 56 "EncryptPKCS1v15": reflect.ValueOf(q.EncryptPKCS1v15), 57 "GenerateKey": reflect.ValueOf(q.GenerateKey), 58 "GenerateMultiPrimeKey": reflect.ValueOf(q.GenerateMultiPrimeKey), 59 "SignPKCS1v15": reflect.ValueOf(q.SignPKCS1v15), 60 "SignPSS": reflect.ValueOf(q.SignPSS), 61 "VerifyPKCS1v15": reflect.ValueOf(q.VerifyPKCS1v15), 62 "VerifyPSS": reflect.ValueOf(q.VerifyPSS), 63 }, 64 TypedConsts: map[string]igop.TypedConst{}, 65 UntypedConsts: map[string]igop.UntypedConst{ 66 "PSSSaltLengthAuto": {"untyped int", constant.MakeInt64(int64(q.PSSSaltLengthAuto))}, 67 "PSSSaltLengthEqualsHash": {"untyped int", constant.MakeInt64(int64(q.PSSSaltLengthEqualsHash))}, 68 }, 69 }) 70 }