MD5 for powerpc
[email protected] Thu, 16 Dec 2004 15:29:06 +0500
| Newsgroups | gmane.comp.security.programming |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'm using MD5 for SNMPv3 authentication. I'm using net-snmp agent. I am running the SNMP agent on a powerpc (motorol processor). When I send a request from an intel processor pc (linux) to this agent, EVP_md5() (called from HMAC ()) hash function generates a wrong code. The only difference being in the Address byte ordering (power pc is big-endian, intel pc is little-endian). For this I set LOWBYTEFIRST FALSE, and called MDreverse () after each call to MDupdate (). Any idea what could be the problem ? Thanks, Guru