Skip to main content
net9.0

C# bindings for the BoringSSL ECDSA signature verification

Published
Mar 28, 2025
1y ago
Total Downloads
7.4M
7,425,829

Install

dotnet add package Nethermind.Crypto.SecP256r1 --version 1.0.0-preview.6
ProductVersions
.NET
net9.0

README

secp256r1-bindings

Test Nethermind.Crypto.SecP256r1

C# bindings for the BoringSSL ECDSA signature verification.

Build

  • Checkout the repository, including nested BoringSSL submodule.

  • Copy CMakeLists.txt and all export.* files from the src folder to src/boringssl, replacing existing files.

  • Build the BoringSSL library in Release mode per documentation:

    cmake -GNinja -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=1
    ninja -C build crypto
    
  • Put the built crypto/libcrypto library from src/boringssl/build into the respective subdirectory in src/Nethermind.Crypto.SecP256r1/runtimes, renaming it and replacing the existing secp256r1/libsecp256r1 stub file

  • Build the .NET project as follows:

    dotnet build src/Nethermind.Crypto.SecP256r1
    

Changes from Previous Version

No structural changes between v1.0.0-preview.5 and v1.0.0-preview.6.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.