crc64.c (8dd06ef34b6e2f41b29fbf5fc1663780f2524285) crc64.c (d89775fc929c5a1d91ed518a71b456da0865e5ff)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Normal 64-bit CRC calculation.
4 *
5 * This is a basic crc64 implementation following ECMA-182 specification,
6 * which can be found from,
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Normal 64-bit CRC calculation.
4 *
5 * This is a basic crc64 implementation following ECMA-182 specification,
6 * which can be found from,
7 * http://www.ecma-international.org/publications/standards/Ecma-182.htm
7 * https://www.ecma-international.org/publications/standards/Ecma-182.htm
8 *
9 * Dr. Ross N. Williams has a great document to introduce the idea of CRC
10 * algorithm, here the CRC64 code is also inspired by the table-driven
11 * algorithm and detail example from this paper. This paper can be found
12 * from,
13 * http://www.ross.net/crc/download/crc_v3.txt
14 *
15 * crc64table[256] is the lookup table of a table-driven 64-bit CRC

--- 42 unchanged lines hidden ---
8 *
9 * Dr. Ross N. Williams has a great document to introduce the idea of CRC
10 * algorithm, here the CRC64 code is also inspired by the table-driven
11 * algorithm and detail example from this paper. This paper can be found
12 * from,
13 * http://www.ross.net/crc/download/crc_v3.txt
14 *
15 * crc64table[256] is the lookup table of a table-driven 64-bit CRC

--- 42 unchanged lines hidden ---