Home
last modified time | relevance | path

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

/hal_infineon-3.4.0/wifi-host-driver/WiFi_Host_Driver/src/
Dwhd_wifi_api.c676 wsec_pmk_t *pmk; in whd_wifi_set_pmk() local
689 pmk = (wsec_pmk_t *)whd_cdc_get_ioctl_buffer(whd_driver, &buffer, sizeof(wsec_pmk_t) ); in whd_wifi_set_pmk()
690 CHECK_IOCTL_BUFFER(pmk); in whd_wifi_set_pmk()
692 memset(pmk, 0, sizeof(wsec_pmk_t) ); in whd_wifi_set_pmk()
695 snprintf( (char *)&pmk->key[2 * i], 3, "%02x", security_key[i] ); in whd_wifi_set_pmk()
697 pmk->key_len = htod16(key_length << 1); in whd_wifi_set_pmk()
698 pmk->flags = htod16( (uint16_t)WSEC_PASSPHRASE ); in whd_wifi_set_pmk()