Commit d6fbe891 authored by Jean Flavien Bussotti's avatar Jean Flavien Bussotti

run benchmark

parent c183c942
......@@ -58,9 +58,19 @@
#include <time.h>
//#include "time_meas.h"
//BUFFER 10
#define DUMMY_BUFFER ((unsigned char*)"123456789")
#define DUMMY_BUFFER_SIZE 10
//BUFFER 50
/*
#define DUMMY_BUFFER ((unsigned char*)"1234567890123456789012345678901234567890123456789")
#define DUMMY_BUFFER_SIZE 50*/
//BUFFER 100
/*#define DUMMY_BUFFER ((unsigned char*)"123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789")
#define DUMMY_BUFFER_SIZE 100
*/
#define NB_REPEAT 1
......
......@@ -324,7 +324,11 @@ pdcp_p->next_pdcp_tx_sn = 0;
pdcp_p->rx_hfn = 0;
pdcp_p->last_submitted_pdcp_rx_sn = 4095;
pdcp_p->seq_num_size = 12;
pdcp_p->cipheringAlgorithm = EEA1_128_ALG_ID;//(resQ==1?EEA1_128_ALG_ID:EEA2_128_ALG_ID);
//ALGORITHM 1 CHOICE :
//pdcp_p->cipheringAlgorithm = EEA1_128_ALG_ID;
//ALGORITHM 2 CHOICE :
pdcp_p->cipheringAlgorithm = EEA2_128_ALG_ID;
//tried to understand where to obtain the Kupenc key in code without success, only understood that it comes from kenb key and also that's it the one we need since our srb_flagP is 3
//Also we give it a value thanks to osa_stream_eea.c
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment