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 am try to use secpk2561 library on RISCV ESP32C3 board and I keep getting this error and then the board just disconnects. The issue is whenever let secp = Secp256k1::new(); is called like in the board below:
use secp256k1::hashes::sha256;
use secp256k1::rand::rngs::OsRng;
use secp256k1::{Message, Secp256k1};
let secp = Secp256k1::new();
let (secret_key, public_key) = secp.generate_keypair(&mut OsRng);
let message = Message::from_hashed_data::<sha256::Hash>("Hello World!".as_bytes());
let sig = secp.sign_ecdsa(&message, &secret_key);
assert!(secp.verify_ecdsa(&message, &sig, &public_key).is_ok());
Hi!
I am try to use secpk2561 library on RISCV ESP32C3 board and I keep getting this error and then the board just disconnects. The issue is whenever
let secp = Secp256k1::new();
is called like in the board below:Here is the error I am getting - https://gist.github.com/448-OG/9fd2ad60c535da95c5cec444c4a2b153
If I use the rust k256 crate to try and do this it works fine, so I am guessing it is somewhere in the FFI for secp256k1 but I need some some help
The text was updated successfully, but these errors were encountered: