You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently trying to write a few Python bindings around the FROST algorithm. To get this up and running, I need to call the secp256k1_scalar_chacha20 function, which signature seems to be defined here. The problem, however, is that I'm not entirely sure how to write the appropriate CFFI bindings to this function, given that the scalar.h file is in the src directory. The existing CFFI bindings are all related to header files in the include directory.
I tried to add the following line to the _cffi_build/build.py file:
Source('scalar.h', '#include <scalar.h>'),
I also created a scalar.h file in the _cffi_build directory with the following contents:
coincurve provides bindings for libsecp256k1, not libsecp256k1-zkp. The feature you are trying to access are not implemented in libsecp256k1. @ofek given how old this is, I surmise the issue can be closed
I'm currently trying to write a few Python bindings around the FROST algorithm. To get this up and running, I need to call the
secp256k1_scalar_chacha20
function, which signature seems to be defined here. The problem, however, is that I'm not entirely sure how to write the appropriate CFFI bindings to this function, given that thescalar.h
file is in thesrc
directory. The existing CFFI bindings are all related to header files in theinclude
directory.I tried to add the following line to the
_cffi_build/build.py
file:I also created a
scalar.h
file in the_cffi_build
directory with the following contents:When running
python3 setup.py build
, I'm getting the following error:Anyone knows what I'm doing wrong here? Any help would be highly appreciated!
The text was updated successfully, but these errors were encountered: