openssl/crypto/ripemd
Richard Levitte eb797fde3f Fix the update target and remove duplicate file updates
We had updates of certain header files in both Makefile.org and the
Makefile in the directory the header file lived in.  This is error
prone and also sometimes generates slightly different results (usually
just a comment that differs) depending on which way the update was
done.

This removes the file update targets from the top level Makefile, adds
an update: target in all Makefiles and has it depend on the depend: or
local_depend: targets, whichever is appropriate, so we don't get a
double run through the whole file tree.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit 0f539dc1a2)

Conflicts:
	Makefile.org
	apps/Makefile
	test/Makefile
2015-05-23 11:22:10 +02:00
..
asm
.cvsignore Apply mingw patches as supplied by Roumen Petrov an Alon Bar-Lev 2008-04-17 10:19:16 +00:00
Makefile Fix the update target and remove duplicate file updates 2015-05-23 11:22:10 +02:00
README PR: 1835 2009-02-14 21:49:38 +00:00
ripemd.h Run util/openssl-format-source -v -c . 2015-01-22 09:38:39 +00:00
rmd160.c Run util/openssl-format-source -v -c . 2015-01-22 09:38:39 +00:00
rmd_dgst.c Run util/openssl-format-source -v -c . 2015-01-22 09:38:39 +00:00
rmd_locl.h Run util/openssl-format-source -v -c . 2015-01-22 09:38:39 +00:00
rmd_one.c Run util/openssl-format-source -v -c . 2015-01-22 09:38:39 +00:00
rmdconst.h Run util/openssl-format-source -v -c . 2015-01-22 09:38:39 +00:00
rmdtest.c Run util/openssl-format-source -v -c . 2015-01-22 09:38:39 +00:00

RIPEMD-160
http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html

This is my implementation of RIPEMD-160.  The pentium assember is a little
off the pace since I only get 1050 cycles, while the best is 1013.
I have a few ideas for how to get another 20 or so cycles, but at
this point I will not bother right now.  I believe the trick will be
to remove my 'copy X array onto stack' until inside the RIP1() finctions the
first time round.  To do this I need another register and will only have one
temporary one.  A bit tricky....  I can also cleanup the saving of the 5 words
after the first half of the calculation.  I should read the origional
value, add then write.  Currently I just save the new and read the origioal.
I then read both at the end.  Bad.

eric (20-Jan-1998)