Home
last modified time | relevance | path

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

/tinycrypt-latest/lib/source/
Daes_encrypt.c86 s->words[i] = ((uint32_t)k[Nb*i]<<24) | (k[Nb*i+1]<<16) | in tc_aes128_set_encrypt_key()
91 t = s->words[i-1]; in tc_aes128_set_encrypt_key()
95 s->words[i] = s->words[i-Nk] ^ t; in tc_aes128_set_encrypt_key()
172 add_round_key(state, s->words); in tc_aes_encrypt()
178 add_round_key(state, s->words + Nb*(i+1)); in tc_aes_encrypt()
183 add_round_key(state, s->words + Nb*(i+1)); in tc_aes_encrypt()
Daes_decrypt.c144 add_round_key(state, s->words + Nb*Nr); in tc_aes_decrypt()
149 add_round_key(state, s->words + Nb*i); in tc_aes_decrypt()
155 add_round_key(state, s->words); in tc_aes_decrypt()
Dctr_prng.c275 memset(ctx->key.words, 0x00, sizeof ctx->key.words); in tc_ctr_prng_uninstantiate()
/tinycrypt-latest/lib/include/tinycrypt/
Daes.h65 unsigned int words[Nb*(Nr+1)]; member