rt-thread-official/bsp/nuvoton/libraries/m2354/rtt_port/drv_trng.h

21 lines
541 B
C
Raw Normal View History

/**************************************************************************//**
*
* @copyright (C) 2020 Nuvoton Technology Corp. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2020-7-4 YCHuang12 First version
*
******************************************************************************/
#ifndef __DRV_TRNG_H__
#define __DRV_TRNG_H__
rt_err_t nu_trng_init(void);
void nu_trng_open(void);
rt_uint32_t nu_trng_rand(struct hwcrypto_rng *ctx);
#endif