From 754a18853e7d817eff396c65146e325ae5e25247 Mon Sep 17 00:00:00 2001 From: Sun Yimin Date: Tue, 23 Aug 2022 13:07:33 +0800 Subject: [PATCH] Updated is my code constant time? (markdown) --- is-my-code-constant-time?.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/is-my-code-constant-time?.md b/is-my-code-constant-time?.md index bad98e7..8ebd0c4 100644 --- a/is-my-code-constant-time?.md +++ b/is-my-code-constant-time?.md @@ -101,4 +101,6 @@ type Curve interface { // methods in the future without breaking backwards compatibility. privateKeyToPublicKey(*PrivateKey) *PublicKey } -``` \ No newline at end of file +``` + +其实,sm2 key exchange和[SEC 1, Version 2.0](https://www.secg.org/sec1-v2.pdf), Section 3.4 Elliptic Curve MQV Primitive 描述的方法一样,只是最后求取shared secret方法不同。