diff options
author | Peter Pentchev <roam@FreeBSD.org> | 2005-02-19 00:05:04 +0000 |
---|---|---|
committer | Peter Pentchev <roam@FreeBSD.org> | 2005-02-19 00:05:04 +0000 |
commit | 091332206ff53d73d30176febd1f4ca694496b55 (patch) | |
tree | 8e83639b242698f72c117d4243a728f7e7873ab0 /security | |
parent | 11ea174ccbc9cebd4134768e8fb92c6a3dc2c559 (diff) | |
download | ports-091332206ff53d73d30176febd1f4ca694496b55.tar.gz ports-091332206ff53d73d30176febd1f4ca694496b55.zip |
Notes
Diffstat (limited to 'security')
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/poly1305aes/Makefile | 34 | ||||
-rw-r--r-- | security/poly1305aes/distinfo | 2 | ||||
-rw-r--r-- | security/poly1305aes/pkg-descr | 14 | ||||
-rw-r--r-- | security/poly1305aes/pkg-plist | 33 |
5 files changed, 84 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index 12cf19d82f57..56f4951fb262 100644 --- a/security/Makefile +++ b/security/Makefile @@ -360,6 +360,7 @@ SUBDIR += pks SUBDIR += pktsuckers SUBDIR += poc + SUBDIR += poly1305aes SUBDIR += portaudit SUBDIR += portaudit-db SUBDIR += portscanner diff --git a/security/poly1305aes/Makefile b/security/poly1305aes/Makefile new file mode 100644 index 000000000000..208a02f9ca19 --- /dev/null +++ b/security/poly1305aes/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: poly1305aes +# Date created: 18 February 2005 +# Whom: roam@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= poly1305aes +PORTVERSION= 20050218 +CATEGORIES= security +MASTER_SITES= http://cr.yp.to/mac/ + +MAINTAINER= roam@FreeBSD.org +COMMENT= The poly1305 message authentication reference implementation using AES + +USE_REINPLACE= yes + +MAKE_ENV+= CC="${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} ${STRIP}" +ALL_TARGET= default + +REPLACE_HDRS= aes.h cpucycles.h poly1305aes.h +PROGRAM_FILES= poly1305aes-speed test-aes test-poly1305aes + +do-install: + ${MKDIR} ${PREFIX}/include/poly1305 + ${INSTALL_DATA} ${WRKSRC}/*_*.h ${PREFIX}/include/poly1305/ +.for i in ${REPLACE_HDRS} + ${REINPLACE_CMD} -e "s,#include \",#include \"poly1305/," ${WRKSRC}/$i > ${WRKSRC}/$i.fixed + ${INSTALL_DATA} ${WRKSRC}/$i.fixed ${PREFIX}/include/poly1305/$i + ${INSTALL_DATA} ${WRKSRC}/*.a ${PREFIX}/lib/ + ${INSTALL_DATA} ${PROGRAM_FILES:S,^,${WRKSRC}/,} ${PREFIX}/bin/ +.endfor + +.include <bsd.port.mk> diff --git a/security/poly1305aes/distinfo b/security/poly1305aes/distinfo new file mode 100644 index 000000000000..d919467ebba9 --- /dev/null +++ b/security/poly1305aes/distinfo @@ -0,0 +1,2 @@ +MD5 (poly1305aes-20050218.tar.gz) = fecfc198704da023310b406928092123 +SIZE (poly1305aes-20050218.tar.gz) = 208222 diff --git a/security/poly1305aes/pkg-descr b/security/poly1305aes/pkg-descr new file mode 100644 index 000000000000..099e793b3f35 --- /dev/null +++ b/security/poly1305aes/pkg-descr @@ -0,0 +1,14 @@ +Poly1305-AES is a state-of-the-art secret-key message-authentication +code suitable for a wide variety of applications. + +Poly1305-AES computes a 16-byte authenticator of a message of any +length, using a 16-byte nonce (unique message number) and a 32-byte +secret key. Attackers can't modify or forge messages if the message +sender transmits an authenticator along with each message and the +message receiver checks each authenticator. + +There's a mailing list for Poly1305-AES discussions. To subscribe, send +an empty message to poly1305-subscribe@list.cr.yp.to. + +Author: Prof. Daniel J. Bernstein <djb@cr.yp.to> +WWW: http://cr.yp.to/mac.html diff --git a/security/poly1305aes/pkg-plist b/security/poly1305aes/pkg-plist new file mode 100644 index 000000000000..a7a0dd799678 --- /dev/null +++ b/security/poly1305aes/pkg-plist @@ -0,0 +1,33 @@ +bin/poly1305aes-speed +bin/test-aes +bin/test-poly1305aes +include/poly1305/aes.h +include/poly1305/aes_aix.h +include/poly1305/aes_athlon.h +include/poly1305/aes_big.h +include/poly1305/aes_macos.h +include/poly1305/aes_ppro.h +include/poly1305/aes_sparc.h +include/poly1305/cpucycles.h +include/poly1305/cpucycles_aix.h +include/poly1305/cpucycles_athlon.h +include/poly1305/cpucycles_macos.h +include/poly1305/cpucycles_ppro.h +include/poly1305/cpucycles_sparc.h +include/poly1305/cpucycles_zero.h +include/poly1305/poly1305_53.h +include/poly1305/poly1305_aix.h +include/poly1305/poly1305_athlon.h +include/poly1305/poly1305_macos.h +include/poly1305/poly1305_ppro.h +include/poly1305/poly1305_sparc.h +include/poly1305/poly1305aes.h +include/poly1305/poly1305aes_53.h +include/poly1305/poly1305aes_aix.h +include/poly1305/poly1305aes_athlon.h +include/poly1305/poly1305aes_macos.h +include/poly1305/poly1305aes_ppro.h +include/poly1305/poly1305aes_sparc.h +lib/cpucycles.a +lib/poly1305aes.a +@unexec rmdir %D/include/poly1305 || true |