package stdlib
import (
"crypto/elliptic"
"math/big"
"reflect"
)
func init() {
Symbols ["crypto/elliptic/elliptic" ] = map [string ]reflect .Value {
"GenerateKey" : reflect .ValueOf (elliptic .GenerateKey ),
"Marshal" : reflect .ValueOf (elliptic .Marshal ),
"MarshalCompressed" : reflect .ValueOf (elliptic .MarshalCompressed ),
"P224" : reflect .ValueOf (elliptic .P224 ),
"P256" : reflect .ValueOf (elliptic .P256 ),
"P384" : reflect .ValueOf (elliptic .P384 ),
"P521" : reflect .ValueOf (elliptic .P521 ),
"Unmarshal" : reflect .ValueOf (elliptic .Unmarshal ),
"UnmarshalCompressed" : reflect .ValueOf (elliptic .UnmarshalCompressed ),
"Curve" : reflect .ValueOf ((*elliptic .Curve )(nil )),
"CurveParams" : reflect .ValueOf ((*elliptic .CurveParams )(nil )),
"_Curve" : reflect .ValueOf ((*_crypto_elliptic_Curve )(nil )),
}
}
type _crypto_elliptic_Curve struct {
IValue interface {}
WAdd func (x1 *big .Int , y1 *big .Int , x2 *big .Int , y2 *big .Int ) (x *big .Int , y *big .Int )
WDouble func (x1 *big .Int , y1 *big .Int ) (x *big .Int , y *big .Int )
WIsOnCurve func (x *big .Int , y *big .Int ) bool
WParams func () *elliptic .CurveParams
WScalarBaseMult func (k []byte ) (x *big .Int , y *big .Int )
WScalarMult func (x1 *big .Int , y1 *big .Int , k []byte ) (x *big .Int , y *big .Int )
}
func (W _crypto_elliptic_Curve ) Add (x1 *big .Int , y1 *big .Int , x2 *big .Int , y2 *big .Int ) (x *big .Int , y *big .Int ) {
return W .WAdd (x1 , y1 , x2 , y2 )
}
func (W _crypto_elliptic_Curve ) Double (x1 *big .Int , y1 *big .Int ) (x *big .Int , y *big .Int ) {
return W .WDouble (x1 , y1 )
}
func (W _crypto_elliptic_Curve ) IsOnCurve (x *big .Int , y *big .Int ) bool {
return W .WIsOnCurve (x , y )
}
func (W _crypto_elliptic_Curve ) Params () *elliptic .CurveParams {
return W .WParams ()
}
func (W _crypto_elliptic_Curve ) ScalarBaseMult (k []byte ) (x *big .Int , y *big .Int ) {
return W .WScalarBaseMult (k )
}
func (W _crypto_elliptic_Curve ) ScalarMult (x1 *big .Int , y1 *big .Int , k []byte ) (x *big .Int , y *big .Int ) {
return W .WScalarMult (x1 , y1 , k )
}
The pages are generated with Golds v0.8.4 . (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu .
PR and bug reports are welcome and can be submitted to the issue list .
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds .