Home
last modified time | relevance | path

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

/netbsd-src/crypto/external/bsd/openssl/dist/crypto/sm4/
H A Dsm4.c43 static const uint32_t SM4_SBOX_T[256] = { variable
126 return SM4_SBOX_T[(uint8_t)(X >> 24)] ^ in SM4_T()
127 rotl(SM4_SBOX_T[(uint8_t)(X >> 16)], 24) ^ in SM4_T()
128 rotl(SM4_SBOX_T[(uint8_t)(X >> 8)], 16) ^ in SM4_T()
129 rotl(SM4_SBOX_T[(uint8_t)X], 8); in SM4_T()
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/sm4/
H A Dsm4.c43 static const uint32_t SM4_SBOX_T[256] = { variable
126 return SM4_SBOX_T[(uint8_t)(X >> 24)] ^ in SM4_T()
127 rotl(SM4_SBOX_T[(uint8_t)(X >> 16)], 24) ^ in SM4_T()
128 rotl(SM4_SBOX_T[(uint8_t)(X >> 8)], 16) ^ in SM4_T()
129 rotl(SM4_SBOX_T[(uint8_t)X], 8); in SM4_T()