summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2005-11-23 05:16:42 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2005-11-23 05:16:42 +0000
commitfe645fdf8cb2bb8da09640b6f5d450da1ce059cc (patch)
tree3d61871064468ae228d150dc1342b51c4b2ee4ec /security
parentNew port md5coll version 0.1: Fast MD5 collision generator (diff)
New port md4coll version 0.1: Fast MD4 collision generator
Notes
Notes: svn path=/head/; revision=149151
Diffstat (limited to 'security')
-rw-r--r--security/Makefile1
-rw-r--r--security/md4coll/Makefile36
-rw-r--r--security/md4coll/distinfo3
-rw-r--r--security/md4coll/pkg-descr12
-rw-r--r--security/md4coll/pkg-message4
5 files changed, 56 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 3e448a0f8b4b..9362dd73bb9e 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -219,6 +219,7 @@
SUBDIR += makepasswd
SUBDIR += manipulate_data
SUBDIR += mcrypt
+ SUBDIR += md4coll
SUBDIR += md5coll
SUBDIR += md5deep
SUBDIR += mdcrack
diff --git a/security/md4coll/Makefile b/security/md4coll/Makefile
new file mode 100644
index 000000000000..21fd9cb14738
--- /dev/null
+++ b/security/md4coll/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: md4 collision generator
+# Date created: Wed Nov 23 04:51:32 UTC 2005
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= md4coll
+DISTVERSION= 0.1
+CATEGORIES= security
+MASTER_SITES= http://www.stachliu.com/
+DISTNAME= ${PORTNAME}.c
+EXTRACT_SUFX=
+EXTRACT_ONLY=
+
+MAINTAINER= lioux@FreeBSD.org
+COMMENT= Fast MD4 collision generator
+
+ONLY_FOR_ARCHS= i386
+
+NO_WRKSUBDIR= yes
+PLIST_FILES= bin/${PORTNAME}
+
+post-extract:
+ @${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}
+
+do-build:
+ ${CC} ${CFLAGS} ${WRKSRC}/${DISTNAME} -o ${WRKSRC}/${PORTNAME}
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/security/md4coll/distinfo b/security/md4coll/distinfo
new file mode 100644
index 000000000000..78459a068630
--- /dev/null
+++ b/security/md4coll/distinfo
@@ -0,0 +1,3 @@
+MD5 (md4coll.c) = afae19b001a95b469fd9897dcf208661
+SHA256 (md4coll.c) = 2bebad65909745571594f17a961b74232c8dfde3ae0949d01246d67c9c0e48a3
+SIZE (md4coll.c) = 16814
diff --git a/security/md4coll/pkg-descr b/security/md4coll/pkg-descr
new file mode 100644
index 000000000000..11508ca0969f
--- /dev/null
+++ b/security/md4coll/pkg-descr
@@ -0,0 +1,12 @@
+[ excerpt from developer's www site with modifications ]
+
+Faster implementation of techniques described in Cryptanalysis for
+Hash Functions MD4 and RIPEMD, by Xiaoyun Wang, et al.
+
+MD4 Collision Generator by Patrick Stach <pstach@stachliu.com>
+Implementation of paper by Xiaoyun Wang, et. al.
+
+Author: Patrick Stach <pstach@stachliu.com>
+WWW: http://www.stachliu.com/collisions.html
+
+-- lioux@FreeBSD.org
diff --git a/security/md4coll/pkg-message b/security/md4coll/pkg-message
new file mode 100644
index 000000000000..40d6398f33e5
--- /dev/null
+++ b/security/md4coll/pkg-message
@@ -0,0 +1,4 @@
+---------------------------------------------------------------------
+Please check http://www.stachliu.com/collisions.html for instructions
+on how to use this application.
+---------------------------------------------------------------------