1 /* 2 * Copyright (c) 2022 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <zephyr/kernel.h> 8 #include <zephyr/fff.h> 9 #include <psa/crypto.h> 10 11 /* List of fakes used by this unit tester */ 12 #define PRNG_FFF_FAKES_LIST(FAKE) \ 13 FAKE(psa_crypto_init) \ 14 FAKE(psa_generate_random) 15 16 DECLARE_FAKE_VALUE_FUNC(psa_status_t, psa_crypto_init); 17 DECLARE_FAKE_VALUE_FUNC(psa_status_t, psa_generate_random, uint8_t *, size_t); 18