This repository contains a basic implementation of the Advanced Encryption Standard (AES) algorithm in C, along with a Python test script to verify the correctness of the implementation.
- rijndael.h: Header file containing function prototypes and necessary macros for AES encryption and decryption.
- rijndael.c: Source file containing the implementation of AES encryption and decryption functions.
- main.c: Example C program demonstrating the usage of the AES implementation.
- tests.py: Python script for testing the AES implementation by comparing the output with a Python AES implementation.
- Makefile: Makefile to automate the build process.
- Build Project:
- Use the provided Makefile to compile the source files and generate the executable.
make -m Makefile
- Run Tests:
- Run the Python test script
tests.py
to verify the correctness of the AES implementation by comparing its output with a Python AES implementation.
pytest tests.py -vv