Commit 391b600
authored
* add functionalities
- Add a function to access `Z` field of `EcPoint`.
- Add a newer version of `EcPoint::mul` with RNG for blinding.
- Also marked old version one as deprecated.
- Add a newer version of `Pk::private_from_ec_components` with RNG for blinding.
- Also marked old version one as deprecated.
- Update tests to use above new functions.
- Add a function for performing const time comparison of `EcPoint`.
* bump mbedtls version to 0.12.3
* add test for fn `eq_const_time`
* add bench to ensure eq_const_time works
* add cargo bench to CI
1 parent 21056b8 commit 391b600
File tree
6 files changed
+663
-26
lines changed- .github/workflows
- mbedtls
- benches
- src
- ecp
- pk
6 files changed
+663
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
120 | 132 | | |
121 | 133 | | |
122 | 134 | | |
| |||
0 commit comments