Files
xgcl/tpc/sm2/sm2a/keyexchange.server.go
T
2026-05-27 23:03:00 +08:00

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)
}