Lines Matching refs:Nb
86 s->words[i] = (k[Nb*i]<<24) | (k[Nb*i+1]<<16) | in tc_aes128_set_encrypt_key()
87 (k[Nb*i+2]<<8) | (k[Nb*i+3]); in tc_aes128_set_encrypt_key()
90 for (; i < (Nb * (Nr + 1)); ++i) { in tc_aes128_set_encrypt_key()
117 for (i = 0; i < (Nb * Nk); ++i) { in sub_bytes()
134 uint8_t t[Nb*Nk]; in mix_columns()
137 mult_row_column(&t[Nb], s+Nb); in mix_columns()
138 mult_row_column(&t[2 * Nb], s + (2 * Nb)); in mix_columns()
139 mult_row_column(&t[3 * Nb], s + (3 * Nb)); in mix_columns()
149 uint8_t t[Nb * Nk]; in shift_rows()
160 uint8_t state[Nk*Nb]; 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()