Beispiel #1
0
// Perform the mix columns matrix on each column of the 16 bytes
void mix_cols (byte *state) {
  mix_col(state);
  mix_col(state+4);
  mix_col(state+8);
  mix_col(state+12);
}
Beispiel #2
0
Datei: aes.c Projekt: noahp/aes_c
// Perform the mix columns matrix on each column of the 16 bytes
static void mix_cols (unsigned char *state) {
  mix_col(state);
  mix_col(state+4);
  mix_col(state+8);
  mix_col(state+12);
}