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 <tinycrypt/hmac_prng.h>
10 #include <tinycrypt/constants.h>
11 
12 /* List of fakes used by this unit tester */
13 #define HMAC_PRNG_FFF_FAKES_LIST(FAKE)         \
14 		FAKE(tc_hmac_prng_init)                \
15 		FAKE(tc_hmac_prng_reseed)              \
16 		FAKE(tc_hmac_prng_generate)
17 
18 DECLARE_FAKE_VALUE_FUNC(int, tc_hmac_prng_init, TCHmacPrng_t, const uint8_t *, unsigned int);
19 DECLARE_FAKE_VALUE_FUNC(int, tc_hmac_prng_reseed, TCHmacPrng_t, const uint8_t *, unsigned int,
20 			const uint8_t *, unsigned int);
21 DECLARE_FAKE_VALUE_FUNC(int, tc_hmac_prng_generate, uint8_t *, unsigned int, TCHmacPrng_t);
22