drv_crc.h 555 B

1234567891011121314151617181920
  1. /**************************************************************************//**
  2. *
  3. * @copyright (C) 2020 Nuvoton Technology Corp. All rights reserved.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0
  6. *
  7. * Change Logs:
  8. * Date Author Notes
  9. * 2020-3-4 CHChen First version
  10. *
  11. ******************************************************************************/
  12. #ifndef __DRV_CRC_H__
  13. #define __DRV_CRC_H__
  14. rt_err_t nu_crc_init(void);
  15. rt_uint32_t nu_crc_update(struct hwcrypto_crc *ctx, const rt_uint8_t *in, rt_size_t length);
  16. #endif