| /OK3568_Linux_fs/kernel/Documentation/admin-guide/device-mapper/ |
| H A D | dm-crypt.rst | 17 Encryption cipher, encryption mode and Initial Vector (IV) generator. 30 format (selected by capi: prefix). The IV specification is the same 58 keys (for example IV seed) so the key contains more parts concatenated 82 The IV offset is a sector count that is added to the sector number 83 before creating the IV. 137 The <type> can be "none" if metadata is used only for persistent IV. 142 used for storing authentication tag (and persistent IV if needed). 150 IV generators will use sector number counted in <sector_size> units 153 For example, if <sector_size> is 4096 bytes, plain64 IV for the second
|
| /OK3568_Linux_fs/kernel/tools/perf/scripts/perl/Perf-Trace-Util/ |
| H A D | Context.c | 47 XSprePUSH; PUSHi((IV)RETVAL); in XS() 70 XSprePUSH; PUSHi((IV)RETVAL); in XS() 93 XSprePUSH; PUSHi((IV)RETVAL); in XS()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/core/ |
| H A D | rtw_wapi_sms4.c | 157 void WapiSMS4Cryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Cryption() argument 173 tempIV[k] = IV[15-k]; in WapiSMS4Cryption() 198 void WapiSMS4Encryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Encryption() argument 202 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Encryption() 205 void WapiSMS4Decryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Decryption() argument 209 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Decryption() 212 void WapiSMS4CalculateMic(u8 *Key, u8 *IV, u8 *Input1, u8 Input1Length, in WapiSMS4CalculateMic() argument 223 tempIV[k] = IV[15-k]; in WapiSMS4CalculateMic() 275 u8 TempBuf[34], TempLen = 32, MicLen, QosOffset, *IV; in SecCalculateMicSMS4() 310 IV = pHeader + QosOffset + 2 + 2; in SecCalculateMicSMS4() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/ |
| H A D | rtw_wapi_sms4.c | 181 void WapiSMS4Cryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Cryption() argument 197 tempIV[k] = IV[15 - k]; in WapiSMS4Cryption() 219 void WapiSMS4Encryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Encryption() argument 223 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Encryption() 226 void WapiSMS4Decryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Decryption() argument 230 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Decryption() 233 void WapiSMS4CalculateMic(u8 *Key, u8 *IV, u8 *Input1, u8 Input1Length, in WapiSMS4CalculateMic() argument 244 tempIV[k] = IV[15 - k]; in WapiSMS4CalculateMic() 296 u8 TempBuf[34], TempLen = 32, MicLen, QosOffset, *IV; in SecCalculateMicSMS4() 330 IV = pHeader + QosOffset + 2 + 2; in SecCalculateMicSMS4() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/ |
| H A D | rtw_wapi_sms4.c | 180 void WapiSMS4Cryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Cryption() argument 196 tempIV[k] = IV[15 - k]; in WapiSMS4Cryption() 218 void WapiSMS4Encryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Encryption() argument 222 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Encryption() 225 void WapiSMS4Decryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Decryption() argument 229 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Decryption() 232 void WapiSMS4CalculateMic(u8 *Key, u8 *IV, u8 *Input1, u8 Input1Length, in WapiSMS4CalculateMic() argument 243 tempIV[k] = IV[15 - k]; in WapiSMS4CalculateMic() 295 u8 TempBuf[34], TempLen = 32, MicLen, QosOffset, *IV; in SecCalculateMicSMS4() 329 IV = pHeader + QosOffset + 2 + 2; in SecCalculateMicSMS4() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/core/ |
| H A D | rtw_wapi_sms4.c | 167 void WapiSMS4Cryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Cryption() argument 183 tempIV[k] = IV[15 - k]; in WapiSMS4Cryption() 205 void WapiSMS4Encryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Encryption() argument 209 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Encryption() 212 void WapiSMS4Decryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Decryption() argument 216 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Decryption() 219 void WapiSMS4CalculateMic(u8 *Key, u8 *IV, u8 *Input1, u8 Input1Length, in WapiSMS4CalculateMic() argument 230 tempIV[k] = IV[15 - k]; in WapiSMS4CalculateMic() 282 u8 TempBuf[34], TempLen = 32, MicLen, QosOffset, *IV; in SecCalculateMicSMS4() 316 IV = pHeader + QosOffset + 2 + 2; in SecCalculateMicSMS4() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/ |
| H A D | rtw_wapi_sms4.c | 180 void WapiSMS4Cryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Cryption() argument 196 tempIV[k] = IV[15 - k]; in WapiSMS4Cryption() 218 void WapiSMS4Encryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Encryption() argument 222 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Encryption() 225 void WapiSMS4Decryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Decryption() argument 229 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Decryption() 232 void WapiSMS4CalculateMic(u8 *Key, u8 *IV, u8 *Input1, u8 Input1Length, in WapiSMS4CalculateMic() argument 243 tempIV[k] = IV[15 - k]; in WapiSMS4CalculateMic() 295 u8 TempBuf[34], TempLen = 32, MicLen, QosOffset, *IV; in SecCalculateMicSMS4() 329 IV = pHeader + QosOffset + 2 + 2; in SecCalculateMicSMS4() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/ |
| H A D | rtw_wapi_sms4.c | 181 void WapiSMS4Cryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Cryption() argument 197 tempIV[k] = IV[15 - k]; in WapiSMS4Cryption() 219 void WapiSMS4Encryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Encryption() argument 223 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Encryption() 226 void WapiSMS4Decryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Decryption() argument 230 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Decryption() 233 void WapiSMS4CalculateMic(u8 *Key, u8 *IV, u8 *Input1, u8 Input1Length, in WapiSMS4CalculateMic() argument 244 tempIV[k] = IV[15 - k]; in WapiSMS4CalculateMic() 296 u8 TempBuf[34], TempLen = 32, MicLen, QosOffset, *IV; in SecCalculateMicSMS4() 330 IV = pHeader + QosOffset + 2 + 2; in SecCalculateMicSMS4() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/core/ |
| H A D | rtw_wapi_sms4.c | 157 void WapiSMS4Cryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Cryption() argument 173 tempIV[k] = IV[15-k]; in WapiSMS4Cryption() 198 void WapiSMS4Encryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Encryption() argument 202 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Encryption() 205 void WapiSMS4Decryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Decryption() argument 209 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Decryption() 212 void WapiSMS4CalculateMic(u8 *Key, u8 *IV, u8 *Input1, u8 Input1Length, in WapiSMS4CalculateMic() argument 223 tempIV[k] = IV[15-k]; in WapiSMS4CalculateMic() 275 u8 TempBuf[34], TempLen = 32, MicLen, QosOffset, *IV; in SecCalculateMicSMS4() 310 IV = pHeader + QosOffset + 2 + 2; in SecCalculateMicSMS4() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/core/ |
| H A D | rtw_wapi_sms4.c | 181 void WapiSMS4Cryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Cryption() argument 197 tempIV[k] = IV[15 - k]; in WapiSMS4Cryption() 219 void WapiSMS4Encryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Encryption() argument 223 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Encryption() 226 void WapiSMS4Decryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Decryption() argument 230 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Decryption() 233 void WapiSMS4CalculateMic(u8 *Key, u8 *IV, u8 *Input1, u8 Input1Length, in WapiSMS4CalculateMic() argument 244 tempIV[k] = IV[15 - k]; in WapiSMS4CalculateMic() 296 u8 TempBuf[34], TempLen = 32, MicLen, QosOffset, *IV; in SecCalculateMicSMS4() 330 IV = pHeader + QosOffset + 2 + 2; in SecCalculateMicSMS4() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/ |
| H A D | rtw_wapi_sms4.c | 180 void WapiSMS4Cryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Cryption() argument 196 tempIV[k] = IV[15 - k]; in WapiSMS4Cryption() 218 void WapiSMS4Encryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Encryption() argument 222 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Encryption() 225 void WapiSMS4Decryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Decryption() argument 229 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Decryption() 232 void WapiSMS4CalculateMic(u8 *Key, u8 *IV, u8 *Input1, u8 Input1Length, in WapiSMS4CalculateMic() argument 243 tempIV[k] = IV[15 - k]; in WapiSMS4CalculateMic() 295 u8 TempBuf[34], TempLen = 32, MicLen, QosOffset, *IV; in SecCalculateMicSMS4() 329 IV = pHeader + QosOffset + 2 + 2; in SecCalculateMicSMS4() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/ |
| H A D | rtw_wapi_sms4.c | 180 void WapiSMS4Cryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Cryption() argument 196 tempIV[k] = IV[15 - k]; in WapiSMS4Cryption() 218 void WapiSMS4Encryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Encryption() argument 222 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Encryption() 225 void WapiSMS4Decryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Decryption() argument 229 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Decryption() 232 void WapiSMS4CalculateMic(u8 *Key, u8 *IV, u8 *Input1, u8 Input1Length, in WapiSMS4CalculateMic() argument 243 tempIV[k] = IV[15 - k]; in WapiSMS4CalculateMic() 295 u8 TempBuf[34], TempLen = 32, MicLen, QosOffset, *IV; in SecCalculateMicSMS4() 329 IV = pHeader + QosOffset + 2 + 2; in SecCalculateMicSMS4() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/core/ |
| H A D | rtw_wapi_sms4.c | 181 void WapiSMS4Cryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Cryption() argument 197 tempIV[k] = IV[15 - k]; in WapiSMS4Cryption() 219 void WapiSMS4Encryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Encryption() argument 223 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Encryption() 226 void WapiSMS4Decryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Decryption() argument 230 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Decryption() 233 void WapiSMS4CalculateMic(u8 *Key, u8 *IV, u8 *Input1, u8 Input1Length, in WapiSMS4CalculateMic() argument 244 tempIV[k] = IV[15 - k]; in WapiSMS4CalculateMic() 296 u8 TempBuf[34], TempLen = 32, MicLen, QosOffset, *IV; in SecCalculateMicSMS4() 330 IV = pHeader + QosOffset + 2 + 2; in SecCalculateMicSMS4() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/ |
| H A D | rtw_wapi_sms4.c | 180 void WapiSMS4Cryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Cryption() argument 196 tempIV[k] = IV[15 - k]; in WapiSMS4Cryption() 218 void WapiSMS4Encryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Encryption() argument 222 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Encryption() 225 void WapiSMS4Decryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Decryption() argument 229 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Decryption() 232 void WapiSMS4CalculateMic(u8 *Key, u8 *IV, u8 *Input1, u8 Input1Length, in WapiSMS4CalculateMic() argument 243 tempIV[k] = IV[15 - k]; in WapiSMS4CalculateMic() 295 u8 TempBuf[34], TempLen = 32, MicLen, QosOffset, *IV; in SecCalculateMicSMS4() 329 IV = pHeader + QosOffset + 2 + 2; in SecCalculateMicSMS4() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/core/ |
| H A D | rtw_wapi_sms4.c | 180 void WapiSMS4Cryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Cryption() argument 196 tempIV[k] = IV[15 - k]; in WapiSMS4Cryption() 218 void WapiSMS4Encryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Encryption() argument 222 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Encryption() 225 void WapiSMS4Decryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Decryption() argument 229 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Decryption() 232 void WapiSMS4CalculateMic(u8 *Key, u8 *IV, u8 *Input1, u8 Input1Length, in WapiSMS4CalculateMic() argument 243 tempIV[k] = IV[15 - k]; in WapiSMS4CalculateMic() 295 u8 TempBuf[34], TempLen = 32, MicLen, QosOffset, *IV; in SecCalculateMicSMS4() 329 IV = pHeader + QosOffset + 2 + 2; in SecCalculateMicSMS4() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/ |
| H A D | rtw_wapi_sms4.c | 180 void WapiSMS4Cryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Cryption() argument 196 tempIV[k] = IV[15 - k]; in WapiSMS4Cryption() 218 void WapiSMS4Encryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Encryption() argument 222 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Encryption() 225 void WapiSMS4Decryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Decryption() argument 229 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Decryption() 232 void WapiSMS4CalculateMic(u8 *Key, u8 *IV, u8 *Input1, u8 Input1Length, in WapiSMS4CalculateMic() argument 243 tempIV[k] = IV[15 - k]; in WapiSMS4CalculateMic() 295 u8 TempBuf[34], TempLen = 32, MicLen, QosOffset, *IV; in SecCalculateMicSMS4() 329 IV = pHeader + QosOffset + 2 + 2; in SecCalculateMicSMS4() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/ |
| H A D | rtw_wapi_sms4.c | 180 void WapiSMS4Cryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Cryption() argument 196 tempIV[k] = IV[15 - k]; in WapiSMS4Cryption() 218 void WapiSMS4Encryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Encryption() argument 222 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Encryption() 225 void WapiSMS4Decryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Decryption() argument 229 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Decryption() 232 void WapiSMS4CalculateMic(u8 *Key, u8 *IV, u8 *Input1, u8 Input1Length, in WapiSMS4CalculateMic() argument 243 tempIV[k] = IV[15 - k]; in WapiSMS4CalculateMic() 295 u8 TempBuf[34], TempLen = 32, MicLen, QosOffset, *IV; in SecCalculateMicSMS4() 329 IV = pHeader + QosOffset + 2 + 2; in SecCalculateMicSMS4() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/ |
| H A D | rtw_wapi_sms4.c | 180 void WapiSMS4Cryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Cryption() argument 196 tempIV[k] = IV[15 - k]; in WapiSMS4Cryption() 218 void WapiSMS4Encryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Encryption() argument 222 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Encryption() 225 void WapiSMS4Decryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Decryption() argument 229 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Decryption() 232 void WapiSMS4CalculateMic(u8 *Key, u8 *IV, u8 *Input1, u8 Input1Length, in WapiSMS4CalculateMic() argument 243 tempIV[k] = IV[15 - k]; in WapiSMS4CalculateMic() 295 u8 TempBuf[34], TempLen = 32, MicLen, QosOffset, *IV; in SecCalculateMicSMS4() 329 IV = pHeader + QosOffset + 2 + 2; in SecCalculateMicSMS4() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/core/ |
| H A D | rtw_wapi_sms4.c | 181 void WapiSMS4Cryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Cryption() argument 197 tempIV[k] = IV[15 - k]; in WapiSMS4Cryption() 219 void WapiSMS4Encryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Encryption() argument 223 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Encryption() 226 void WapiSMS4Decryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Decryption() argument 230 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Decryption() 233 void WapiSMS4CalculateMic(u8 *Key, u8 *IV, u8 *Input1, u8 Input1Length, in WapiSMS4CalculateMic() argument 244 tempIV[k] = IV[15 - k]; in WapiSMS4CalculateMic() 296 u8 TempBuf[34], TempLen = 32, MicLen, QosOffset, *IV; in SecCalculateMicSMS4() 330 IV = pHeader + QosOffset + 2 + 2; in SecCalculateMicSMS4() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/core/ |
| H A D | rtw_wapi_sms4.c | 181 void WapiSMS4Cryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Cryption() argument 197 tempIV[k] = IV[15 - k]; in WapiSMS4Cryption() 219 void WapiSMS4Encryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Encryption() argument 223 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Encryption() 226 void WapiSMS4Decryption(u8 *Key, u8 *IV, u8 *Input, u16 InputLength, in WapiSMS4Decryption() argument 230 WapiSMS4Cryption(Key, IV, Input, InputLength, Output, OutputLength, ENCRYPT); in WapiSMS4Decryption() 233 void WapiSMS4CalculateMic(u8 *Key, u8 *IV, u8 *Input1, u8 Input1Length, in WapiSMS4CalculateMic() argument 244 tempIV[k] = IV[15 - k]; in WapiSMS4CalculateMic() 296 u8 TempBuf[34], TempLen = 32, MicLen, QosOffset, *IV; in SecCalculateMicSMS4() 330 IV = pHeader + QosOffset + 2 + 2; in SecCalculateMicSMS4() [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/crypto/ |
| H A D | aesni-intel_asm.S | 143 #define IV %xmm3 macro 2508 movups (IVP), IV 2529 pxor IV, STATE1 2534 movaps IN4, IV 2537 movaps IN2, IV 2559 pxor IV, STATE 2561 movaps IN, IV 2568 movups IV, (IVP) 2600 movaps IV, CTR 2631 movaps CTR, IV [all …]
|
| H A D | blake2s-core.S | 11 IV: .octa 0xA54FF53A3C6EF372BB67AE856A09E667 label 65 movdqa IV(%rip),%xmm2 67 pxor IV+0x10(%rip),%xmm3 183 vmovdqa IV(%rip),%xmm14 184 vmovdqa IV+16(%rip),%xmm15
|
| /OK3568_Linux_fs/kernel/drivers/block/ |
| H A D | cryptoloop.c | 98 int size, sector_t IV) in cryptoloop_transfer() argument 134 iv[0] = cpu_to_le32(IV & 0xffffffff); in cryptoloop_transfer() 144 IV++; in cryptoloop_transfer()
|
| /OK3568_Linux_fs/kernel/drivers/crypto/chelsio/ |
| H A D | chcr_algo.c | 73 #define IV AES_BLOCK_SIZE macro 847 chcr_req->sec_cpl.pldlen = htonl(IV + wrparam->bytes); in create_cipher_wr() 849 FILL_SEC_CPL_CIPHERSTOP_HI(0, 0, IV + 1, 0); in create_cipher_wr() 855 0, 0, IV >> 1); in create_cipher_wr() 887 temp = sizeof(struct cpl_rx_phys_dsgl) + dst_size + kctx_len + IV in create_cipher_wr() 1206 memcpy(req->iv, reqctx->init_iv, IV); in chcr_handle_cipher_resp() 1297 reqctx->imm = (transhdr_len + IV + req->cryptlen) <= in process_cipher() 1299 bytes = IV + req->cryptlen; in process_cipher() 1327 memcpy(reqctx->init_iv, reqctx->iv, IV); in process_cipher() 1331 memcpy(reqctx->iv, req->iv, IV); in process_cipher() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlan/esa/common/ |
| H A D | rc4.c | 109 unsigned char *IV, in RC4_Encrypt() argument 122 memcpy(util_fns, key, IV, iv_length); in RC4_Encrypt()
|