XWOS API
4.0
XWOS C/C++ API参考手册
|
XWOS通用库:CRC32 更多...
#include <xwos/standard.h>
枚举 | |
enum | xwlib_crc32_shift_direction_em { XWLIB_CRC32_LEFT_SHIFT , XWLIB_CRC32_RIGHT_SHIFT } |
计算CRC32的移位方向枚举 更多... | |
函数 | |
xwer_t | xwlib_crc32_cal (xwu32_t *crc32, xwu32_t xorout, bool refin, bool refout, xwu32_t plynml, xwu32_t direction, const xwu8_t stream[], xwsz_t *size) |
计算一段数据的CRC32校验值 | |
xwu32_t | xwlib_crc32_calms (const xwu8_t stream[], xwsz_t *size) |
用主流CRC32参数模型计算一段数据的校验值 | |
变量 | |
const xwu32_t | xwlib_crc32tbl_0x04c11db7 [256] |
CRC32多项式0x04C11DB7的查询表 | |
const xwu32_t | xwlib_crc32tbl_0xedb88320 [256] |
CRC32多项式0XEDB88320的查询表 | |
XWOS通用库:CRC32
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
在文件 crc32.h 中定义.