Searched refs:t (Results 1 – 3 of 3) sorted by relevance
| /tinycrypt-latest/lib/source/ |
| D | aes_encrypt.c | 77 unsigned int t; in tc_aes128_set_encrypt_key() local 91 t = s->words[i-1]; in tc_aes128_set_encrypt_key() 93 t = subword(rotword(t)) ^ rconst[i/Nk]; in tc_aes128_set_encrypt_key() 95 s->words[i] = s->words[i-Nk] ^ t; in tc_aes128_set_encrypt_key() 134 uint8_t t[Nb*Nk]; in mix_columns() local 136 mult_row_column(t, s); 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() 140 (void) _copy(s, sizeof(t), t, sizeof(t)); in mix_columns() [all …]
|
| D | aes_decrypt.c | 83 uint8_t t[Nb*Nk]; in inv_mix_columns() local 85 mult_row_column(t, s); in inv_mix_columns() 86 mult_row_column(&t[Nb], s+Nb); in inv_mix_columns() 87 mult_row_column(&t[2*Nb], s+(2*Nb)); in inv_mix_columns() 88 mult_row_column(&t[3*Nb], s+(3*Nb)); in inv_mix_columns() 89 (void)_copy(s, sizeof(t), t, sizeof(t)); in inv_mix_columns() 120 uint8_t t[Nb*Nk]; in inv_shift_rows() local 122 t[0] = s[0]; t[1] = s[13]; t[2] = s[10]; t[3] = s[7]; in inv_shift_rows() 123 t[4] = s[4]; t[5] = s[1]; t[6] = s[14]; t[7] = s[11]; in inv_shift_rows() 124 t[8] = s[8]; t[9] = s[5]; t[10] = s[2]; t[11] = s[15]; in inv_shift_rows() [all …]
|
| D | sha256.c | 125 unsigned int t = *((unsigned int *) &s->iv[i]); in tc_sha256_final() local 126 *digest++ = (uint8_t)(t >> 24); in tc_sha256_final() 127 *digest++ = (uint8_t)(t >> 16); in tc_sha256_final() 128 *digest++ = (uint8_t)(t >> 8); in tc_sha256_final() 129 *digest++ = (uint8_t)(t); in tc_sha256_final()
|