Home
last modified time | relevance | path

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

/openbmc/u-boot/lib/
H A Daes.c32 static const u8 sbox[256] = { variable
331 state[0] = sbox[state[0]]; in shift_rows()
332 state[4] = sbox[state[4]]; in shift_rows()
333 state[8] = sbox[state[8]]; in shift_rows()
334 state[12] = sbox[state[12]]; in shift_rows()
337 tmp = sbox[state[1]]; in shift_rows()
338 state[1] = sbox[state[5]]; in shift_rows()
339 state[5] = sbox[state[9]]; in shift_rows()
340 state[9] = sbox[state[13]]; in shift_rows()
344 tmp = sbox[state[2]]; in shift_rows()
[all …]
/openbmc/linux/crypto/
H A Dsm4.c29 static const u8 ____cacheline_aligned sbox[256] = { variable
66 extern const u8 crypto_sm4_sbox[256] __alias(sbox);
76 out = (u32)sbox[x & 0xff]; in sm4_t_non_lin_sub()
77 out |= (u32)sbox[(x >> 8) & 0xff] << 8; in sm4_t_non_lin_sub()
78 out |= (u32)sbox[(x >> 16) & 0xff] << 16; in sm4_t_non_lin_sub()
79 out |= (u32)sbox[(x >> 24) & 0xff] << 24; in sm4_t_non_lin_sub()
/openbmc/linux/drivers/staging/rtl8712/
H A Drtl871x_security.c755 static u8 sbox(u8 a) in sbox() function
769 sbox_key[0] = sbox(key[13]); in next_key()
770 sbox_key[1] = sbox(key[14]); in next_key()
771 sbox_key[2] = sbox(key[15]); in next_key()
772 sbox_key[3] = sbox(key[12]); in next_key()
786 out[i] = sbox(in[i]); in byte_sub()
/openbmc/linux/arch/arm64/crypto/
H A Daes-neon.S44 .macro prepare, sbox, shiftrows, temp
48 adr_l \temp, \sbox
H A Daes-neonbs-core.S190 .macro sbox, b0, b1, b2, b3, b4, b5, b6, b7, \
462 sbox v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, \
/openbmc/linux/Documentation/crypto/
H A Ddescore-readme.rst264 des_keymap, i.e., now the sbox # is the high part of the index and
327 as an index into an sbox mapping table. the next two x'd bits are set
362 a specific sbox during a specific iteration.
/openbmc/linux/arch/arm/crypto/
H A Daes-neonbs-core.S244 .macro sbox, b0, b1, b2, b3, b4, b5, b6, b7, \
519 sbox q0, q1, q2, q3, q4, q5, q6, q7, q8, q9, q10, q11, q12, \
/openbmc/u-boot/arch/sandbox/dts/
H A Dtest.dts216 clk_sandbox: clk-sbox {