aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/aes128ctr_encrypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/aes128ctr_encrypt.c')
-rw-r--r--test/aes128ctr_encrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/aes128ctr_encrypt.c b/test/aes128ctr_encrypt.c
index 16b4403..ef82029 100644
--- a/test/aes128ctr_encrypt.c
+++ b/test/aes128ctr_encrypt.c
@@ -54,7 +54,7 @@ int main(int argc, char** argv)
fprintf(stderr, "Invalid 128-bit AES block '%s'\n", *argv);
continue;
}
- cipher = aes128ctr_encrypt(plain, &key_schedule, iv, ctr++);
+ cipher = aes128ctr_encrypt_block(plain, &key_schedule, iv, ctr++);
print_aes_block128(&cipher);
}
}