Simple AES chat program
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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