virtualx-engine/drivers/builtin_openssl/crypto/ripemd
Juan Linietsky 87f37bc5a3 -Added OpenSSL and HTTPS support
-Built-in version of the library for Windows, Android and iOS (other OSs use system one)
-Small fixes all around
2014-04-28 21:56:43 -03:00
..
asm -Added OpenSSL and HTTPS support 2014-04-28 21:56:43 -03:00
Makefile -Added OpenSSL and HTTPS support 2014-04-28 21:56:43 -03:00
Makefile.save -Added OpenSSL and HTTPS support 2014-04-28 21:56:43 -03:00
README -Added OpenSSL and HTTPS support 2014-04-28 21:56:43 -03:00
ripemd.h -Added OpenSSL and HTTPS support 2014-04-28 21:56:43 -03:00
rmd160.c -Added OpenSSL and HTTPS support 2014-04-28 21:56:43 -03:00
rmd_dgst.c -Added OpenSSL and HTTPS support 2014-04-28 21:56:43 -03:00
rmd_locl.h -Added OpenSSL and HTTPS support 2014-04-28 21:56:43 -03:00
rmd_one.c -Added OpenSSL and HTTPS support 2014-04-28 21:56:43 -03:00
rmdconst.h -Added OpenSSL and HTTPS support 2014-04-28 21:56:43 -03:00
rmdtest.c -Added OpenSSL and HTTPS support 2014-04-28 21:56:43 -03: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)