2022-02-22 00:09:24 +03:00
|
|
|
/*
|
|
|
|
|
* SPDX-FileCopyrightText: 2015-2022 Espressif Systems (Shanghai) CO LTD
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
*/
|
2018-07-05 09:01:03 +10:00
|
|
|
#include "crc32.h"
|
2023-02-22 15:49:47 +01:00
|
|
|
#include "esp_rom_crc.h"
|
2018-07-05 09:01:03 +10:00
|
|
|
|
|
|
|
|
unsigned int crc32::crc32_le(unsigned int crc, unsigned char const *buf, unsigned int len)
|
|
|
|
|
{
|
2023-02-22 15:49:47 +01:00
|
|
|
return ::esp_rom_crc32_le(crc, buf, len);
|
2018-07-05 09:01:03 +10:00
|
|
|
}
|