Commit graph

4 commits

Author SHA1 Message Date
Volker Mische
b1f03fbc9c Document helper function 2022-03-11 17:47:17 +01:00
Volker Mische
cc51340dc5
fix: less allocations
Co-authored-by: str4d <thestr4d@gmail.com>
2022-03-11 17:37:47 +01:00
Volker Mische
870939ab03 Implement ec_gpu:GpuField for Fp/Fq
This commit introduces a new feature called "gpu", which enables an
`ec_gpu:GpuField` implementation of `Fp` and `Fq`. This enables the
field arithmetics to be run on a GPU.

The code to convert from a u64 to a u32 vector was taken from
07a84f9727/src/lib.rs (L102-L108)
2022-03-02 14:44:11 +01:00
Jack Grigg
d40ed36d50 Move Pasta implementations into root 2021-03-03 21:59:08 +00:00
Renamed from src/pasta/fields.rs (Browse further)