Lines Matching refs:t
111 uint32_t t = 0; in SM4_T_slow() local
113 t |= ((uint32_t)SM4_S[(uint8_t)(X >> 24)]) << 24; in SM4_T_slow()
114 t |= ((uint32_t)SM4_S[(uint8_t)(X >> 16)]) << 16; in SM4_T_slow()
115 t |= ((uint32_t)SM4_S[(uint8_t)(X >> 8)]) << 8; in SM4_T_slow()
116 t |= SM4_S[(uint8_t)X]; in SM4_T_slow()
121 return t ^ rotl(t, 2) ^ rotl(t, 10) ^ rotl(t, 18) ^ rotl(t, 24); in SM4_T_slow()
164 uint32_t t = 0; in ossl_sm4_set_key() local
166 t |= ((uint32_t)SM4_S[(uint8_t)(X >> 24)]) << 24; in ossl_sm4_set_key()
167 t |= ((uint32_t)SM4_S[(uint8_t)(X >> 16)]) << 16; in ossl_sm4_set_key()
168 t |= ((uint32_t)SM4_S[(uint8_t)(X >> 8)]) << 8; in ossl_sm4_set_key()
169 t |= SM4_S[(uint8_t)X]; in ossl_sm4_set_key()
171 t = t ^ rotl(t, 13) ^ rotl(t, 23); in ossl_sm4_set_key()
172 K[i % 4] ^= t; in ossl_sm4_set_key()