Home
last modified time | relevance | path

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

/linux-6.12.1/crypto/
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()
/linux-6.12.1/drivers/staging/rtl8712/
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()
/linux-6.12.1/arch/arm64/crypto/
Daes-neon.S44 .macro prepare, sbox, shiftrows, temp
48 adr_l \temp, \sbox
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, \
/linux-6.12.1/Documentation/crypto/
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-6.12.1/arch/arm/crypto/
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, \