Lines Matching defs:keys
330 ctx->keys[i] = key[i*4] + (key[i*4+1]<<8) + (key[i*4+2]<<16) +
335 temp = ctx->keys[i-1];
342 ctx->keys[i] = ctx->keys[i-nk] ^ temp;
344 /* Generate the inverse keys */
346 ctx->ikeys[i] = ctx->keys[i];
347 ctx->ikeys[lastkey-4 + i] = ctx->keys[lastkey-4 + i];
350 inv_mix_column(&(ctx->keys[i]), &(ctx->ikeys[i]));
355 key_addition_8to32(const UINT8 *txt, UINT32 *keys, UINT32 *out)
366 out[i] = keys[i]^val;
371 key_addition32(const UINT32 *txt, UINT32 *keys, UINT32 *out)
376 out[i] = keys[i] ^ txt[i];
380 key_addition32to8(const UINT32 *txt, UINT32 *keys, UINT8 *out)
388 val = txt[i] ^ keys[i];
409 key_addition_8to32(plaintext, &(ctx->keys[0]), wtxt);
417 key_addition32(t, &(ctx->keys[r*4]), wtxt);
430 key_addition32to8(t, &(ctx->keys[4*ctx->nrounds]), ciphertext);