Home
last modified time | relevance | path

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

/drivers/staging/rtl8723bs/core/
Drtw_security.c471 u8 *pframe, *payload, *iv, *prwskey; in rtw_tkip_encrypt() local
490 prwskey = psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].skey; in rtw_tkip_encrypt()
492 prwskey = pattrib->dot118021x_UncstKey.skey; in rtw_tkip_encrypt()
503 phase1((u16 *)&ttkey[0], prwskey, &pattrib->ta[0], pnh); in rtw_tkip_encrypt()
505 phase2(&rc4key[0], prwskey, (u16 *)&ttkey[0], pnl); in rtw_tkip_encrypt()
543 u8 *pframe, *payload, *iv, *prwskey; in rtw_tkip_decrypt() local
599 prwskey = psecuritypriv->dot118021XGrpKey[prxattrib->key_index].skey; in rtw_tkip_decrypt()
601 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_tkip_decrypt()
613 phase1((u16 *)&ttkey[0], prwskey, &prxattrib->ta[0], pnh); in rtw_tkip_decrypt()
614 phase2(&rc4key[0], prwskey, (unsigned short *)&ttkey[0], pnl); in rtw_tkip_decrypt()
[all …]
/drivers/staging/rtl8712/
Drtl871x_security.c568 u8 *pframe, *payload, *iv, *prwskey; in r8712_tkip_encrypt() local
587 prwskey = &stainfo->x_UncstKey.skey[0]; in r8712_tkip_encrypt()
596 phase1((u16 *)&ttkey[0], prwskey, in r8712_tkip_encrypt()
598 phase2(&rc4key[0], prwskey, (u16 *)&ttkey[0], in r8712_tkip_encrypt()
647 u8 *pframe, *payload, *iv, *prwskey, idx = 0; in r8712_tkip_decrypt() local
669 prwskey = &psecuritypriv->XGrpKey[ in r8712_tkip_decrypt()
674 prwskey = &stainfo->x_UncstKey.skey[0]; in r8712_tkip_decrypt()
679 phase1((u16 *)&ttkey[0], prwskey, &prxattrib->ta[0], in r8712_tkip_decrypt()
681 phase2(&rc4key[0], prwskey, (unsigned short *) in r8712_tkip_decrypt()
1140 u8 *pframe, *prwskey; in r8712_aes_encrypt() local
[all …]