-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 Report
@@ 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
Continue to review full report at Codecov.
|
- 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}
onScalar
group::{Group, Curve}
onProjectivePoint