Commit Graph

13 Commits

Author SHA1 Message Date
Ramana Kumar c6c4f7d5f6
Wrap g1_lincomb 2022-10-02 12:59:54 +01:00
Ramana Kumar aab3df643b
Use pointers for scalars too 2022-10-02 12:09:01 +01:00
Ramana Kumar 2281cce711
Use array of pointers for vector_lincomb
This seems more likely to avoid copying field elements when interfacing
from high-level languages (we still have to store the pointers though).

If this is the right move, the same could be done for
blob_to_kzg_commitment, and maybe others that read sequences.
2022-10-02 11:29:23 +01:00
Ramana Kumar c56461e3a5
Non-contiguous array in min-src 2022-10-01 17:07:41 +01:00
Ramana Kumar 8f6bc22b2f
Avoid exposing blst scalar 2022-10-01 12:42:44 +01:00
Ramana Kumar 9897fb2fa9
Probably need to bytes48 from g1 in the interface 2022-10-01 11:50:21 +01:00
Ramana Kumar cfa9675512
Fix implementation of compute_powers 2022-09-29 22:23:14 +01:00
Ramana Kumar 24212039b2
Add conversions to/from uint64s to the interface 2022-09-29 19:32:23 +01:00
Ramana Kumar 8a072d68ba
Add alloc_polynomial and free_polynomial 2022-09-27 22:05:52 +01:00
Ramana Kumar 9b46788ac7
Finish adding implementation, simplify Makefile 2022-09-27 21:50:48 +01:00
Ramana Kumar 265e60c2db
Implement a few more functions 2022-09-27 18:36:45 +01:00
Ramana Kumar a9ef9a893a
Add a few more implementations 2022-09-27 18:25:43 +01:00
Ramana Kumar 4488ad3269
Start on a consolidated 4844-only copy of the code 2022-09-27 18:11:37 +01:00