Exemplo n.º 1
0
Arquivo: c_aes.c Projeto: 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);
}
Exemplo n.º 2
0
Arquivo: aes.c Projeto: 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);
}