Random number generator is a subsystem and although it is mostly used in crypto, this is not its only utility. Move the current random number generator test to it is own space (tests/subsys/random) and rename it to rng. We need more and better tests for rng, this is an initial commit to organize it and get ready for further tests. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
17 lines
231 B
Plaintext
17 lines
231 B
Plaintext
/*
|
|
* Copyright (c) 2022 Nordic Semiconductor ASA
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/ {
|
|
chosen {
|
|
zephyr,entropy = &psa_rng;
|
|
};
|
|
|
|
psa_rng: psa-rng {
|
|
compatible = "zephyr,psa-crypto-rng";
|
|
status = "okay";
|
|
};
|
|
};
|