Home
last modified time | relevance | path

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

/openbmc/qemu/include/crypto/
H A Dsm4.h4 extern const uint8_t sm4_sbox[256];
9 return sm4_sbox[word & 0xff] | in sm4_subword()
10 sm4_sbox[(word >> 8) & 0xff] << 8 | in sm4_subword()
11 sm4_sbox[(word >> 16) & 0xff] << 16 | in sm4_subword()
12 sm4_sbox[(word >> 24) & 0xff] << 24; in sm4_subword()
/openbmc/qemu/crypto/
H A Dsm4.c15 uint8_t const sm4_sbox[] = { variable
/openbmc/qemu/target/riscv/
H A Dcrypto_helper.c178 uint32_t sb_out = (uint32_t)sm4_sbox[sb_in]; in HELPER()
192 uint32_t sb_out = sm4_sbox[sb_in]; in HELPER()