Loading...
Searching...
No Matches
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
22#ifndef ENTROPY_MBEDTLS_RIOT_H
23#define ENTROPY_MBEDTLS_RIOT_H
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
39
51int entropy_mbedtls_riot_retrieve(unsigned char *output, size_t len);
52
59
74int entropy_mbedtls_riot_get(unsigned char *output, size_t len);
75
76#ifdef __cplusplus
77}
78#endif
81#endif /* ENTROPY_MBEDTLS_RIOT_H */
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.