@@ -41,33 +41,33 @@ enum { DECRYPT = 0, ENCRYPT = 1 };
4141
4242
4343#if defined(HAVE_AES_ECB )
44- int wh_Bench_Mod_Aes128ECBEncrypt (whClientContext * client , BenchOpContext * ctx ,
45- int id , void * params )
44+ int wh_Bench_Mod_Aes128ECBEncrypt (whClientContext * client ,
45+ whBenchOpContext * ctx , int id , void * params )
4646{
47- return WH_ERROR_NOT_IMPL ;
47+ return WH_ERROR_NOTIMPL ;
4848}
4949
50- int wh_Bench_Mod_Aes128ECBDecrypt (whClientContext * client , BenchOpContext * ctx ,
51- int id , void * params )
50+ int wh_Bench_Mod_Aes128ECBDecrypt (whClientContext * client ,
51+ whBenchOpContext * ctx , int id , void * params )
5252{
53- return WH_ERROR_NOT_IMPL ;
53+ return WH_ERROR_NOTIMPL ;
5454}
5555
56- int wh_Bench_Mod_Aes256ECBEncrypt (whClientContext * client , BenchOpContext * ctx ,
57- int id , void * params )
56+ int wh_Bench_Mod_Aes256ECBEncrypt (whClientContext * client ,
57+ whBenchOpContext * ctx , int id , void * params )
5858{
59- return WH_ERROR_NOT_IMPL ;
59+ return WH_ERROR_NOTIMPL ;
6060}
6161
62- int wh_Bench_Mod_Aes256ECBDecrypt (whClientContext * client , BenchOpContext * ctx ,
63- int id , void * params )
62+ int wh_Bench_Mod_Aes256ECBDecrypt (whClientContext * client ,
63+ whBenchOpContext * ctx , int id , void * params )
6464{
65- return WH_ERROR_NOT_IMPL ;
65+ return WH_ERROR_NOTIMPL ;
6666}
6767#endif /* HAVE_AES_ECB */
6868
6969#if defined(HAVE_AES_CBC )
70- static int _benchAesCbc (whClientContext * client , BenchOpContext * ctx , int id ,
70+ static int _benchAesCbc (whClientContext * client , whBenchOpContext * ctx , int id ,
7171 const uint8_t * key , size_t keyLen , int encrypt )
7272{
7373 int ret = 0 ;
@@ -168,37 +168,37 @@ static int _benchAesCbc(whClientContext* client, BenchOpContext* ctx, int id,
168168}
169169
170170
171- int wh_Bench_Mod_Aes128CBCEncrypt (whClientContext * client , BenchOpContext * ctx ,
172- int id , void * params )
171+ int wh_Bench_Mod_Aes128CBCEncrypt (whClientContext * client ,
172+ whBenchOpContext * ctx , int id , void * params )
173173{
174174 return _benchAesCbc (client , ctx , id , (uint8_t * )key128 , sizeof (key128 ),
175175 ENCRYPT );
176176}
177177
178- int wh_Bench_Mod_Aes128CBCDecrypt (whClientContext * client , BenchOpContext * ctx ,
179- int id , void * params )
178+ int wh_Bench_Mod_Aes128CBCDecrypt (whClientContext * client ,
179+ whBenchOpContext * ctx , int id , void * params )
180180{
181181 return _benchAesCbc (client , ctx , id , (uint8_t * )key128 , sizeof (key128 ),
182182 DECRYPT );
183183}
184184
185- int wh_Bench_Mod_Aes256CBCEncrypt (whClientContext * client , BenchOpContext * ctx ,
186- int id , void * params )
185+ int wh_Bench_Mod_Aes256CBCEncrypt (whClientContext * client ,
186+ whBenchOpContext * ctx , int id , void * params )
187187{
188188 return _benchAesCbc (client , ctx , id , (uint8_t * )key256 , sizeof (key256 ),
189189 ENCRYPT );
190190}
191191
192- int wh_Bench_Mod_Aes256CBCDecrypt (whClientContext * client , BenchOpContext * ctx ,
193- int id , void * params )
192+ int wh_Bench_Mod_Aes256CBCDecrypt (whClientContext * client ,
193+ whBenchOpContext * ctx , int id , void * params )
194194{
195195 return _benchAesCbc (client , ctx , id , (uint8_t * )key256 , sizeof (key256 ),
196196 DECRYPT );
197197}
198198#endif /* HAVE_AES_CBC */
199199
200200#if defined(HAVE_AESGCM )
201- static int _benchAesGcm (whClientContext * client , BenchOpContext * ctx , int id ,
201+ static int _benchAesGcm (whClientContext * client , whBenchOpContext * ctx , int id ,
202202 const uint8_t * key , size_t keyLen , int encrypt )
203203{
204204 int ret = 0 ;
@@ -325,29 +325,29 @@ static int _benchAesGcm(whClientContext* client, BenchOpContext* ctx, int id,
325325}
326326
327327
328- int wh_Bench_Mod_Aes128GCMEncrypt (whClientContext * client , BenchOpContext * ctx ,
329- int id , void * params )
328+ int wh_Bench_Mod_Aes128GCMEncrypt (whClientContext * client ,
329+ whBenchOpContext * ctx , int id , void * params )
330330{
331331 return _benchAesGcm (client , ctx , id , (uint8_t * )key128 , sizeof (key128 ),
332332 ENCRYPT );
333333}
334334
335- int wh_Bench_Mod_Aes128GCMDecrypt (whClientContext * client , BenchOpContext * ctx ,
336- int id , void * params )
335+ int wh_Bench_Mod_Aes128GCMDecrypt (whClientContext * client ,
336+ whBenchOpContext * ctx , int id , void * params )
337337{
338338 return _benchAesGcm (client , ctx , id , (uint8_t * )key128 , sizeof (key128 ),
339339 DECRYPT );
340340}
341341
342- int wh_Bench_Mod_Aes256GCMEncrypt (whClientContext * client , BenchOpContext * ctx ,
343- int id , void * params )
342+ int wh_Bench_Mod_Aes256GCMEncrypt (whClientContext * client ,
343+ whBenchOpContext * ctx , int id , void * params )
344344{
345345 return _benchAesGcm (client , ctx , id , (uint8_t * )key256 , sizeof (key256 ),
346346 ENCRYPT );
347347}
348348
349- int wh_Bench_Mod_Aes256GCMDecrypt (whClientContext * client , BenchOpContext * ctx ,
350- int id , void * params )
349+ int wh_Bench_Mod_Aes256GCMDecrypt (whClientContext * client ,
350+ whBenchOpContext * ctx , int id , void * params )
351351{
352352 return _benchAesGcm (client , ctx , id , (uint8_t * )key256 , sizeof (key256 ),
353353 DECRYPT );
0 commit comments