Home
last modified time | relevance | path

Searched refs:rki (Results 1 – 1 of 1) sorted by relevance

/mbedtls-3.7.0/library/
Daesce.c346 for (uint32_t *rki = (uint32_t *) rk; in aesce_setkey_enc() local
347 rki + key_len_in_words < rko_end; in aesce_setkey_enc()
348 rki += key_len_in_words) { in aesce_setkey_enc()
350 size_t iteration = (size_t) (rki - (uint32_t *) rk) / key_len_in_words; in aesce_setkey_enc()
352 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()
[all …]