Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/staging/rtl8712/
Drtl871x_security.c569 u8 *pframe, *payload, *iv, *prwskey; in r8712_tkip_encrypt() local
588 prwskey = &stainfo->x_UncstKey.skey[0]; in r8712_tkip_encrypt()
597 phase1((u16 *)&ttkey[0], prwskey, in r8712_tkip_encrypt()
599 phase2(&rc4key[0], prwskey, (u16 *)&ttkey[0], in r8712_tkip_encrypt()
648 u8 *pframe, *payload, *iv, *prwskey, idx = 0; in r8712_tkip_decrypt() local
670 prwskey = &psecuritypriv->XGrpKey[ in r8712_tkip_decrypt()
675 prwskey = &stainfo->x_UncstKey.skey[0]; in r8712_tkip_decrypt()
680 phase1((u16 *)&ttkey[0], prwskey, &prxattrib->ta[0], in r8712_tkip_decrypt()
682 phase2(&rc4key[0], prwskey, (unsigned short *) in r8712_tkip_decrypt()
1141 u8 *pframe, *prwskey; in r8712_aes_encrypt() local
[all …]
/Linux-v5.10/drivers/staging/rtl8188eu/core/
Drtw_security.c584 u8 *pframe, *payload, *iv, *prwskey; in rtw_tkip_encrypt() local
609 prwskey = psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].skey; in rtw_tkip_encrypt()
611 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_tkip_encrypt()
621 phase1((u16 *)&ttkey[0], prwskey, &pattrib->ta[0], pnh); in rtw_tkip_encrypt()
622 phase2(&rc4key[0], prwskey, (u16 *)&ttkey[0], pnl); in rtw_tkip_encrypt()
663 u8 *pframe, *payload, *iv, *prwskey; in rtw_tkip_decrypt() local
682 prwskey = psecuritypriv->dot118021XGrpKey[prxattrib->key_index].skey; in rtw_tkip_decrypt()
685 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_tkip_decrypt()
697 phase1((u16 *)&ttkey[0], prwskey, &prxattrib->ta[0], pnh); in rtw_tkip_decrypt()
698 phase2(&rc4key[0], prwskey, (unsigned short *)&ttkey[0], pnl); in rtw_tkip_decrypt()
/Linux-v5.10/drivers/staging/rtl8723bs/core/
Drtw_security.c665 u8 *pframe, *payload, *iv, *prwskey; in rtw_tkip_encrypt() local
685 prwskey = psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].skey; in rtw_tkip_encrypt()
687 prwskey = pattrib->dot118021x_UncstKey.skey; in rtw_tkip_encrypt()
698 phase1((u16 *)&ttkey[0], prwskey, &pattrib->ta[0], pnh); in rtw_tkip_encrypt()
700 phase2(&rc4key[0], prwskey, (u16 *)&ttkey[0], pnl); in rtw_tkip_encrypt()
741 u8 *pframe, *payload, *iv, *prwskey; in rtw_tkip_decrypt() local
790 prwskey = psecuritypriv->dot118021XGrpKey[prxattrib->key_index].skey; in rtw_tkip_decrypt()
792 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_tkip_decrypt()
804 phase1((u16 *)&ttkey[0], prwskey, &prxattrib->ta[0], pnh); in rtw_tkip_decrypt()
805 phase2(&rc4key[0], prwskey, (unsigned short *)&ttkey[0], pnl); in rtw_tkip_decrypt()
[all …]