tests.c 320 B

123456789101112131415161718
  1. #include <stdio.h>
  2. #include "lib/aes_tests.h"
  3. int main() {
  4. aes_test_shift_block();
  5. aes_test_xtime();
  6. aes_test_mix_words();
  7. aes_test_expand_key();
  8. aes_test_block_cipher();
  9. aes_test_padding_validation();
  10. aes_test_create_padding();
  11. aes_test_cipher();
  12. printf("OK\n");
  13. return 0;
  14. }