Home | History | Annotate | Download | only in ap

Lines Matching refs:psk

38 	struct hostapd_sta_wpa_psk_short *psk;
59 hostapd_free_psk_list(e->psk);
76 static void copy_psk_list(struct hostapd_sta_wpa_psk_short **psk,
79 if (!psk)
85 *psk = src;
93 struct hostapd_sta_wpa_psk_short **psk,
116 copy_psk_list(psk, entry->psk);
244 * @psk: Linked list buffer for returning WPA PSK
256 struct hostapd_sta_wpa_psk_short **psk,
267 if (psk)
268 *psk = NULL;
286 acct_interim_interval, vlan_id, psk,
437 struct hostapd_sta_wpa_psk_short *psk;
440 * Decode all tunnel passwords as PSK and save them into a linked list.
466 psk = os_zalloc(sizeof(struct hostapd_sta_wpa_psk_short));
467 if (psk) {
469 (hexstr2bin(passphrase, psk->psk, PMK_LEN) < 0)) {
477 os_memcpy(psk->passphrase, passphrase,
479 psk->is_passphrase = 1;
481 psk->next = cache->psk;
482 cache->psk = psk;
483 psk = NULL;
486 os_free(psk);
594 !cache->psk)
678 void hostapd_free_psk_list(struct hostapd_sta_wpa_psk_short *psk)
680 if (psk && psk->ref) {
682 psk->ref--;
686 while (psk) {
687 struct hostapd_sta_wpa_psk_short *prev = psk;
688 psk = psk->next;