aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/box_aes.c
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2015-06-24 01:16:40 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2015-06-24 01:16:40 +0300
commit724583d4ab12e520b29c00c36ffe2840b6962059 (patch)
tree6f62422ccd66afc60724c86a54a6bf374a203124 /src/box_aes.c
parenttest/toolkit.py: fix executable names (diff)
downloadaes-tools-724583d4ab12e520b29c00c36ffe2840b6962059.tar.gz
aes-tools-724583d4ab12e520b29c00c36ffe2840b6962059.zip
use macros to get rid of repetitive code
Diffstat (limited to 'src/box_aes.c')
-rw-r--r--src/box_aes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/box_aes.c b/src/box_aes.c
index 470e39b..7826ca2 100644
--- a/src/box_aes.c
+++ b/src/box_aes.c
@@ -71,7 +71,7 @@ static AesNI_StatusCode aesni_box_next_counter_aes(
AesNI_BoxBlock* ctr,
AesNI_ErrorDetails* err_details)
{
- ctr->aes_block = aesni_aes_inc_counter(ctr->aes_block);
+ ctr->aes_block = aesni_aes_inc_block(ctr->aes_block);
return AESNI_SUCCESS;
}