- My_KeyExpansion(ctx.RoundKey, mykey);
- memcpy (ctx.Iv, iv, AES_BLOCKLEN);
- My_AES_CTR_xcrypt_buffer(&ctx, plain, size_mesg);
+ time=0;
+ t=TimeStart();
+ for(int i=0;i<nb_times;i++) {
+ My_KeyExpansion(ctx.RoundKey, mykey);
+ memcpy (ctx.Iv, iv, AES_BLOCKLEN);
+ }