#bls12-381 #relic #declaration

sys librelic-sys

Declarations for librelic

4 releases

Uses new Rust 2024

0.1.3+0.6.0 Dec 19, 2025
0.1.2+0.6.0 Mar 8, 2025
0.1.1+0.6.0 Dec 9, 2024
0.1.0+0.6.0 Jun 14, 2024

#18 in #declaration


Used in bls12_381_relic

Apache-2.0 OR MIT

4MB
143K SLoC

C 99K SLoC // 0.2% comments Bitbake 23K SLoC // 0.0% comments GNU Style Assembly 21K SLoC // 0.1% comments Shell 290 SLoC // 0.1% comments Rust 116 SLoC // 0.0% comments Templ 105 SLoC // 0.5% comments

Bindings for relic

This crate provides bindings for the functions exposed by relic configured for the use of the pairing of the pairing-friendly curve BLS12-381. Additionally, the crate also provides additional wrapper functions to ease the work with relic.


Declarations for relic

relic is a library implementing pairing-friendly curves (among many other things). This crate provides bindings for relic for use in bls12_381_relic.

Security Notes

This crate has received no security audit. Use at your own risk.

License

This crate is licensed under the Apache-2.0 or MIT license.

Dependencies

~0–2.1MB
~42K SLoC