You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AES CBC and ECB mode input sizes are fixed as BLOCK_SIZE.
For GCM, CTR mode, use in_size as input->data_length. However, for CBC, ECB mode, in_size is fixed as BLOCK_SIZE. This results in poor performance when encrypting and decrypting.
Performance test result (AES 256, data size 16MBytes)
CBC
6.7172
ECB
6.703
CTR
0.6988
GCM
0.705
In the case of CBC and ECB modes as follows, if in_size is put in as implemented in code, it shows the same performance as in GCM and CTR modes. Please give me a review opinion on the improved code.
AES CBC and ECB mode input sizes are fixed as BLOCK_SIZE.
For GCM, CTR mode, use in_size as input->data_length. However, for CBC, ECB mode, in_size is fixed as BLOCK_SIZE. This results in poor performance when encrypting and decrypting.
Performance test result (AES 256, data size 16MBytes)
In the case of CBC and ECB modes as follows, if in_size is put in as implemented in code, it shows the same performance as in GCM and CTR modes. Please give me a review opinion on the improved code.
The text was updated successfully, but these errors were encountered: