diff options
author | Michael Haro <mharo@FreeBSD.org> | 2001-09-12 01:09:39 +0000 |
---|---|---|
committer | Michael Haro <mharo@FreeBSD.org> | 2001-09-12 01:09:39 +0000 |
commit | 409354ab19d93d995f63349d32203b368e06afe7 (patch) | |
tree | 382d61c87f43b09cd3728c2737379a8bd61a5383 /security/p5-Crypt-Primes | |
parent | Convert::ASN1 encodes and decodes ASN.1 data structures using BER/DER rules. (diff) |
Provable Prime Number Generator suitable for Cryptographic Applications
Notes
Notes:
svn path=/head/; revision=47725
Diffstat (limited to 'security/p5-Crypt-Primes')
-rw-r--r-- | security/p5-Crypt-Primes/Makefile | 29 | ||||
-rw-r--r-- | security/p5-Crypt-Primes/distinfo | 1 | ||||
-rw-r--r-- | security/p5-Crypt-Primes/pkg-comment | 1 | ||||
-rw-r--r-- | security/p5-Crypt-Primes/pkg-descr | 12 | ||||
-rw-r--r-- | security/p5-Crypt-Primes/pkg-plist | 5 |
5 files changed, 48 insertions, 0 deletions
diff --git a/security/p5-Crypt-Primes/Makefile b/security/p5-Crypt-Primes/Makefile new file mode 100644 index 000000000000..439c06ed55b7 --- /dev/null +++ b/security/p5-Crypt-Primes/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: p5-Crypt-Primes +# Date created: Tue Sep 11 10:31:23 PDT 2001 +# Whom: Michael Haro <mharo@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= Crypt-Primes +PORTVERSION= 0.49 +CATEGORIES= security perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Crypt +PKGNAMEPREFIX= p5- + +MAINTAINER= mharo@FreeBSD.org + +PERLBASE= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} + +BUILD_DEPENDS= ${PERLBASE}/Crypt/Random.pm:${PORTSDIR}/security/p5-Crypt-Random \ + ${PERLBASE}/${PERL_ARCH}/Math/Pari.pm:${PORTSDIR}/math/p5-Math-Pari + +RESTRICTED= "Crypto; export-controlled" + +PERL_CONFIGURE= yes + +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} +MAN3= Crypt::Primes.3 + +.include <bsd.port.mk> diff --git a/security/p5-Crypt-Primes/distinfo b/security/p5-Crypt-Primes/distinfo new file mode 100644 index 000000000000..c0d5d89e1d17 --- /dev/null +++ b/security/p5-Crypt-Primes/distinfo @@ -0,0 +1 @@ +MD5 (Crypt-Primes-0.49.tar.gz) = 8f642885306967a5294ce16865af71d0 diff --git a/security/p5-Crypt-Primes/pkg-comment b/security/p5-Crypt-Primes/pkg-comment new file mode 100644 index 000000000000..1e9174b87f1e --- /dev/null +++ b/security/p5-Crypt-Primes/pkg-comment @@ -0,0 +1 @@ +Provable Prime Number Generator suitable for Cryptographic Applications diff --git a/security/p5-Crypt-Primes/pkg-descr b/security/p5-Crypt-Primes/pkg-descr new file mode 100644 index 000000000000..eda828ea65b9 --- /dev/null +++ b/security/p5-Crypt-Primes/pkg-descr @@ -0,0 +1,12 @@ +This module implements Ueli Maurer's algorithm for generating large +provable primes and secure parameters for public-key cryptosystems. +The generated primes are almost uniformly distributed over the set of +primes of the specified bitsize and expected time for generation is +less than the time required for generating a pseudo-prime of the same +size with Miller-Rabin tests. Detailed description and running time +analysis of the algorithm can be found in Maurer's paper[1]. + +Crypt::Primes is a pure perl implementation. It uses Math::Pari for +multiple precision integer arithmetic and number theoretic functions. +Random numbers are gathered with Crypt::Random, a perl interface to +/dev/u?random devices found on modern Unix operating systems. diff --git a/security/p5-Crypt-Primes/pkg-plist b/security/p5-Crypt-Primes/pkg-plist new file mode 100644 index 000000000000..90ebd0fdf1d6 --- /dev/null +++ b/security/p5-Crypt-Primes/pkg-plist @@ -0,0 +1,5 @@ +bin/largeprimes +lib/perl5/site_perl/%%PERL_VER%%/Crypt/Primes.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Primes/.packlist +man/man1/largeprimes.1 +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Primes |