summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2010-11-09 03:33:28 +0000
committeragc <agc@pkgsrc.org>2010-11-09 03:33:28 +0000
commit25a15d0fd274934d33dcfd969bd1a2bb7f1aaaed (patch)
tree92cfd3a93b84f5f48ba99a9c60b0863568beb021 /security
parent6e314bd48667e3d9fc6d2cd6edcf936454ae13fb (diff)
downloadpkgsrc-25a15d0fd274934d33dcfd969bd1a2bb7f1aaaed.tar.gz
Initial import of security/libpbc-0.5.10 into the Packages Collection.
The PBC (Pairing-Based Cryptography) library is a free C library built on the GMP library that performs the mathematical operations underlying pairing-based cryptosystems. It provides routines such as elliptic curve generation, elliptic curve arithmetic and pairing computation. The API is abstract enough that the PBC library can be used even if the programmer possesses only an elementary understanding of pairings. There is no need to learn about elliptic curves or much of number theory. (The minimum requirement is some knowledge of cyclic groups and properties of the pairing.) Boneh-Lynn-Shacham short signatures Hess identity-based signatures Joux tripartite Diffie-Hellman Paterson identity-based signatures Yuan-Li identity-based authenticated key agreement Zhang-Kim identity-based blind/ring signatures Zhang-Safavi-Naini-Susilo signatures
Diffstat (limited to 'security')
-rw-r--r--security/libpbc/DESCR20
-rw-r--r--security/libpbc/Makefile20
-rw-r--r--security/libpbc/PLIST25
-rw-r--r--security/libpbc/distinfo5
4 files changed, 70 insertions, 0 deletions
diff --git a/security/libpbc/DESCR b/security/libpbc/DESCR
new file mode 100644
index 00000000000..201e8342094
--- /dev/null
+++ b/security/libpbc/DESCR
@@ -0,0 +1,20 @@
+The PBC (Pairing-Based Cryptography) library is a free C library built
+on the GMP library that performs the mathematical operations
+underlying pairing-based cryptosystems.
+
+It provides routines such as elliptic curve generation, elliptic curve
+arithmetic and pairing computation.
+
+The API is abstract enough that the PBC library can be used even if
+the programmer possesses only an elementary understanding of pairings.
+There is no need to learn about elliptic curves or much of number
+theory. (The minimum requirement is some knowledge of cyclic groups
+and properties of the pairing.)
+
+ Boneh-Lynn-Shacham short signatures
+ Hess identity-based signatures
+ Joux tripartite Diffie-Hellman
+ Paterson identity-based signatures
+ Yuan-Li identity-based authenticated key agreement
+ Zhang-Kim identity-based blind/ring signatures
+ Zhang-Safavi-Naini-Susilo signatures
diff --git a/security/libpbc/Makefile b/security/libpbc/Makefile
new file mode 100644
index 00000000000..41d33a56c16
--- /dev/null
+++ b/security/libpbc/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/11/09 03:33:28 agc Exp $
+
+DISTNAME= pbc-0.5.10
+CATEGORIES= security
+MASTER_SITES= http://crypto.stanford.edu/pbc/files/
+
+MAINTAINER= agc@NetBSD.org
+HOMEPAGE= http://crypto.stanford.edu/pbc/
+COMMENT= Pair-based cryptographic library based on Gap Diffie Helman groups
+LICENSE= gnu-lgpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+AUTO_MKDIRS= yes
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+
+.include "../../devel/gmp/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/libpbc/PLIST b/security/libpbc/PLIST
new file mode 100644
index 00000000000..a53277098fa
--- /dev/null
+++ b/security/libpbc/PLIST
@@ -0,0 +1,25 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/11/09 03:33:28 agc Exp $
+include/pbc/pbc.h
+include/pbc/pbc_a1_param.h
+include/pbc/pbc_a_param.h
+include/pbc/pbc_curve.h
+include/pbc/pbc_d_param.h
+include/pbc/pbc_e_param.h
+include/pbc/pbc_f_param.h
+include/pbc/pbc_field.h
+include/pbc/pbc_fieldquadratic.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_multiz.h
+include/pbc/pbc_pairing.h
+include/pbc/pbc_param.h
+include/pbc/pbc_poly.h
+include/pbc/pbc_random.h
+include/pbc/pbc_singular.h
+include/pbc/pbc_test.h
+include/pbc/pbc_utils.h
+include/pbc/pbc_z.h
+lib/libpbc.la
diff --git a/security/libpbc/distinfo b/security/libpbc/distinfo
new file mode 100644
index 00000000000..67f1ca4103f
--- /dev/null
+++ b/security/libpbc/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/11/09 03:33:28 agc Exp $
+
+SHA1 (pbc-0.5.10.tar.gz) = 79bed6f6ed76236ae60fd8d5afab2e4c36201a63
+RMD160 (pbc-0.5.10.tar.gz) = ca64d7dacb07d37d7cbfa45c4f1391fc83d975c4
+Size (pbc-0.5.10.tar.gz) = 523395 bytes