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/aes.h> 10 #include <tinycrypt/constants.h> 11 12 /* List of fakes used by this unit tester */ 13 #define AES_FFF_FAKES_LIST(FAKE) \ 14 FAKE(tc_aes_encrypt) \ 15 FAKE(tc_aes128_set_encrypt_key) 16 17 DECLARE_FAKE_VALUE_FUNC(int, tc_aes_encrypt, uint8_t *, const uint8_t *, const TCAesKeySched_t); 18 DECLARE_FAKE_VALUE_FUNC(int, tc_aes128_set_encrypt_key, TCAesKeySched_t, const uint8_t *); 19