pasta_curves
pasta_curves copied to clipboard
Rust implementation for zcash/pasta
#81 is a short-term solution to the problem of the `lazy_static/spin_no_std` feature flag. The long-term solution is to migrate to `core::cell::OnceCell`, which was stabilised in 1.70.
We currently enable `lazy_static/spin_no_std` at the request of downstream users who want to use `pasta_curves` in an `alloc` `no-std` environment. However, other downstream users want to not have that flag...
The uncompressed representation (both coordinates are present in an affine point's representation) is useful in cases where one would want to avoid paying for the cost of a point decompression...
# Abstract Hi there. I improve the `double` method with bit shift and commonalize the field operation. ## What I did - test `add` and `double` method - replace `double`...
It is quite typical, at least in my experience, for code using `pasta_curves` crate to have the necessity to persist or transfer structs with fields of types `Fp` and `Fq`,...
I've added Erlang/Elixir [NIF](https://www.erlang.org/doc/tutorial/nif.html) integration into pasta curves using [rustler](https://github.com/rusterlium/rustler). The feature is feature flagged so it has no effect on the codebase when it is not in use. Tell...
The [jubjub README](https://github.com/zkcrypto/jubjub) has some good warnings around security audit status and side-channels. This repo's README could include similar information. In particular it should be noted in the README that...
Depends on https://github.com/zkcrypto/group/pull/49.
Depends on https://github.com/zkcrypto/group/pull/48.
They sometimes switch from $y^2 = x^3 + 7$ to $y^2 = x^3 + 7 t^6$ in order to use Jacobian coordinates. I haven't looked at why this is useful...