* From `Performance analysis of MD5' by Joseph D. Touch <touch@isi.edu>
*/
-#if defined(AFSBIG_ENDIAN)
+#if defined(WORDS_BIGENDIAN)
static inline afs_uint32
swap_u_int32_t (afs_uint32 t)
{
p += l;
len -= l;
if(offset == 64){
-#if defined(AFSBIG_ENDIAN)
+#if defined(WORDS_BIGENDIAN)
int i;
- afs_uint32 current[16];
+ afs_uint32 temp[16];
struct x32 *us = (struct x32*)m->save;
for(i = 0; i < 8; i++){
- current[2*i+0] = swap_u_int32_t(us[i].a);
- current[2*i+1] = swap_u_int32_t(us[i].b);
+ temp[2*i+0] = swap_u_int32_t(us[i].a);
+ temp[2*i+1] = swap_u_int32_t(us[i].b);
}
- calc(m, current);
+ calc(m, temp);
#else
calc(m, (afs_uint32*)m->save);
#endif