1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Pairing-based cryptography is a relatively young area of cryptography

that revolves around a certain function with special properties.

The PBC (Pairing-Based Cryptography) library is a free C library
(released under the GNU Public License) built on the GMP library that
performs the mathematical operations underlying pairing-based
cryptosystems.

The PBC library is designed to be the backbone of implementations of
pairing-based cryptosystems, thus speed and portability are important
goals. It provides routines such as elliptic curve generation, elliptic
curve arithmetic and pairing computation. Thanks to the GMP library,
despite being written in C, pairings times are reasonable.

WWW:	http://crypto.stanford.edu/pbc/

PR:		ports/133172
Submitted by:	Wen Heping <wenheping at gmail.com>
This commit is contained in:
Martin Wilke 2009-03-31 09:39:12 +00:00
parent e47fed2d39
commit 2d04fc9d63
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=231368
5 changed files with 71 additions and 0 deletions

View File

@ -554,6 +554,7 @@
SUBDIR += pantera
SUBDIR += paperkey
SUBDIR += parano
SUBDIR += pbc
SUBDIR += pbnj
SUBDIR += pdfcrack
SUBDIR += pear-Auth

21
security/pbc/Makefile Normal file
View File

@ -0,0 +1,21 @@
# New ports collection makefile for: pbc
# Date created: 28 March, 2009
# Whom: Wen Heping <wenheping@gmail.com>
#
# $FreeBSD$
#
PORTNAME= pbc
PORTVERSION= 0.4.19
CATEGORIES= security
MASTER_SITES= http://crypto.stanford.edu/pbc/files/
MAINTAINER= wenheping@gmail.com
COMMENT= Library of pairing-based cryptosystems
LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4
USE_CMAKE= yes
USE_LDCONFIG= yes
.include <bsd.port.mk>

3
security/pbc/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (pbc-0.4.19.tar.gz) = 4515d7fb22ac3d844536bf82b427dd3c
SHA256 (pbc-0.4.19.tar.gz) = e7b4fd5a27985d89ad33daff08cda413ac37285a9af65e71e041646eed8d0e87
SIZE (pbc-0.4.19.tar.gz) = 474807

15
security/pbc/pkg-descr Normal file
View File

@ -0,0 +1,15 @@
Pairing-based cryptography is a relatively young area of cryptography
that revolves around a certain function with special properties.
The PBC (Pairing-Based Cryptography) library is a free C library
(released under the GNU Public License) built on the GMP library that
performs the mathematical operations underlying pairing-based
cryptosystems.
The PBC library is designed to be the backbone of implementations of
pairing-based cryptosystems, thus speed and portability are important
goals. It provides routines such as elliptic curve generation, elliptic
curve arithmetic and pairing computation. Thanks to the GMP library,
despite being written in C, pairings times are reasonable.
WWW: http://crypto.stanford.edu/pbc/

31
security/pbc/pkg-plist Normal file
View File

@ -0,0 +1,31 @@
lib/libpbc.a
include/pbc/pbc.h
include/pbc/pbc_a1_param.h
include/pbc/pbc_a_param.h
include/pbc/pbc_assert.h
include/pbc/pbc_curve.h
include/pbc/pbc_d_param.h
include/pbc/pbc_darray.h
include/pbc/pbc_e_param.h
include/pbc/pbc_f_param.h
include/pbc/pbc_field.h
include/pbc/pbc_fieldmpz.h
include/pbc/pbc_fieldquadratic.h
include/pbc/pbc_fops.h
include/pbc/pbc_fp.h
include/pbc/pbc_g_param.h
include/pbc/pbc_hilbert.h
include/pbc/pbc_memory.h
include/pbc/pbc_mnt.h
include/pbc/pbc_mpc.h
include/pbc/pbc_pairing.h
include/pbc/pbc_param.h
include/pbc/pbc_parse.h
include/pbc/pbc_poly.h
include/pbc/pbc_random.h
include/pbc/pbc_singular.h
include/pbc/pbc_symtab.h
include/pbc/pbc_time.h
include/pbc/pbc_tracker.h
include/pbc/pbc_utils.h
@dirrm include/pbc