Closed omershlo closed 4 years ago
I don't think that FieldElement
should be exposed in arbitrary generic code, because there are very few reasons to be operating directly on curve point coordinates outside of the curve implementation.
ecdsa
crate).What is the use case you have that requires access to FieldElement
?
Thanks for clarifying !
@omershlo you might check out fiat-rust
if you'd like a p256
implementation that exposes its internals:
Is there a plan to expose
FieldElement
for P-256? (motivation: I am looking to implement a Trait in Curv)