Searched refs:rko (Results 1 – 2 of 2) sorted by relevance
75 uint32_t *rko = rki + kwords; in expand_enc_key() local77 rko[0] = ror32(ce_aes_sub(rki[kwords - 1]), 8) ^ in expand_enc_key()79 rko[1] = rko[0] ^ rki[1]; in expand_enc_key()80 rko[2] = rko[1] ^ rki[2]; in expand_enc_key()81 rko[3] = rko[2] ^ rki[3]; in expand_enc_key()86 rko[4] = rko[3] ^ rki[4]; in expand_enc_key()87 rko[5] = rko[4] ^ rki[5]; in expand_enc_key()91 rko[4] = ce_aes_sub(rko[3]) ^ rki[4]; in expand_enc_key()92 rko[5] = rko[4] ^ rki[5]; in expand_enc_key()93 rko[6] = rko[5] ^ rki[6]; in expand_enc_key()[all …]
351 uint32_t *rko; in aesce_setkey_enc() local352 rko = rki + key_len_in_words; in aesce_setkey_enc()353 rko[0] = aes_rot_word(aes_sub_word(rki[key_len_in_words - 1])); in aesce_setkey_enc()354 rko[0] ^= rcon[iteration] ^ rki[0]; in aesce_setkey_enc()355 rko[1] = rko[0] ^ rki[1]; in aesce_setkey_enc()356 rko[2] = rko[1] ^ rki[2]; in aesce_setkey_enc()357 rko[3] = rko[2] ^ rki[3]; in aesce_setkey_enc()358 if (rko + key_len_in_words > rko_end) { in aesce_setkey_enc()367 rko[4] = rko[3] ^ rki[4]; in aesce_setkey_enc()368 rko[5] = rko[4] ^ rki[5]; in aesce_setkey_enc()[all …]