Permalink
Browse files

SHA-3 proof of concept

  • Loading branch information...
1 parent 89e57d0 commit c8d780347f64fa3d604540f86c79f509d7e9ad1d jessekornblum committed Nov 11, 2012
Showing with 790 additions and 84 deletions.
  1. +7 −0 ChangeLog
  2. +4 −0 NEWS
  3. +1 −1 configure.ac
  4. +3 −2 man/Makefile.am
  5. +6 −0 man/md5deep.1
  6. +6 −0 man/sha1deep.1
  7. +6 −0 man/sha256deep.1
  8. +376 −0 man/sha3deep.1
  9. +6 −0 man/tigerdeep.1
  10. +6 −0 man/whirlpooldeep.1
  11. +3 −2 src/Makefile.am
  12. +2 −2 src/common.h
  13. +96 −65 src/main.cpp
  14. +19 −12 src/main.h
  15. +193 −0 src/sha3.c
  16. +56 −0 src/sha3.h
View
@@ -1,3 +1,10 @@
+2012-11-10 Jesse Kornblum <research@jessekornblum.com>:
+
+ * src/Makefile.am: Added sha3deep
+ * src/main.h: Added SHA3 defines
+ * src/main.cpp: Added SHA3 code
+ * src/common.h: Increased max size of context structure for SHA-3
+
2012-11-09 Jesse Kornblum <research@jessekornblum.com>:
* man/hashdeep.1: Clarified Unicode statements
View
@@ -1,5 +1,9 @@
** Changes in version 4.4 (RBF DATE)
+* New Features
+
+ Added SHA3 hashes with sha3deep
+
* Bug Fixes
Added checks against user errors on Hashdeep command line
View
@@ -3,7 +3,7 @@
#
AC_PREREQ(2.57)
-AC_INIT([MD5DEEP],[4.4],[research@jessekornblum.com])
+AC_INIT([MD5DEEP],[4.4-beta1],[research@jessekornblum.com])
AC_CONFIG_FILES([Makefile src/Makefile man/Makefile tests/Makefile tests/testfiles/Makefile ])
AM_INIT_AUTOMAKE
AC_CONFIG_HEADERS([config.h])
View
@@ -1,6 +1,6 @@
-ALL_GOALS={md5,sha1,sha256,tiger,whirlpool,hashdeep}
+ALL_GOALS={md5,sha1,sha256,sha3,tiger,whirlpool,hashdeep}
-man_MANS=md5deep.1 sha1deep.1 sha256deep.1 tigerdeep.1 whirlpooldeep.1 hashdeep.1
+man_MANS=md5deep.1 sha1deep.1 sha256deep.1 sha3deep.1 tigerdeep.1 whirlpooldeep.1 hashdeep.1
# We erase the old man pages, just in case they might be symbolic links
# (symbolic links were used in a previous release)
@@ -11,6 +11,7 @@ install-man: update-manpages
update-manpages: md5deep.1
$(INSTALL) $< sha1deep.1
$(INSTALL) $< sha256deep.1
+ $(INSTALL) $< sha3deep.1
$(INSTALL) $< tigerdeep.1
$(INSTALL) $< whirlpooldeep.1
View
@@ -7,6 +7,8 @@ sha1deep \- Compute and compare SHA-1 message digests
.br
sha256deep \- Compute and compare SHA-256 message digests
.br
+sha3deep \- Compute and compare SHA-3-256 message digests
+.br
tigerdeep \- Compute and compare Tiger message digests
.br
whirlpooldeep \- Compute and compare Whirlpool message digests
@@ -361,6 +363,10 @@ The SHA-256 specification, FIPS 180-2, is available at
.br
http://csrc.nist.gov/publications/fips/fips180-2/fips180-2.pdf
.PP
+The SHA-3-256 specification is available at
+.br
+http://keccak.noekeon.org/
+.PP
The Tiger specification is available at
.br
http://www.cs.technion.ac.il/~biham/Reports/Tiger/
View
@@ -7,6 +7,8 @@ sha1deep \- Compute and compare SHA-1 message digests
.br
sha256deep \- Compute and compare SHA-256 message digests
.br
+sha3deep \- Compute and compare SHA-3-256 message digests
+.br
tigerdeep \- Compute and compare Tiger message digests
.br
whirlpooldeep \- Compute and compare Whirlpool message digests
@@ -361,6 +363,10 @@ The SHA-256 specification, FIPS 180-2, is available at
.br
http://csrc.nist.gov/publications/fips/fips180-2/fips180-2.pdf
.PP
+The SHA-3-256 specification is available at
+.br
+http://keccak.noekeon.org/
+.PP
The Tiger specification is available at
.br
http://www.cs.technion.ac.il/~biham/Reports/Tiger/
View
@@ -7,6 +7,8 @@ sha1deep \- Compute and compare SHA-1 message digests
.br
sha256deep \- Compute and compare SHA-256 message digests
.br
+sha3deep \- Compute and compare SHA-3-256 message digests
+.br
tigerdeep \- Compute and compare Tiger message digests
.br
whirlpooldeep \- Compute and compare Whirlpool message digests
@@ -361,6 +363,10 @@ The SHA-256 specification, FIPS 180-2, is available at
.br
http://csrc.nist.gov/publications/fips/fips180-2/fips180-2.pdf
.PP
+The SHA-3-256 specification is available at
+.br
+http://keccak.noekeon.org/
+.PP
The Tiger specification is available at
.br
http://www.cs.technion.ac.il/~biham/Reports/Tiger/
Oops, something went wrong.

0 comments on commit c8d7803

Please sign in to comment.