Searched refs:rki (Results 1 – 2 of 2) sorted by relevance
104 u32 *rki = ctx->key_enc + (i * kwords); in ce_aes_expandkey() local105 u32 *rko = rki + kwords; in ce_aes_expandkey()107 rko[0] = ror32(__aes_ce_sub(rki[kwords - 1]), 8) ^ rcon[i] ^ rki[0]; in ce_aes_expandkey()108 rko[1] = rko[0] ^ rki[1]; in ce_aes_expandkey()109 rko[2] = rko[1] ^ rki[2]; in ce_aes_expandkey()110 rko[3] = rko[2] ^ rki[3]; in ce_aes_expandkey()115 rko[4] = rko[3] ^ rki[4]; in ce_aes_expandkey()116 rko[5] = rko[4] ^ rki[5]; in ce_aes_expandkey()120 rko[4] = __aes_ce_sub(rko[3]) ^ rki[4]; in ce_aes_expandkey()121 rko[5] = rko[4] ^ rki[5]; in ce_aes_expandkey()[all …]
89 u32 *rki = ctx->key_enc + (i * kwords); in ce_aes_expandkey() local90 u32 *rko = rki + kwords; in ce_aes_expandkey()93 rko[0] = ror32(ce_aes_sub(rki[kwords - 1]), 8); in ce_aes_expandkey()94 rko[0] = rko[0] ^ rki[0] ^ rcon[i]; in ce_aes_expandkey()96 rko[0] = rol32(ce_aes_sub(rki[kwords - 1]), 8); in ce_aes_expandkey()97 rko[0] = rko[0] ^ rki[0] ^ (rcon[i] << 24); in ce_aes_expandkey()99 rko[1] = rko[0] ^ rki[1]; in ce_aes_expandkey()100 rko[2] = rko[1] ^ rki[2]; in ce_aes_expandkey()101 rko[3] = rko[2] ^ rki[3]; in ce_aes_expandkey()106 rko[4] = rko[3] ^ rki[4]; in ce_aes_expandkey()[all …]