init: v1.0.0
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
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)
|
||||
}
|
||||
Reference in New Issue
Block a user