drv_trng.h 541 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_TRNG_H__
  13. #define __DRV_TRNG_H__
  14. rt_err_t nu_trng_init(void);
  15. void nu_trng_open(void);
  16. rt_uint32_t nu_trng_rand(struct hwcrypto_rng *ctx);
  17. #endif