@@ -44,24 +44,40 @@ enum { DECRYPT = 0, ENCRYPT = 1 };
4444int wh_Bench_Mod_Aes128ECBEncrypt (whClientContext * client ,
4545 whBenchOpContext * ctx , int id , void * params )
4646{
47+ (void )client ;
48+ (void )ctx ;
49+ (void )id ;
50+ (void )params ;
4751 return WH_ERROR_NOTIMPL ;
4852}
4953
5054int wh_Bench_Mod_Aes128ECBDecrypt (whClientContext * client ,
5155 whBenchOpContext * ctx , int id , void * params )
5256{
57+ (void )client ;
58+ (void )ctx ;
59+ (void )id ;
60+ (void )params ;
5361 return WH_ERROR_NOTIMPL ;
5462}
5563
5664int wh_Bench_Mod_Aes256ECBEncrypt (whClientContext * client ,
5765 whBenchOpContext * ctx , int id , void * params )
5866{
67+ (void )client ;
68+ (void )ctx ;
69+ (void )id ;
70+ (void )params ;
5971 return WH_ERROR_NOTIMPL ;
6072}
6173
6274int wh_Bench_Mod_Aes256ECBDecrypt (whClientContext * client ,
6375 whBenchOpContext * ctx , int id , void * params )
6476{
77+ (void )client ;
78+ (void )ctx ;
79+ (void )id ;
80+ (void )params ;
6581 return WH_ERROR_NOTIMPL ;
6682}
6783#endif /* HAVE_AES_ECB */
@@ -171,27 +187,31 @@ static int _benchAesCbc(whClientContext* client, whBenchOpContext* ctx, int id,
171187int wh_Bench_Mod_Aes128CBCEncrypt (whClientContext * client ,
172188 whBenchOpContext * ctx , int id , void * params )
173189{
190+ (void )params ;
174191 return _benchAesCbc (client , ctx , id , (uint8_t * )key128 , sizeof (key128 ),
175192 ENCRYPT );
176193}
177194
178195int wh_Bench_Mod_Aes128CBCDecrypt (whClientContext * client ,
179196 whBenchOpContext * ctx , int id , void * params )
180197{
198+ (void )params ;
181199 return _benchAesCbc (client , ctx , id , (uint8_t * )key128 , sizeof (key128 ),
182200 DECRYPT );
183201}
184202
185203int wh_Bench_Mod_Aes256CBCEncrypt (whClientContext * client ,
186204 whBenchOpContext * ctx , int id , void * params )
187205{
206+ (void )params ;
188207 return _benchAesCbc (client , ctx , id , (uint8_t * )key256 , sizeof (key256 ),
189208 ENCRYPT );
190209}
191210
192211int wh_Bench_Mod_Aes256CBCDecrypt (whClientContext * client ,
193212 whBenchOpContext * ctx , int id , void * params )
194213{
214+ (void )params ;
195215 return _benchAesCbc (client , ctx , id , (uint8_t * )key256 , sizeof (key256 ),
196216 DECRYPT );
197217}
@@ -328,27 +348,31 @@ static int _benchAesGcm(whClientContext* client, whBenchOpContext* ctx, int id,
328348int wh_Bench_Mod_Aes128GCMEncrypt (whClientContext * client ,
329349 whBenchOpContext * ctx , int id , void * params )
330350{
351+ (void )params ;
331352 return _benchAesGcm (client , ctx , id , (uint8_t * )key128 , sizeof (key128 ),
332353 ENCRYPT );
333354}
334355
335356int wh_Bench_Mod_Aes128GCMDecrypt (whClientContext * client ,
336357 whBenchOpContext * ctx , int id , void * params )
337358{
359+ (void )params ;
338360 return _benchAesGcm (client , ctx , id , (uint8_t * )key128 , sizeof (key128 ),
339361 DECRYPT );
340362}
341363
342364int wh_Bench_Mod_Aes256GCMEncrypt (whClientContext * client ,
343365 whBenchOpContext * ctx , int id , void * params )
344366{
367+ (void )params ;
345368 return _benchAesGcm (client , ctx , id , (uint8_t * )key256 , sizeof (key256 ),
346369 ENCRYPT );
347370}
348371
349372int wh_Bench_Mod_Aes256GCMDecrypt (whClientContext * client ,
350373 whBenchOpContext * ctx , int id , void * params )
351374{
375+ (void )params ;
352376 return _benchAesGcm (client , ctx , id , (uint8_t * )key256 , sizeof (key256 ),
353377 DECRYPT );
354378}
0 commit comments