There is no proof this fix anything. This could just be out of randomness or subtle compiler optimization differences due to the change.

This commit is contained in:
izsh@fail0verflow.com 2010-03-04 00:30:54 +00:00
parent 24b182d01b
commit ed82636b49

View file

@ -63,7 +63,7 @@ uint32_t GetParity(const uint8_t * pbtCmd, int iLen)
{
int i;
uint32_t dwPar = 0;
// Generate the encrypted data
for (i = 0; i < iLen; i++) {
// Save the encrypted parity bit
@ -77,7 +77,7 @@ static void AppendCrc14443a(uint8_t* data, int len)
ComputeCrc14443(CRC_14443_A,data,len,data+len,data+len+1);
}
int LogTrace(const uint8_t * btBytes, size_t iLen, int iSamples, uint32_t dwParity, int bReader)
int LogTrace(const uint8_t * btBytes, int iLen, int iSamples, uint32_t dwParity, int bReader)
{
// Return when trace is full
if (traceLen >= TRACE_LENGTH) return FALSE;