Nethermind.Crypto.SecP256r1
1.2.0
dotnet add package Nethermind.Crypto.SecP256r1 --version 1.2.0
NuGet\Install-Package Nethermind.Crypto.SecP256r1 -Version 1.2.0
<PackageReference Include="Nethermind.Crypto.SecP256r1" Version="1.2.0" />
<PackageVersion Include="Nethermind.Crypto.SecP256r1" Version="1.2.0" />
<PackageReference Include="Nethermind.Crypto.SecP256r1" />
paket add Nethermind.Crypto.SecP256r1 --version 1.2.0
#r "nuget: Nethermind.Crypto.SecP256r1, 1.2.0"
#:package Nethermind.Crypto.SecP256r1@1.2.0
#addin nuget:?package=Nethermind.Crypto.SecP256r1&version=1.2.0
#tool nuget:?package=Nethermind.Crypto.SecP256r1&version=1.2.0
secp256r1 bindings for BoringSSL
C# bindings for the BoringSSL ECDSA signature verification.
Build
The prebuilt BoringSSL binaries in src/Nethermind.Crypto.SecP256r1/runtimes are stored in Git LFS and updated by running the Build BoringSSL workflow, which builds the pinned BoringSSL submodule for all platforms. To build them manually:
Checkout the repository, including nested BoringSSL submodule.
Copy
CMakeLists.txtand allexport.*files from thesrcfolder tosrc/boringssl, replacing existing files.Build the BoringSSL library in Release mode per docs:
cmake -GNinja -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=1 ninja -C build cryptoFor
win-arm64, configure from an ARM64 developer environment with-DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl, as MSVC cannot assemble BoringSSL's AArch64 assembly, which is essential for performance.Put the built
crypto/libcryptolibrary fromsrc/boringssl/buildinto the respective subdirectory insrc/Nethermind.Crypto.SecP256r1/runtimes, renaming it and replacing the existingsecp256r1/libsecp256r1stub fileBuild the .NET project as follows:
dotnet build src/Nethermind.Crypto.SecP256r1
License
This project is licensed under the MIT license.
The package also ships prebuilt BoringSSL binaries, used under Apache-2.0. Those binaries include Fiat Cryptography, also used under Apache-2.0. See THIRD-PARTY-NOTICES for the full texts.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Nethermind.Crypto.SecP256r1:
| Repository | Stars |
|---|---|
|
NethermindEth/nethermind
A robust, high-performance execution client for Ethereum node operators.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 1.2.0 | 11,516 | 10/9/2026 |
| 1.1.0 | 3,223,954 | 7/17/2026 |
| 1.0.0 | 3,174,699 | 3/21/2026 |
| 1.0.0-preview.6 | 1,937,564 | 3/28/2025 |
| 1.0.0-preview.5 | 302 | 3/28/2025 |
| 1.0.0-preview.4 | 954 | 3/26/2025 |
| 1.0.0-preview.3 | 13,067 | 3/3/2025 |
| 1.0.0-preview.2 | 434 | 2/28/2025 |
| 1.0.0-preview.1 | 4,609 | 2/24/2025 |