SmartSnippets DA1459x SDK
Macros | Enumerations | Functions
sys_trng_v2.h File Reference

sys_trng_v2 header file. More...

#include <stdint.h>
#include "sdk_defs.h"
#include "iid_platform.h"
#include "iid_irng.h"
#include "iid_aes_types.h"
#include "iid_return_codes.h"

Go to the source code of this file.

Macros

#define SYS_TRNG_SEED_SIZE   (IRNG_RANDOM_SEED_SIZE_BYTES)
 The size of TRNG seed in bytes.
 
#define SYS_TRNG_MEMORY_BLOCKS   (IRNG_MINIMUM_SRAM_PUF_BLOCKS + 4)
 The number of memory blocks passed as entropy source. The size of the block is 16 bytes, as defined by IRNG_BLOCK_SIZE_BYTES.
 

Enumerations

enum  SYS_TRNG_ERROR
 SYS_TRNG error codes.
 

Functions

bool sys_trng_can_run (void)
 Checks whether the TRNG module can generate a seed or not. More...
 
SYS_TRNG_ERROR sys_trng_init (void)
 Runs a software algorithm which generates a random seed. Random memory data are used to feed the software algorithm. More...
 

Detailed Description

sys_trng_v2 header file.

Copyright (C) 2020-2023 Renesas Electronics Corporation and/or its affiliates. All rights reserved. Confidential Information.

This software ("Software") is supplied by Renesas Electronics Corporation and/or its affiliates ("Renesas"). Renesas grants you a personal, non-exclusive, non-transferable, revocable, non-sub-licensable right and license to use the Software, solely if used in or together with Renesas products. You may make copies of this Software, provided this copyright notice and disclaimer ("Notice") is included in all such copies. Renesas reserves the right to change or discontinue the Software at any time without notice.

THE SOFTWARE IS PROVIDED "AS IS". RENESAS DISCLAIMS ALL WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. TO THE MAXIMUM EXTENT PERMITTED UNDER LAW, IN NO EVENT SHALL RENESAS BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE, EVEN IF RENESAS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. USE OF THIS SOFTWARE MAY BE SUBJECT TO TERMS AND CONDITIONS CONTAINED IN AN ADDITIONAL AGREEMENT BETWEEN YOU AND RENESAS. IN CASE OF CONFLICT BETWEEN THE TERMS OF THIS NOTICE AND ANY SUCH ADDITIONAL LICENSE AGREEMENT, THE TERMS OF THE AGREEMENT SHALL TAKE PRECEDENCE. BY CONTINUING TO USE THIS SOFTWARE, YOU AGREE TO THE TERMS OF THIS NOTICE.IF YOU DO NOT AGREE TO THESE TERMS, YOU ARE NOT PERMITTED TO USE THIS SOFTWARE.