c6ed39e3ad
Add a command line option which will seed the random generator from /dev/urandom. This can be usefull for some particular tests in which we are interested in having different random numbers in each run, but we cannot provide a different random seed from command line. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
22 lines
396 B
C
22 lines
396 B
C
/*
|
|
* Copyright (c) 2024 Nordic Semiconductor ASA
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
|
|
#ifndef DRIVERS_ENTROPY_FAKE_ENTROPY_NATIVE_BOTTOM_H
|
|
#define DRIVERS_ENTROPY_FAKE_ENTROPY_NATIVE_BOTTOM_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void entropy_native_seed(unsigned int seed, bool seed_random);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* DRIVERS_ENTROPY_FAKE_ENTROPY_NATIVE_BOTTOM_H */
|