Search Portage & Overlays:


A fork of libsecp256k1 with support for advanced and experimental features such as Confidential Assets and MuSig2


  • libsecp256k1-zkp-0.1.0_pre20240203
    ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux
    +asm bppp +ecdh ecdsa-adaptor ecdsa-s2c +ellswift experimental external-default-callbacks +extrakeys generator lowmem musig rangeproof +recovery +schnorrsig surjectionproof test valgrind whitelist abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_s390_32 abi_s390_64

    View      Download      Browse     License: MIT   
    Overlay: bitcoin


commit 0f789afdc08cfd90f56a23187b63c21d9403d58c
Author: Matt Whitlock <>
Date: Fri Feb 9 04:57:03 2024 -0500

dev-libs/libsecp256k1-zkp: bump to 0.1.0_pre20240203

commit 16b46654bf15baa325deec85a9b9fa4fcb108c1f
Author: Matt Whitlock <>
Date: Fri Jan 19 14:39:08 2024 -0500

move {sys-devel → dev-build}/auto{conf{,-archive},make}


commit 37ca0232969b40cbdc3bec9027b4829db183bb9c
Author: Matt Whitlock <>
Date: Wed Nov 15 23:36:46 2023 -0500

dev-libs/libsecp256k1-zkp: bump to 0.1.0_pre20231101

commit 0d346c308336dea78a060a6f7d253d3d6b7db450
Author: Matt Whitlock <>
Date: Mon May 22 12:13:06 2023 -0400

dev-libs/libsecp256k1-zkp: bump to 0.1.0_pre20230515

commit 076d46dfd6a4343243c045cc7b8dd08d4086013f
Author: Matt Whitlock <>
Date: Fri Apr 14 16:25:31 2023 -0400

dev-libs/libsecp256k1-zkp: bump to 0.1.0_pre20230412

commit b66a70616012e00e589e6922b7a88b31c057806f
Author: Matt Whitlock <>
Date: Mon Mar 27 02:06:13 2023 -0400

append "?full_index=1" to GitHub patch URLs

Patches fetched from
are almost but not quite static. As the number of objects in a
repository grows, Git uses progressively longer abbreviations of index
hashes. This causes patch files occasionally to mutate, breaking
checksum checks. Fortunately, GitHub supports an undocumented option to
format patches as though --full-index had been passed to git-diff. Make
use of that option to reduce the likelihood of spontaneous checksum

commit 68c5f54c70da19f6965b3bca857720b300d0c0ac
Author: Matt Whitlock <>
Date: Fri Jan 6 16:04:59 2023 -0500

dev-libs/libsecp256k1{,-zkp}: use stable patch sources

This commit finishes what Florian Schmaus started in

commit de57612afbe91e4b5cbd4730a8f393815d00c4ee
Author: Matt Whitlock <>
Date: Sun Nov 27 15:51:50 2022 -0500

dev-libs/libsecp256k1{,-zkp}: fix Manifest

commit 6e39601a748f3465f66a38e7989e7414a4a1d9c0
Author: Matt Whitlock <>
Date: Tue Nov 22 19:42:28 2022 -0500

dev-libs/libsecp256k1{,-zkp}: drop "precompute-ecmult" USE flag

And change the ecmult window size for USE="lowmem" from 2 to 4.

Suggested-by: Tim Ruffing <>

commit 3de7be797ecd2d18ac126c71e5e6f8a278fc786b
Author: Matt Whitlock <>
Date: Mon Nov 21 22:25:05 2022 -0500

dev-libs/libsecp256k1{,-zkp}: enable multilib build

commit 2bfc5f27480a6f791084a8d68a03ee4a1b94bab4
Author: Matt Whitlock <>
Date: Mon Nov 21 21:04:40 2022 -0500

dev-libs/libsecp256k1-zkp: bump to 0.1.0_pre20220903

commit 48a1102ee1254065e085353654b6576684f3c389
Author: Matt Whitlock <>
Date: Mon Nov 21 20:49:58 2022 -0500

dev-libs/libsecp256k1{,-zkp}: synchronize ebuilds; IUSE+="static-libs"

Mostly this means propagating improvements, cleanups, and uncommon USE
flags from libsecp256k1 to libsecp256k1-zkp.

commit e987f6da68f3d2a63314effa03dd024802b06eeb
Author: Luke Dashjr <>
Date: Thu Jul 28 01:07:34 2022 +0000

dev-libs/libsecp256k1-zkp: Fix Manifest

commit a3dbdd14aa26838442b4dcb4be13e995c21f1ddd
Author: Matt Whitlock <>
Date: Mon Apr 11 22:12:21 2022 -0400

dev-libs/libsecp256k1-zkp: bump to 0.1.0_pre20220401

This is a dependency of net-libs/libwally-core-0.8.5.

commit 5c8b1fe5ab692bdad99ee9233f7426ee423be058
Author: Matt Whitlock <>
Date: Mon Feb 21 22:11:59 2022 -0500

dev-libs/libsecp256k1-zkp: drop defunct "gmp" USE flag

commit fef72a98c3e7853b6ab1e7e26ef764c170c333a1
Author: Matt Whitlock <>
Date: Wed Oct 20 13:39:02 2021 -0400

dev-libs/libsecp256k1-zkp: bump to 0.1_pre20210918

commit 8b98bc8afd71018cac7c6131b4610ed0bb19d5ea
Author: Matt Whitlock <>
Date: Sat Feb 13 12:24:47 2021 -0500

dev-libs/libsecp256k1-zkp: bump to 0.1_pre20210211

commit 8c2a230d3605170b00e7afb4ea6cdc1156affc98
Author: Matt Whitlock <>
Date: Mon Dec 9 11:53:54 2019 -0500

dev-libs/libsecp256k1-zkp: add "whitelist" USE flag and unstable keywords

This package can coexist with dev-libs/libsecp256k1, so there is little danger in keywording it. It is a dependency of net-libs/libwally-core[elements], which in turn is a dependency of net-p2p/c-lightning.

commit 9f1640debdb5a461ded55b72e813b4e6b4571dca
Author: Matt Whitlock <>
Date: Fri Oct 18 03:09:45 2019 -0400

introduce dev-libs/libsecp256k1-zkp

This is an experimental fork of libsecp256k1 by the Elements project to support Pedersen commitments and range proofs among other new features. This is needed for building net-libs/libwally-core with USE="elements".

The ebuild installs the library as and the headers in /usr/include/secp256k1_zkp, so this forked version can coexist with dev-libs/libsecp256k1.