Home
last modified time | relevance | path

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

/openthread-latest/third_party/mbedtls/repo/library/
Daesce.c337 const size_t key_len_in_words = key_bit_length / 32; /* Nk */ in aesce_setkey_enc() local
339 const size_t rounds_needed = key_len_in_words + 6; /* Nr */ in aesce_setkey_enc()
344 memcpy(rk, key, key_len_in_words * 4); in aesce_setkey_enc()
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()
358 if (rko + key_len_in_words > rko_end) { in aesce_setkey_enc()