Searched refs:sbox (Results 1 – 8 of 8) sorted by relevance
/openbmc/u-boot/lib/ |
H A D | aes.c | 404 sbox[state[10]] ^ sbox[state[15]]; in mix_sub_columns() 407 tmp[2] = sbox[state[0]] ^ sbox[state[5]] ^ in mix_sub_columns() 414 sbox[state[14]] ^ sbox[state[3]]; in mix_sub_columns() 417 tmp[6] = sbox[state[4]] ^ sbox[state[9]] ^ in mix_sub_columns() 424 sbox[state[2]] ^ sbox[state[7]]; in mix_sub_columns() 427 tmp[10] = sbox[state[8]] ^ sbox[state[13]] ^ in mix_sub_columns() 434 sbox[state[6]] ^ sbox[state[11]]; in mix_sub_columns() 437 tmp[14] = sbox[state[12]] ^ sbox[state[1]] ^ in mix_sub_columns() 526 tmp3 = sbox[tmp0]; in aes_expand_key() 528 tmp1 = sbox[tmp2]; in aes_expand_key() [all …]
|
/openbmc/linux/crypto/ |
H A D | sm4.c | 29 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 D | rtl871x_security.c | 755 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 D | aes-neon.S | 44 .macro prepare, sbox, shiftrows, temp 48 adr_l \temp, \sbox
|
H A D | aes-neonbs-core.S | 190 .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 D | descore-readme.rst | 264 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/u-boot/arch/sandbox/dts/ |
H A D | test.dts | 216 clk_sandbox: clk-sbox {
|
/openbmc/linux/arch/arm/crypto/ |
H A D | aes-neonbs-core.S | 244 .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, \
|