Andy Polyakov wrote:
| 
| ... [optimizing MD5 for AMD64] ...
| As it's not really a key algorithm, adoption if this submission is going 
| to the end of my TODO list.

I understand.

| Another reason for this is that it requires assembler patch.

The GNU 'as' bug triggered by my code has been fixed in June 2004.
So, yes, you need a patch if you are using an older 'as'.

| One of unwritten OpenSSL design rule is to make things 
| work assuming the least about target environment.
| Can you make 64-bit lea operations optional to break dependency from
| assembler patch?

Hmm I am going to see what is possible. But I won't be able to work
on this in the next 2 weeks because my AMD64 box is temporarily
unavailable.

| Note that 64-bit lea are more compact as far as I understand, which improves 
| instruction pre-fetch. It would also be interesting to see if EM64T 
| would be affected by switching to 64-bit lea. If not, then there is 
| hardly a reason to keep 32-bit ones...
| 
| It also might make sense to coordinate efforts. Announce in advance what 
| you're planning to do, ask for hints [like the below one]...

Ok. So, here is my question to the OpenSSL community: what algorithm
would you like to see optimized for AMD64 ? AES, SHA-1, Blowfish, RC5 ?

(I did RC4 and MD5, because I need them in another project.)

-- 
Marc Bevand                              http://epita.fr/~bevand_m
Computer Science School EPITA - System, Network and Security Dept.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to