xref: /onnv-gate/usr/src/common/openssl/crypto/ripemd/README (revision 0:68f95e015346)
1*0Sstevel@tonic-gateRIPEMD-160
2*0Sstevel@tonic-gatehttp://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html
3*0Sstevel@tonic-gate
4*0Sstevel@tonic-gateThis is my implementation of RIPEMD-160.  The pentium assember is a little
5*0Sstevel@tonic-gateoff the pace since I only get 1050 cycles, while the best is 1013.
6*0Sstevel@tonic-gateI have a few ideas for how to get another 20 or so cycles, but at
7*0Sstevel@tonic-gatethis point I will not bother right now.  I belive the trick will be
8*0Sstevel@tonic-gateto remove my 'copy X array onto stack' until inside the RIP1() finctions the
9*0Sstevel@tonic-gatefirst time round.  To do this I need another register and will only have one
10*0Sstevel@tonic-gatetemporary one.  A bit tricky....  I can also cleanup the saving of the 5 words
11*0Sstevel@tonic-gateafter the first half of the calculation.  I should read the origional
12*0Sstevel@tonic-gatevalue, add then write.  Currently I just save the new and read the origioal.
13*0Sstevel@tonic-gateI then read both at the end.  Bad.
14*0Sstevel@tonic-gate
15*0Sstevel@tonic-gateeric (20-Jan-1998)
16