Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/u-boot/lib/
H A Daes.c33 static const u8 sbox[256] = { variable
332 state[0] = sbox[state[0]]; in shift_rows()
333 state[4] = sbox[state[4]]; in shift_rows()
334 state[8] = sbox[state[8]]; in shift_rows()
335 state[12] = sbox[state[12]]; in shift_rows()
338 tmp = sbox[state[1]]; in shift_rows()
339 state[1] = sbox[state[5]]; in shift_rows()
340 state[5] = sbox[state[9]]; in shift_rows()
341 state[9] = sbox[state[13]]; in shift_rows()
345 tmp = sbox[state[2]]; in shift_rows()
[all …]
/OK3568_Linux_fs/kernel/crypto/
H A Dsm4_generic.c23 static const u8 sbox[256] = { variable
75 b[i] = sbox[b[i]]; in sm4_t_non_lin_sub()
/OK3568_Linux_fs/kernel/drivers/staging/rtl8712/
H 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()
/OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/core/
H A Drtw_security.c917 static u8 sbox(u8 a);
950 static u8 sbox(u8 a) in sbox() function
965 sbox_key[0] = sbox(key[13]); in next_key()
966 sbox_key[1] = sbox(key[14]); in next_key()
967 sbox_key[2] = sbox(key[15]); in next_key()
968 sbox_key[3] = sbox(key[12]); in next_key()
986 out[i] = sbox(in[i]); in byte_sub()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/
H A Drtw_security.c1031 static u8 sbox(u8 a);
1060 static u8 sbox(u8 a) in sbox() function
1074 sbox_key[0] = sbox(key[13]); in next_key()
1075 sbox_key[1] = sbox(key[14]); in next_key()
1076 sbox_key[2] = sbox(key[15]); in next_key()
1077 sbox_key[3] = sbox(key[12]); in next_key()
1094 out[i] = sbox(in[i]); in byte_sub()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/
H A Drtw_security.c1031 static u8 sbox(u8 a);
1060 static u8 sbox(u8 a) in sbox() function
1074 sbox_key[0] = sbox(key[13]); in next_key()
1075 sbox_key[1] = sbox(key[14]); in next_key()
1076 sbox_key[2] = sbox(key[15]); in next_key()
1077 sbox_key[3] = sbox(key[12]); in next_key()
1094 out[i] = sbox(in[i]); in byte_sub()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/
H A Drtw_security.c1031 static u8 sbox(u8 a);
1060 static u8 sbox(u8 a) in sbox() function
1074 sbox_key[0] = sbox(key[13]); in next_key()
1075 sbox_key[1] = sbox(key[14]); in next_key()
1076 sbox_key[2] = sbox(key[15]); in next_key()
1077 sbox_key[3] = sbox(key[12]); in next_key()
1094 out[i] = sbox(in[i]); in byte_sub()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/
H A Drtw_security.c1031 static u8 sbox(u8 a);
1060 static u8 sbox(u8 a) in sbox() function
1074 sbox_key[0] = sbox(key[13]); in next_key()
1075 sbox_key[1] = sbox(key[14]); in next_key()
1076 sbox_key[2] = sbox(key[15]); in next_key()
1077 sbox_key[3] = sbox(key[12]); in next_key()
1094 out[i] = sbox(in[i]); in byte_sub()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/
H A Drtw_security.c949 static u8 sbox(u8 a);
978 static u8 sbox(u8 a) in sbox() function
992 sbox_key[0] = sbox(key[13]); in next_key()
993 sbox_key[1] = sbox(key[14]); in next_key()
994 sbox_key[2] = sbox(key[15]); in next_key()
995 sbox_key[3] = sbox(key[12]); in next_key()
1012 out[i] = sbox(in[i]); in byte_sub()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/
H A Drtw_security.c949 static u8 sbox(u8 a);
978 static u8 sbox(u8 a) in sbox() function
992 sbox_key[0] = sbox(key[13]); in next_key()
993 sbox_key[1] = sbox(key[14]); in next_key()
994 sbox_key[2] = sbox(key[15]); in next_key()
995 sbox_key[3] = sbox(key[12]); in next_key()
1012 out[i] = sbox(in[i]); in byte_sub()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/
H A Drtw_security.c1031 static u8 sbox(u8 a);
1060 static u8 sbox(u8 a) in sbox() function
1074 sbox_key[0] = sbox(key[13]); in next_key()
1075 sbox_key[1] = sbox(key[14]); in next_key()
1076 sbox_key[2] = sbox(key[15]); in next_key()
1077 sbox_key[3] = sbox(key[12]); in next_key()
1094 out[i] = sbox(in[i]); in byte_sub()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/
H A Drtw_security.c1032 static u8 sbox(u8 a);
1061 static u8 sbox(u8 a) in sbox() function
1075 sbox_key[0] = sbox(key[13]); in next_key()
1076 sbox_key[1] = sbox(key[14]); in next_key()
1077 sbox_key[2] = sbox(key[15]); in next_key()
1078 sbox_key[3] = sbox(key[12]); in next_key()
1095 out[i] = sbox(in[i]); in byte_sub()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/
H A Drtw_security.c1031 static u8 sbox(u8 a);
1060 static u8 sbox(u8 a) in sbox() function
1074 sbox_key[0] = sbox(key[13]); in next_key()
1075 sbox_key[1] = sbox(key[14]); in next_key()
1076 sbox_key[2] = sbox(key[15]); in next_key()
1077 sbox_key[3] = sbox(key[12]); in next_key()
1094 out[i] = sbox(in[i]); in byte_sub()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/
H A Drtw_security.c1032 static u8 sbox(u8 a);
1061 static u8 sbox(u8 a) in sbox() function
1075 sbox_key[0] = sbox(key[13]); in next_key()
1076 sbox_key[1] = sbox(key[14]); in next_key()
1077 sbox_key[2] = sbox(key[15]); in next_key()
1078 sbox_key[3] = sbox(key[12]); in next_key()
1095 out[i] = sbox(in[i]); in byte_sub()
/OK3568_Linux_fs/kernel/arch/arm64/crypto/
H A Daes-neon.S44 .macro prepare, sbox, shiftrows, temp
48 adr_l \temp, \sbox
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/core/
H A Drtw_security.c1052 static u8 sbox(u8 a);
1096 static u8 sbox(u8 a) in sbox() function
1112 sbox_key[0] = sbox(key[13]); in next_key()
1113 sbox_key[1] = sbox(key[14]); in next_key()
1114 sbox_key[2] = sbox(key[15]); in next_key()
1115 sbox_key[3] = sbox(key[12]); in next_key()
1135 out[i] = sbox(in[i]); in byte_sub()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/core/
H A Drtw_security.c1034 static u8 sbox(u8 a);
1074 static u8 sbox(u8 a) in sbox() function
1089 sbox_key[0] = sbox(key[13]); in next_key()
1090 sbox_key[1] = sbox(key[14]); in next_key()
1091 sbox_key[2] = sbox(key[15]); in next_key()
1092 sbox_key[3] = sbox(key[12]); in next_key()
1111 out[i] = sbox(in[i]); in byte_sub()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/core/
H A Drtw_security.c1052 static u8 sbox(u8 a);
1096 static u8 sbox(u8 a) in sbox() function
1112 sbox_key[0] = sbox(key[13]); in next_key()
1113 sbox_key[1] = sbox(key[14]); in next_key()
1114 sbox_key[2] = sbox(key[15]); in next_key()
1115 sbox_key[3] = sbox(key[12]); in next_key()
1135 out[i] = sbox(in[i]); in byte_sub()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/core/
H A Drtw_security.c980 static u8 sbox(u8 a);
1016 static u8 sbox(u8 a) in sbox() function
1030 sbox_key[0] = sbox(key[13]); in next_key()
1031 sbox_key[1] = sbox(key[14]); in next_key()
1032 sbox_key[2] = sbox(key[15]); in next_key()
1033 sbox_key[3] = sbox(key[12]); in next_key()
1050 out[i] = sbox(in[i]); in byte_sub()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/core/
H A Drtw_security.c981 static u8 sbox(u8 a);
1010 static u8 sbox(u8 a) in sbox() function
1024 sbox_key[0] = sbox(key[13]); in next_key()
1025 sbox_key[1] = sbox(key[14]); in next_key()
1026 sbox_key[2] = sbox(key[15]); in next_key()
1027 sbox_key[3] = sbox(key[12]); in next_key()
1044 out[i] = sbox(in[i]); in byte_sub()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/core/
H A Drtw_security.c981 static u8 sbox(u8 a);
1010 static u8 sbox(u8 a) in sbox() function
1024 sbox_key[0] = sbox(key[13]); in next_key()
1025 sbox_key[1] = sbox(key[14]); in next_key()
1026 sbox_key[2] = sbox(key[15]); in next_key()
1027 sbox_key[3] = sbox(key[12]); in next_key()
1044 out[i] = sbox(in[i]); in byte_sub()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/core/
H A Drtw_security.c980 static u8 sbox(u8 a);
1009 static u8 sbox(u8 a) in sbox() function
1023 sbox_key[0] = sbox(key[13]); in next_key()
1024 sbox_key[1] = sbox(key[14]); in next_key()
1025 sbox_key[2] = sbox(key[15]); in next_key()
1026 sbox_key[3] = sbox(key[12]); in next_key()
1043 out[i] = sbox(in[i]); in byte_sub()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/core/
H A Drtw_security.c981 static u8 sbox(u8 a);
1010 static u8 sbox(u8 a) in sbox() function
1024 sbox_key[0] = sbox(key[13]); in next_key()
1025 sbox_key[1] = sbox(key[14]); in next_key()
1026 sbox_key[2] = sbox(key[15]); in next_key()
1027 sbox_key[3] = sbox(key[12]); in next_key()
1044 out[i] = sbox(in[i]); in byte_sub()
/OK3568_Linux_fs/external/xserver/dix/
H A Dwindow.c2007 BoxPtr sbox; in AnyWindowOverlapsMe() local
2011 sbox = WindowExtents(pSib, &sboxrec); in AnyWindowOverlapsMe()
2012 if (BOXES_OVERLAP(sbox, box) in AnyWindowOverlapsMe()
2013 && ShapeOverlap(pWin, box, pSib, sbox)) in AnyWindowOverlapsMe()
2025 BoxPtr sbox; in IOverlapAnyWindow() local
2029 sbox = WindowExtents(pSib, &sboxrec); in IOverlapAnyWindow()
2030 if (BOXES_OVERLAP(sbox, box) in IOverlapAnyWindow()
2031 && ShapeOverlap(pWin, box, pSib, sbox)) in IOverlapAnyWindow()
/OK3568_Linux_fs/kernel/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.

12