Simple AES chat program
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

aes.h 356B

12345678910111213
  1. #ifndef AES_H
  2. #define AES_H
  3. #include <stdint.h>
  4. void initializeSBox();
  5. void expandKey(uint32_t short_key[8], uint32_t expanded_key[60]);
  6. void AESRound(uint32_t state[4], uint32_t key[60]);
  7. void dataToState(char data[16], uint32_t state[4]);
  8. void stateToData(uint32_t state[4], char data[16]);
  9. void AESRound_data(char data[16], uint32_t key[60]);
  10. #endif