aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;
}