Update the unittests for feature exchange to use the new ZTEST API Here we only update the feature exchange procedure. The remaining unittests will be done in a next PR Mocks, helper routines and the Unit Under Test are splitted out as a library instead of adding them to the file list Signed-off-by: Andries Kruithof <andries.kruithof@nordicsemi.no>
15 lines
344 B
C
15 lines
344 B
C
/*
|
|
* Copyright (c) 2021 Demant
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
#include <zephyr/types.h>
|
|
#include <zephyr/ztest.h>
|
|
#include "hal/ecb.h"
|
|
|
|
__attribute__((weak)) void ecb_encrypt(uint8_t const *const key_le,
|
|
uint8_t const *const clear_text_le,
|
|
uint8_t *const cipher_text_le, uint8_t *const cipher_text_be)
|
|
{
|
|
}
|