Comments (4)
Alternatively, I've made a PR to expose these functions in blst:
from c-kzg-4844.
Seems like a reasonable idea presuming it works :) - want to make this change as a PR?
from c-kzg-4844.
Hmm, the change works fine for the purpose of the nim bindings, but fails CI: https://github.com/henridf/c-kzg-4844/actions/runs/3677224128/jobs/6218899526
from c-kzg-4844.
To clarify my above comment - I can build c_kzg_4844.o locally, with warnings but no errors:
$ clang -Wall -I../inc -DFIELD_ELEMENTS_PER_BLOB=4096 -O2 -fPIC -c c_kzg_4844.c
In file included from c_kzg_4844.c:17:
In file included from ./c_kzg_4844.h:30:
In file included from ./../blst/src/sha256.h:9:
./../blst/src/vect.h:179:13: warning: unused function 'exp_mont_384' [-Wunused-function]
static void exp_mont_384(vec384 out, const vec384 inp, const byte *pow,
^
./../blst/src/vect.h:181:13: warning: unused function 'exp_mont_384x' [-Wunused-function]
static void exp_mont_384x(vec384x out, const vec384x inp, const byte *pow,
^
./../blst/src/vect.h:183:13: warning: unused function 'div_by_zz' [-Wunused-function]
static void div_by_zz(limb_t val[]);
^
./../blst/src/vect.h:184:13: warning: unused function 'div_by_z' [-Wunused-function]
static void div_by_z(limb_t val[]);
^
4 warnings generated.
I'm not sure why the failure occurs in CI.
from c-kzg-4844.
Related Issues (20)
- Can I just compile as a lib in C? HOT 3
- Some ops seem exceedingly slow on Apple M2 HOT 11
- Crashes with SIGILL on Linux/amd64 i7 CPU HOT 3
- Add library prefix to all ckzg symbols HOT 7
- Broken CI in rust-windows because of rust-1.7.0 HOT 1
- Stack overflow in Rust benchmarks on Windows HOT 1
- Nodejs does not support browsers HOT 5
- Problems with cross-platform docker images HOT 6
- Release Rust bindings on crates.io HOT 3
- Support new function ckzg_load_trusted_setup_from_bytes HOT 3
- Should we make FIELD_ELEMENTS_PER_BLOB runtime-configurable? HOT 8
- Rust binding can't cross compile on Apple Silicon HOT 3
- Rust bindings lack flexibility with current structure of build script HOT 3
- Rust build.rs: Pass -D__BLST_NO_ASM__ on non-x86-64/non-aarch64 ISAs HOT 7
- Python bindings' load_trusted_setup() segfaults if file does not exist HOT 1
- Blob value in argument to context.VerifyBlobKZGProof HOT 1
- [rust] Add compute_* verify_* functions for KzgSettings HOT 3
- no pypi source packages HOT 2
- Proving/Verifying Subsections of Blob(s) HOT 1
- Publish `v1.0.1` Rust bindings to `crates.io` HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from c-kzg-4844.