Searched refs:crc (Results 1 – 11 of 11) sorted by relevance
/DragonOS-0.1.3/kernel/src/libs/ |
D | crc16.c | 34 uint16_t crc16(uint16_t crc, uint8_t const *buffer, size_t len) in crc16() argument 38 crc = (crc << 8) ^ crc16_table[((crc >> 8) ^ *buffer++) & 0xff]; in crc16() 40 return crc; in crc16()
|
D | crc32.c | 49 uint32_t crc32(uint32_t crc, uint8_t const *buffer, size_t len) in crc32() argument 53 crc = (crc << 8) ^ (crc32_table[((crc >> 24) ^ *buffer++) & 0xff]); in crc32() 55 return crc; in crc32()
|
D | crc64.c | 50 uint64_t crc64(uint64_t crc, uint8_t const *buffer, size_t len) in crc64() argument 54 crc = (crc << 8) ^ (crc64_table[((crc >> 56) ^ *buffer++) & 0xff]); in crc64() 56 return crc; in crc64()
|
D | crc7.c | 31 uint8_t crc7(uint8_t crc, const uint8_t *buffer, size_t len) in crc7() argument 35 crc = crc7_table[(crc << 1) ^ *buffer++]; in crc7() 37 return (crc); in crc7()
|
D | crc8.c | 33 uint8_t crc8(uint8_t crc, uint8_t const *buffer, size_t len) in crc8() argument 38 crc = crc8_table[crc ^ *buffer++]; in crc8() 40 return (crc); in crc8()
|
/DragonOS-0.1.3/kernel/src/common/ |
D | crc16.h | 12 uint16_t crc16(uint16_t crc, const uint8_t *buffer, size_t len);
|
D | crc32.h | 12 uint32_t crc32(uint32_t crc, const uint8_t *buffer, size_t len);
|
D | crc64.h | 12 uint64_t crc64(uint64_t crc, const uint8_t *buffer, size_t len);
|
D | crc7.h | 12 uint8_t crc7(uint8_t crc, const uint8_t *buffer, size_t len);
|
D | crc8.h | 12 uint8_t crc8(uint8_t crc, const uint8_t *buffer, size_t len);
|
/DragonOS-0.1.3/docs/kernel/core_api/ |
D | kernel_api.md | 701 **`uint8_t crc7(uint8_t crc, const uint8_t *buffer, size_t len)`** 703 **`uint8_t crc8(uint8_t crc, const uint8_t *buffer, size_t len)`** 705 **`uint16_t crc16(uint16_t crc, uint8_t const *buffer, size_t len)`** 707 **`uint32_t crc32(uint32_t crc, uint8_t const *buffer, size_t len)`** 709 **`uint64_t crc64(uint64_t crc, uint8_t const *buffer, size_t len)`** 717 **crc**
|