k256: impl ff and group traits#164
Conversation
|
It also seems like there are a lot of inherent methods on |
b75c36f to
a0d630c
Compare
|
Applied clippy's suggested fixes with the new arithmetic impls on owned types. I do really like how it improves the code quality (by removing "eye of sauron"-style borrowed arithmetic). Ran the existing benchmarks... it looked like mostly improvements except for cc @fjarri |
5006184 to
7d50dba
Compare
|
I wouldn't worry about it. The change is small, and when we're talking about an operation that takes literally 1ns, I doubt that these measurements are very accurate. On my laptop it takes ~4ns, and I don't see any change between this PR and |
7d50dba to
e2e7b4d
Compare
|
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #164 +/- ##
==========================================
- Coverage 60.64% 59.43% -1.22%
==========================================
Files 25 25
Lines 3601 3688 +87
==========================================
+ Hits 2184 2192 +8
- Misses 1417 1496 +79 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
- Impls `ff::{Field, PrimeField}` on `Scalar`
- Impls `group::{Group, Curve}` on `ProjectivePoint`
e2e7b4d to
b964866
Compare
ff and group traitsff and group traits
Corresponding change to #164, but for the `p256` crate. - Impls `ff::{Field, PrimeField}` on `Scalar` - Impls `group::{Group, Curve}` on `ProjectivePoint`
Corresponding change to #164, but for the `p256` crate. - Impls `ff::{Field, PrimeField}` on `Scalar` - Impls `group::{Group, Curve}` on `ProjectivePoint`
Corresponding change to #164, but for the `p256` crate. - Impls `ff::{Field, PrimeField}` on `Scalar` - Impls `group::{Group, Curve}` on `ProjectivePoint`

ff::{Field, PrimeField}onScalargroup::{Group, Curve}onProjectivePoint