Blob: crc.h
Blob id: c59775100203c82c2ff97b28885a90e2ac7858ff
Size: 445 B
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ /* * * BlueZ - Bluetooth protocol stack for Linux * * Copyright (C) 2011-2014 Intel Corporation * Copyright (C) 2002-2010 Marcel Holtmann <marcel@holtmann.org> * * */ #include <stdint.h> uint32_t crc24_bit_reverse(uint32_t value); uint32_t crc24_calculate(uint32_t preset, const uint8_t *data, uint8_t len); uint32_t crc24_reverse(uint32_t crc, const uint8_t *data, uint8_t len); |