281 fprintf(stderr,
"Basic GOPPA Initialisation...\n");
292 We can see our registered test in the list of the tests:
295 fruh@htfuws:~/projects/BitPunch$ ./runTest -l
296 Test: testMemRun runLevel: regular
297 Test: testFooName runLevel: regular
298 Test: testMemLeakWithH runLevel: regular
299 Test: testBuild runLevel: express
300 Test: testMemLeakWoH runLevel: regular
301 Test: testLibSize runLevel: express
304 We can run our dummy test
using:
305 - ./runTest testFooName
307 fruh@htfuws:~/projects/BitPunch$ ./runTest testFooName
308 Tests to run (1): testFooName
309 ======== BEGIN::testFooName ========
310 INFO: /media/fruh/data/projects/BitPunch/runtest/tests/foosuite
311 INFO: fooarg1: testFoo
312 INFO: fooarg2: fooarg2
313 WARNING: warning message
314 INFO: cleaning build...
315 INFO: building static-lib...
317 -------- END::testFooName --------
318 ======== RESULTS ========
319 Result folder: /media/fruh/data/projects/BitPunch/runtest/results/2015-05-17T23:51:36.709632
323 -------------------------
int BPU_mecsInitParamsGoppa(BPU_T_UN_Mecs_Params *params, const uint16_t m, const uint16_t t, const BPU_T_GF2_16x mod)
int BPU_mecsInitCtx(BPU_T_Mecs_Ctx **ctx, const BPU_T_UN_Mecs_Params *params, const BPU_T_EN_Mecs_Types type)
Initialize (register) mecs functions for encryption, decryption and key gen based on type...
basic mecs, without any conversion
int BPU_mecsFreeCtx(BPU_T_Mecs_Ctx **ctx)
void BPU_mecsFreeParamsGoppa(BPU_T_UN_Mecs_Params *params)