10 lines
187 B
Go
10 lines
187 B
Go
package sm2a
|
|
|
|
import "xdx.jelly/xgcl/sm/sm2"
|
|
|
|
// in: point (x,y)
|
|
// out: [ds](x,y)
|
|
func ServerKeyExchange(in []byte, ds *sm2.PrivateKey) ([]byte, error) {
|
|
return ServerDecrypt(in, ds)
|
|
}
|