2. MD5 implementation.
Once again. I *already* have MD5 working on both Linux and HP-UX and the
code will be committed shortly.
Original code is at http://cvs.openssl.org/chngview?cn=14252, and my
endian-neutral adaptation at http://cvs.openssl.org/chngview?cn=14253.
HP-UX assembler can't handle labels and assembler directives in long C
preprocessor macros expanded as single line. In RC4 case it was rather
easy to work around by spliting it to two, but in MD5 can one would have
to split to like 10, which is nothing but ridiculous. We have to ponder
about how to deal with this...
In this case I settled for butt-ugly '($CC) $(CFLAGS) -E asm/md5-ia64.S
| $(PERL) -ne 's/;\s+/;\n/g; print;' in Makefile, which scrupulously
splits all directives and instructions in multi-directrive/-instruction
lines to multiple lines. In long-run I'd prefer to avoid using C
preprocessor to handle long code-snippets and opt for perl generating
assembler code which would not require C preprocessing [such as those
found in sha/asm]. Cheers. A.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [email protected]
Automated List Manager [EMAIL PROTECTED]