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.

13 rivejä
356 B

#ifndef AES_H
#define AES_H
#include <stdint.h>
void initializeSBox();
void expandKey(uint32_t short_key[8], uint32_t expanded_key[60]);
void AESRound(uint32_t state[4], uint32_t key[60]);
void dataToState(char data[16], uint32_t state[4]);
void stateToData(uint32_t state[4], char data[16]);
void AESRound_data(char data[16], uint32_t key[60]);
#endif