BSD Ports

math/secp256k1 0.7.1 FreeBSD

Optimized C library for EC operations on curve secp256k1

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
math, security, java
Package size
1269.6 KiB, 2789.1 KiB installed

Description

An optimized C library for EC operations on curve secp256k1.

This library is a work in progress and is being used to research best practices. Use at your own risk.

Features:

  • secp256k1 ECDSA signing/verification and key generation.
  • Adding/multiplying private/public keys.
  • Serialization/parsing of private keys, public keys, signatures.
  • Constant time, constant memory access signing and pubkey generation.
  • Derandomized DSA (via RFC6979 or with a caller provided function.)
  • Very efficient implementation.

In the other systems

SystemPortVersion
FreeBSDmath/secp256k10.7.1
DragonFlymath/secp256k10.6.0

Install

Binary package:

pkg install secp256k1

From the ports tree:

cd /usr/ports/math/secp256k1/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	secp256k1>0:math/secp256k1
LIB_DEPENDS=	libsecp256k1.so:math/secp256k1

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.7.10.7.10.2.00.6.00.7.1
FreeBSD:14:quarterly0.7.10.7.1n/a0.6.00.7.1
FreeBSD:15:latest0.7.10.7.1n/a0.6.00.6.0
FreeBSD:15:quarterly0.7.10.7.1n/an/an/a
FreeBSD:16:latest0.7.10.7.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 8

Configuration

No options to configure.

USES
autoreconf libtool
Service scripts
none

Files

pkg-plist 13
  • include/secp256k1.h
  • include/secp256k1_ecdh.h
  • include/secp256k1_ellswift.h
  • include/secp256k1_extrakeys.h
  • include/secp256k1_musig.h
  • include/secp256k1_preallocated.h
  • include/secp256k1_recovery.h
  • include/secp256k1_schnorrsig.h
  • lib/libsecp256k1.a
  • lib/libsecp256k1.so
  • lib/libsecp256k1.so.6
  • lib/libsecp256k1.so.6.0.1
  • libdata/pkgconfig/libsecp256k1.pc
distinfo 1
FileSizeSHA256
bitcoin-core-secp256k1-v0.7.1_GH0.tar.gz2.154599e+06958f204dbafc117e73a2604285dc2eb2a5128344d3499c114dcba5de54cb7a9e

Commit history 0

No commits in the history this site was built from.