Lines Matching refs:state
131 uint8_t state[Nk*Nb]; in tc_aes_decrypt() local
142 (void)_copy(state, sizeof(state), in, sizeof(state)); in tc_aes_decrypt()
144 add_round_key(state, s->words + Nb*Nr); in tc_aes_decrypt()
147 inv_shift_rows(state); in tc_aes_decrypt()
148 inv_sub_bytes(state); in tc_aes_decrypt()
149 add_round_key(state, s->words + Nb*i); in tc_aes_decrypt()
150 inv_mix_columns(state); in tc_aes_decrypt()
153 inv_shift_rows(state); in tc_aes_decrypt()
154 inv_sub_bytes(state); in tc_aes_decrypt()
155 add_round_key(state, s->words); in tc_aes_decrypt()
157 (void)_copy(out, sizeof(state), state, sizeof(state)); in tc_aes_decrypt()
160 _set(state, TC_ZERO_BYTE, sizeof(state)); in tc_aes_decrypt()