summaryrefslogtreecommitdiff
path: root/bsp/nuvoton/libraries/m031/rtt_port/drv_crc.h
blob: a5b048f038b4b5e5d90419967ecd0018714c36d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/**************************************************************************//**
*
* @copyright (C) 2020 Nuvoton Technology Corp. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date            Author           Notes
* 2020-02-01      klcheng          First version
*
******************************************************************************/

#ifndef __DRV_CRC_H__
#define __DRV_CRC_H__

rt_err_t nu_crc_init(void);

rt_uint32_t nu_crc_update(struct hwcrypto_crc *ctx, const rt_uint8_t *in, rt_size_t length);

#endif