constantine/examples_c
Mamy Ratsimbazafy 9a7137466e
C API for Ethereum BLS signatures (#228)
* [testsuite] Rework parallel test runner to buffer beyond 65536 chars and properly wait for process exit

* [testsuite] improve error reporting

* rework openArray[byte/char] for BLS signature C API

* Prepare for optimized library and bindings

* properly link to constantine

* Compiler fixes, global sanitizers, GCC bug with --opt:size

* workaround/fix #229: don't inline field reduction in Fp2

* fix clang running out of registers with LTO

* [C API] missed length parameters for ctt_eth_bls_fast_aggregate_verify

* double-precision asm is too large for inlining, try to fix Linux and MacOS woes at https://github.com/mratsim/constantine/pull/228#issuecomment-1512773460

* Use FORTIFY_SOURCE for testing

* Fix #230 - gcc miscompiles Fp6 mul with LTO

* disable LTO for now, PR is too long
2023-04-18 22:02:23 +02:00
..
README.md Bindings "filesystem" (#225) 2023-03-01 12:59:06 +01:00
ethereum_bls_signatures.c C API for Ethereum BLS signatures (#228) 2023-04-18 22:02:23 +02:00
t_libctt_bls12_381.c C API for Ethereum BLS signatures (#228) 2023-04-18 22:02:23 +02:00

README.md

C bindings examples

This folder holds tests (prefixed with t_) and examples for the C bindings.

Headers are located in include/ and the static and dynamic libraries in lib/