Home
last modified time | relevance | path

Searched refs:prwskey (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/staging/rtl8712/
Drtl871x_security.c581 u8 *pframe, *payload, *iv, *prwskey; in r8712_tkip_encrypt() local
600 prwskey = &stainfo->x_UncstKey.skey[0]; in r8712_tkip_encrypt()
609 phase1((u16 *)&ttkey[0], prwskey, in r8712_tkip_encrypt()
611 phase2(&rc4key[0], prwskey, (u16 *)&ttkey[0], in r8712_tkip_encrypt()
660 u8 *pframe, *payload, *iv, *prwskey, idx = 0; in r8712_tkip_decrypt() local
682 prwskey = &psecuritypriv->XGrpKey[ in r8712_tkip_decrypt()
687 prwskey = &stainfo->x_UncstKey.skey[0]; in r8712_tkip_decrypt()
692 phase1((u16 *)&ttkey[0], prwskey, &prxattrib->ta[0], in r8712_tkip_decrypt()
694 phase2(&rc4key[0], prwskey, (unsigned short *) in r8712_tkip_decrypt()
1162 u8 *pframe, *prwskey; in r8712_aes_encrypt() local
[all …]
/Linux-v4.19/drivers/staging/rtl8188eu/core/
Drtw_security.c587 u8 *pframe, *payload, *iv, *prwskey; in rtw_tkip_encrypt() local
612 prwskey = psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].skey; in rtw_tkip_encrypt()
614 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_tkip_encrypt()
624 phase1((u16 *)&ttkey[0], prwskey, &pattrib->ta[0], pnh); in rtw_tkip_encrypt()
625 phase2(&rc4key[0], prwskey, (u16 *)&ttkey[0], pnl); in rtw_tkip_encrypt()
667 u8 *pframe, *payload, *iv, *prwskey; in rtw_tkip_decrypt() local
687 prwskey = psecuritypriv->dot118021XGrpKey[prxattrib->key_index].skey; in rtw_tkip_decrypt()
690 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_tkip_decrypt()
702 phase1((u16 *)&ttkey[0], prwskey, &prxattrib->ta[0], pnh); in rtw_tkip_decrypt()
703 phase2(&rc4key[0], prwskey, (unsigned short *)&ttkey[0], pnl); in rtw_tkip_decrypt()
[all …]
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_security.c662 u8 *pframe, *payload, *iv, *prwskey; in rtw_tkip_encrypt() local
702 prwskey = psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].skey; in rtw_tkip_encrypt()
705 prwskey = pattrib->dot118021x_UncstKey.skey; in rtw_tkip_encrypt()
718 phase1((u16 *)&ttkey[0], prwskey, &pattrib->ta[0], pnh); in rtw_tkip_encrypt()
720 phase2(&rc4key[0], prwskey, (u16 *)&ttkey[0], pnl); in rtw_tkip_encrypt()
770 u8 *pframe, *payload, *iv, *prwskey; in rtw_tkip_decrypt() local
822 prwskey = psecuritypriv->dot118021XGrpKey[prxattrib->key_index].skey; in rtw_tkip_decrypt()
825 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_tkip_decrypt()
838 phase1((u16 *)&ttkey[0], prwskey, &prxattrib->ta[0], pnh); in rtw_tkip_decrypt()
839 phase2(&rc4key[0], prwskey, (unsigned short *)&ttkey[0], pnl); in rtw_tkip_decrypt()
[all …]