예제 #1
0
파일: c_aes.c 프로젝트: aikko/crypto
// 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);
}