Home
last modified time | relevance | path

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

/linux/lib/crypto/
A Dsm4.c29 static const u8 ____cacheline_aligned sbox[256] = { variable
68 out = (u32)sbox[x & 0xff]; in sm4_t_non_lin_sub()
69 out |= (u32)sbox[(x >> 8) & 0xff] << 8; in sm4_t_non_lin_sub()
70 out |= (u32)sbox[(x >> 16) & 0xff] << 16; in sm4_t_non_lin_sub()
71 out |= (u32)sbox[(x >> 24) & 0xff] << 24; in sm4_t_non_lin_sub()
/linux/drivers/staging/r8188eu/core/
A Drtw_security.c642 static u8 sbox(u8 a);
672 static u8 sbox(u8 a) in sbox() function
686 sbox_key[0] = sbox(key[13]); in next_key()
687 sbox_key[1] = sbox(key[14]); in next_key()
688 sbox_key[2] = sbox(key[15]); in next_key()
689 sbox_key[3] = sbox(key[12]); in next_key()
707 out[i] = sbox(in[i]); in byte_sub()
/linux/drivers/staging/rtl8712/
A Drtl871x_security.c756 static u8 sbox(u8 a) in sbox() function
770 sbox_key[0] = sbox(key[13]); in next_key()
771 sbox_key[1] = sbox(key[14]); in next_key()
772 sbox_key[2] = sbox(key[15]); in next_key()
773 sbox_key[3] = sbox(key[12]); in next_key()
787 out[i] = sbox(in[i]); in byte_sub()
/linux/arch/arm64/crypto/
A Daes-neon.S44 .macro prepare, sbox, shiftrows, temp
48 adr_l \temp, \sbox
A Daes-neonbs-core.S189 .macro sbox, b0, b1, b2, b3, b4, b5, b6, b7, \
461 sbox v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, \
/linux/Documentation/crypto/
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.
/linux/arch/arm/crypto/
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, \

Completed in 15 milliseconds