Home
last modified time | relevance | path

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

/dragonfly/crypto/libressl/crypto/sm4/
H A Dsm4.c27 static const uint8_t SM4_S[256] = { variable
130 t |= ((uint32_t)SM4_S[(uint8_t)(X >> 24)]) << 24; in SM4_T_slow()
131 t |= ((uint32_t)SM4_S[(uint8_t)(X >> 16)]) << 16; in SM4_T_slow()
132 t |= ((uint32_t)SM4_S[(uint8_t)(X >> 8)]) << 8; in SM4_T_slow()
133 t |= SM4_S[(uint8_t)X]; in SM4_T_slow()
190 t |= ((uint32_t)SM4_S[(uint8_t)(X >> 24)]) << 24; in SM4_set_key()
191 t |= ((uint32_t)SM4_S[(uint8_t)(X >> 16)]) << 16; in SM4_set_key()
192 t |= ((uint32_t)SM4_S[(uint8_t)(X >> 8)]) << 8; in SM4_set_key()
193 t |= SM4_S[(uint8_t)X]; in SM4_set_key()