Commit Graph

21 Commits

Author SHA1 Message Date
Ramana Kumar 6083d09d29
Add bytes_from_bls_field to interface 2022-10-07 00:28:20 +01:00
Ramana Kumar 989797c254
Add error checking to bytes_to_g1 2022-10-05 20:04:04 +01:00
Ramana Kumar f0f72d3fd1
Add bytes_to_g1 to the interface 2022-10-05 19:33:27 +01:00
Ramana Kumar 9512abbcfc
Remove debugging print 2022-10-04 07:47:31 +01:00
Ramana Kumar f3e7534662
Fix bug in compute_kzg_proof 2022-10-04 07:35:52 +01:00
Ramana Kumar 48634ea975
Delete unused variable 2022-10-03 20:54:31 +01:00
Dankrad Feist b611c51874
Fix some errors with rbo 2022-10-03 19:35:34 +01:00
Ramana Kumar 3c5312cbb3
Remove unnecessary function from interface 2022-10-02 23:34:57 +01:00
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