View | Details | Raw Unified
Collapse All | Expand All

(-) TigerHash.cpp.orig (-2 / +2 lines)
 Lines 235-243    Link Here 
	((uint64_t*)(&(tmp[56])))[0] = pos<<3;
	((uint64_t*)(&(tmp[56])))[0] = pos<<3;
	tiger_compress_macro(((uint64_t*)tmp), res);
	tiger_compress_macro(((uint64_t*)tmp), res);
#ifdef TIGER_BIG_ENDIAN
#ifdef TIGER_BIG_ENDIAN
	for(j=0; j<HASH_SIZE; j++)
	for(j=0; j<BLOCK_SIZE; j++)
		buf[j^7]=((uint8_t*)res)[j];
		buf[j^7]=((uint8_t*)res)[j];
	memcpy(res, buf, HASH_SIZE);
	memcpy(res, buf, BLOCK_SIZE);
#endif
#endif
	return getResult();
	return getResult();
}
}