Lines Matching defs:psk
61 hostapd_free_psk_list(e->info.psk);
241 * @out.psk: Linked list buffer for returning WPA PSK
248 * out->radius_cui and out->psk values.
419 struct hostapd_sta_wpa_psk_short *psk;
448 psk = os_zalloc(sizeof(struct hostapd_sta_wpa_psk_short));
449 if (psk) {
451 (hexstr2bin(passphrase, psk->psk, PMK_LEN) < 0)) {
459 os_memcpy(psk->passphrase, passphrase,
461 psk->is_passphrase = 1;
463 psk->next = cache->info.psk;
464 cache->info.psk = psk;
465 psk = NULL;
468 os_free(psk);
581 !info->psk)
691 void hostapd_copy_psk_list(struct hostapd_sta_wpa_psk_short **psk,
694 if (!psk)
700 *psk = src;
704 void hostapd_free_psk_list(struct hostapd_sta_wpa_psk_short *psk)
706 if (psk && psk->ref) {
708 psk->ref--;
712 while (psk) {
713 struct hostapd_sta_wpa_psk_short *prev = psk;
714 psk = psk->next;