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

#ifndef __DRV_TRNG_H__
#define __DRV_TRNG_H__

#include <rtdevice.h>

rt_err_t nu_trng_init(void);
rt_uint32_t nu_trng_rand(struct hwcrypto_rng *ctx);

#endif