示例#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);
}