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