From fe1a637987f74cfa201e1ddde2144dfb11548cd2 Mon Sep 17 00:00:00 2001 From: Sun Yimin Date: Tue, 23 Aug 2022 11:34:53 +0800 Subject: [PATCH] Updated is my code constant time? (markdown) --- is-my-code-constant-time?.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/is-my-code-constant-time?.md b/is-my-code-constant-time?.md index d44c21e..bad98e7 100644 --- a/is-my-code-constant-time?.md +++ b/is-my-code-constant-time?.md @@ -65,9 +65,6 @@ type Curve interface { // the result is the all-zero value, ECDH returns an error. ECDH(local *PrivateKey, remote *PublicKey) ([]byte, error) - // SM2ECDH performs a SM2 exchange and returns the shared secret. - SM2ECDH(enc, local *PrivateKey, remote *PublicKey, localUID, remoteUID []byte, keyLen int) ([]byte, error) - // GenerateKey generates a new PrivateKey from rand. GenerateKey(rand io.Reader) (*PrivateKey, error)