Пример #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);
}
Пример #2
0
Файл: aes.c Проект: 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);
}