Closed xoloki closed 1 year ago
Merging #70 (c94c3fd) into master (e299a92) will increase coverage by
0.05%
. The diff coverage is95.23%
.
@@ Coverage Diff @@
## master #70 +/- ##
==========================================
+ Coverage 55.89% 55.94% +0.05%
==========================================
Files 9 10 +1
Lines 662 681 +19
==========================================
+ Hits 370 381 +11
- Misses 292 300 +8
Impacted Files | Coverage Δ | |
---|---|---|
p256k1/src/point.rs | 66.83% <94.73%> (-1.32%) |
:arrow_down: |
p256k1/src/traits.rs | 100.00% <100.00%> (ø) |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
Latest commit: |
c94c3fd
|
Status: | ✅ Deploy successful! |
Preview URL: | https://308d94a5.p256k1.pages.dev |
Branch Preview URL: | https://trait-multi.p256k1.pages.dev |
This PR adds a
trait
MultiMult
and aPoint::multimult_trait
fn
which uses it formultimult
ops. The existingScalarsPoints
object now implements thetrait
, and the existingPoint::multimult
fn
now just makes aScalarsPoints
object and passes it tomultimult_trait
. This resolves #69The trait also defines a
fn get_scratch_size
with a default implementation ofget_size() * 512
, which was empirically determined to be an optimal scratch size. This resolves #17