nts: improve NTS-KE server/client code

Add more assertions and comments, refactor initialization of the helper,
and make other changes to make the code more robust.
This commit is contained in:
Miroslav Lichvar
2020-07-13 14:25:57 +02:00
parent 51d77d6cfc
commit 66e097e3e6
11 changed files with 191 additions and 105 deletions

View File

@@ -126,7 +126,8 @@ test_unit(void)
LCL_Initialise();
TST_RegisterDummyDrivers();
SCH_Initialise();
NKS_Initialise(0);
NKS_PreInitialise(0, 0, 0);
NKS_Initialise();
NNS_Initialise();
for (i = 0; i < 50000; i++) {