1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Add poly1305-20050218, Prof. Daniel J. Bernstein's public domain message

authenticator library.
This commit is contained in:
Peter Pentchev 2005-02-19 00:05:04 +00:00
parent 11ea174ccb
commit 091332206f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=129235
5 changed files with 84 additions and 0 deletions

View File

@ -360,6 +360,7 @@
SUBDIR += pks
SUBDIR += pktsuckers
SUBDIR += poc
SUBDIR += poly1305aes
SUBDIR += portaudit
SUBDIR += portaudit-db
SUBDIR += portscanner

View File

@ -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>

View File

@ -0,0 +1,2 @@
MD5 (poly1305aes-20050218.tar.gz) = fecfc198704da023310b406928092123
SIZE (poly1305aes-20050218.tar.gz) = 208222

View File

@ -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

View File

@ -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