mirror of
https://github.com/emmansun/gmsm.git
synced 2025-05-15 05:26:19 +08:00
Updated is my code constant time? (markdown)
parent
fe1a637987
commit
754a18853e
@ -101,4 +101,6 @@ type Curve interface {
|
|||||||
// methods in the future without breaking backwards compatibility.
|
// methods in the future without breaking backwards compatibility.
|
||||||
privateKeyToPublicKey(*PrivateKey) *PublicKey
|
privateKeyToPublicKey(*PrivateKey) *PublicKey
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
其实,sm2 key exchange和[SEC 1, Version 2.0](https://www.secg.org/sec1-v2.pdf), Section 3.4 Elliptic Curve MQV Primitive 描述的方法一样,只是最后求取shared secret方法不同。
|
||||||
|
Loading…
x
Reference in New Issue
Block a user