-
here is simple code:
```rust
pub fn check_btc_sign(address: &str, sign: &str, msg: &str) -> bool {
let address = bitcoin::Address::from_str(address)
.unwrap()
.assume_checke…
-
Maybe this library could implement a helper for services that want to support lnurl-auth, basically just a signature verification mechanism, using https://github.com/Bit-Wasp/secp256k1-php.
Taking …
-
# What problem does this feture solve?
I couldn't find any function to support compact signature (65 bytes: header + r + s) using this framework.
This can be done if you guys also include secp256k1_…
-
AMD64 ICC 19.1.2.254
```
==407113== Conditional jump or move depends on uninitialised value(s)
==407113== at 0x485FB93: secp256k1_ec_pubkey_create (secp256k1.c:568)
==407113== by 0x401490:…
-
For certain analysis tools, e.g. [miri](https://github.com/rust-lang/miri), it is necessary to either write shims for FFI functions, or otherwise stub out the impls.
While a pure, no-std Rust impl …
-
Hi,
I had to benchmark my own application that uses OpenSSL, and I noticed a important difference in execution time between at least the two following elliptic curves: `secp256r1` and `secp256k1`.
…
-
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 i…
-
The parameter `data` to `SecretKey::sign()` and `Signature::verify()` is supposed to hold the message being signed. However, in the current implementation, its meaning depends on signature type:
* …
-
Hi,
I'm getting issue while using EC/ECDSA certificate generation with TPM-PKCS11 and signing with openssl
TPM generated key
Type: Private key (EC/ECDSA-SECP256R1)
Label: green…
-
Hello brother. When i try to get my address from PK using the below code, it returns an error of `[libsecp256k1] illegal argument: secp256k1_ecmult_gen_context_is_built(&ctx->ecmult_gen_ctx)`
the…