mirror of
https://github.com/emmansun/gmsm.git
synced 2025-05-15 13:36:18 +08:00
Updated is my code constant time? (markdown)
parent
fe1a637987
commit
754a18853e
@ -102,3 +102,5 @@ type Curve interface {
|
|||||||
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