From e7baec03e4fc4354cd6869b879822c75e656796c Mon Sep 17 00:00:00 2001 From: agc Date: Fri, 18 Nov 2005 23:43:05 +0000 Subject: [PATCH] Initial import of md4-collision-20051118, a program to calculate md4 collisions. MD4 Collision Generation Faster implementation of techniques described in Cryptanalysis for Hash Functions MD4 and RIPEMD, by Xiaoyun Wang, et al. Average runtime on P4 1.6ghz - 5 seconds --- security/md4-collision/DESCR | 6 ++++++ security/md4-collision/Makefile | 24 ++++++++++++++++++++++++ security/md4-collision/PLIST | 2 ++ security/md4-collision/distinfo | 5 +++++ 4 files changed, 37 insertions(+) create mode 100644 security/md4-collision/DESCR create mode 100644 security/md4-collision/Makefile create mode 100644 security/md4-collision/PLIST create mode 100644 security/md4-collision/distinfo diff --git a/security/md4-collision/DESCR b/security/md4-collision/DESCR new file mode 100644 index 000000000000..c48b1dba461c --- /dev/null +++ b/security/md4-collision/DESCR @@ -0,0 +1,6 @@ +MD4 Collision Generation + +Faster implementation of techniques described in Cryptanalysis for +Hash Functions MD4 and RIPEMD, by Xiaoyun Wang, et al. + +Average runtime on P4 1.6ghz - 5 seconds diff --git a/security/md4-collision/Makefile b/security/md4-collision/Makefile new file mode 100644 index 000000000000..0e20ae2ccac2 --- /dev/null +++ b/security/md4-collision/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/11/18 23:43:05 agc Exp $ + +DISTNAME= md4coll +PKGNAME= md4-collision-20051118 +CATEGORIES= security +MASTER_SITES= http://www.stachliu.com/ +EXTRACT_SUFX= .c + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://www.stachliu.com/collisions.html +COMMENT= MD5 Collision generator + +EXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} ${WRKSRC} +WRKSRC= ${WRKDIR} + +INSTALLATION_DIRS= bin + +do-build: + cd ${WRKSRC} && ${CC} ${CFLAGS} -o md4coll md4coll.c + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/md4coll ${PREFIX}/bin + +.include "../../mk/bsd.pkg.mk" diff --git a/security/md4-collision/PLIST b/security/md4-collision/PLIST new file mode 100644 index 000000000000..092cbf1a8beb --- /dev/null +++ b/security/md4-collision/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/11/18 23:43:05 agc Exp $ +bin/md4coll diff --git a/security/md4-collision/distinfo b/security/md4-collision/distinfo new file mode 100644 index 000000000000..4db5dfa92eef --- /dev/null +++ b/security/md4-collision/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/11/18 23:43:05 agc Exp $ + +SHA1 (md4coll.c) = eb74f3405ca53462711d09c8a8191f5fcf628e1b +RMD160 (md4coll.c) = e2e2e83cc2c1b4b0c62039ebc392c4765d8527c0 +Size (md4coll.c) = 16814 bytes