SmartSnippets DA1459x SDK
Enumerations | Functions
sys_drbg.h File Reference

sys_drbg header file. More...

#include "sdk_defs.h"

Go to the source code of this file.

Enumerations

enum  SYS_DRBG_ERROR { SYS_DRBG_ERROR_NONE = 0, SYS_DRBG_ERROR_BUFFER_EXHAUSTED = -1 }
 sys drbg errors More...
 

Functions

void sys_drbg_srand (void)
 Set the seed for the random number generator function.
 
void sys_drbg_init (void)
 Initializes the DRBG data structure. More...
 
SYS_DRBG_ERROR sys_drbg_read_rand (uint32_t *rand_number)
 Reads a random number from the buffer which holds the random numbers. More...
 
void sys_drbg_update (void)
 Updates the DRBG data structure. More...
 
uint32_t sys_drbg_read_index (void)
 Reads the current index value of the buffer. More...
 
uint32_t sys_drbg_read_threshold (void)
 Reads the threshold level value. More...
 
uint8_t sys_drbg_read_request (void)
 Reads the request value. More...
 

Detailed Description

sys_drbg header file.

Copyright (C) 2021-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.