Searched refs:sm4_round (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/crypto/ |
H A D | sm4.c | 104 static inline u32 sm4_round(u32 x0, u32 x1, u32 x2, u32 x3, u32 rk) in sm4_round() function 170 x[0] = sm4_round(x[0], x[1], x[2], x[3], rk[i + 0]); in sm4_crypt_block() 171 x[1] = sm4_round(x[1], x[2], x[3], x[0], rk[i + 1]); in sm4_crypt_block() 172 x[2] = sm4_round(x[2], x[3], x[0], x[1], rk[i + 2]); in sm4_crypt_block() 173 x[3] = sm4_round(x[3], x[0], x[1], x[2], rk[i + 3]); in sm4_crypt_block()
|