secp256k1 icon indicating copy to clipboard operation
secp256k1 copied to clipboard

Optimized C library for EC operations on curve secp256k1

Results 171 secp256k1 issues
Sort by recently updated
recently updated
newest added

Hi, As a result of #739, I wrote a fuzzing harness so people can fuzz the library themselves if they want so. This is my first time playing with libFuzzer...

assurance

This add a simple static checker based on clang-query, which is a tool that could be described as a "clever grep" for abstract syntax trees (ASTs). As an initial proof...

> I think it's reasonable to require a two's complement implementation (we could verify it in a configure script, and in unit tests) If you really have some exotic system,...

Currently the conversion from projective to affine in pubkey creation, signing, and ECDH use a constant time ladder inverse because the z value conceivably leaks information. This applies even in...

The README states as a goal: "Intended to be portable to any system with a C89 compiler and uint64_t support." The C89 syntax does not specify `unsigned long long` (`ULL`)...

Documenting the optimizations in this library would help the coming generations of contributors. A few things are already mentioned in the README's "Implementation details". Perhaps it would make sense to...

For some functions handling public keys, the API docs claim that these functions always return 1. But when a zeroed pubkey is passed, the ARG_CHECK fires and they return 0....

This makes it way easier for dependent projects to probe whether libsecp256k1 was built with an optional module they might require. Fixes #666

If a feature is genuinely experimental, keep it in a separate branch. Otherwise, it *will* be compiled in, as there may be a user. This becomes inevitable in larger systems:...