zcash / pasta_curves

Rust implementation for zcash/pasta
Other
80 stars 49 forks source link

Update to ec-gpu 0.2 release #45

Closed vmx closed 1 year ago

vmx commented 2 years ago

The traits of ec-gpu changed a bit, there's now also a GpuName trait that needs to be implemented.

BREAKING CHANGE: ec-gpu v0.2 traits are not compatible with v0.1

All dependencies that use ec-gpu need to be on v0.2.

vmx commented 2 years ago

ec-gpu 0.2 was released, so I updated this PR to use the released version. It's a breaking change as v0.1 and v0.2 traits won't play nice together.

vmx commented 2 years ago

It currently implements GpuName only for the structs I need. If I should also implement it for the non-affine curves, let me know.

str4d commented 1 year ago

Merging this now as part of starting preparation of main for the next breaking release.