entropy_mbedtls_riot.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2020 HAW Hamburg
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
9 #pragma once
10 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
38 
50 int entropy_mbedtls_riot_retrieve(unsigned char *output, size_t len);
51 
58 
73 int entropy_mbedtls_riot_get(unsigned char *output, size_t len);
74 
75 #ifdef __cplusplus
76 }
77 #endif
int entropy_mbedtls_riot_init(void)
Initialize the Mbed TLS entropy module.
int entropy_mbedtls_riot_get(unsigned char *output, size_t len)
Get entropy values.
void entropy_mbedtls_riot_uninit(void)
Uninitialize the Mbed TLS entropy module.
int entropy_mbedtls_riot_retrieve(unsigned char *output, size_t len)
Retrieve entropy values after initialization.