Opened 14 years ago

Closed 11 years ago

#2492 closed Bugs (worksforme)

crc_optimal with reversed CRC16

Reported by: anonymous Owned by: Daryle Walker
Milestone: Boost 1.38.0 Component: crc
Version: Boost 1.36.0 Severity: Problem
Keywords: Cc:

Description

boost::crc_optimal<16, 0x100B, 0xFFFF, 0x0000, true, false> boost_crc_1;

boost::crc_basic<16> boost_crc_2(0x100B, 0xFFFF, 0x0000, true, false);

boost_crc.process_byte(0);

--> boost_crc_1 = 0xf990 --> boost_crc_2 = 0x099f

boost_crc_1 confirmed by referential implementation and manual computation

Change History (2)

comment:1 by Daryle Walker, 11 years ago

When I made a test case, I got the same result for both computation objects (0xF990). Unless someone can provide a full program showing the problem, I'll eventually close this. You can see my attempt at [75981].

comment:2 by Daryle Walker, 11 years ago

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.