Searched refs:psk_str (Results 1 – 1 of 1) sorted by relevance
/system/netd/server/ |
D | SoftapController.cpp | 155 char psk_str[2*SHA256_DIGEST_LENGTH+1]; in setSoftap() local 157 generatePsk(argv[3], argv[7], psk_str); in setSoftap() 158 … fbuf = StringPrintf("%swpa=3\nwpa_pairwise=TKIP CCMP\nwpa_psk=%s\n", wbuf.c_str(), psk_str); in setSoftap() 160 generatePsk(argv[3], argv[7], psk_str); in setSoftap() 161 fbuf = StringPrintf("%swpa=2\nrsn_pairwise=CCMP\nwpa_psk=%s\n", wbuf.c_str(), psk_str); in setSoftap() 213 void SoftapController::generatePsk(char *ssid, char *passphrase, char *psk_str) { in generatePsk() argument 221 sprintf(&psk_str[j*2], "%02x", psk[j]); in generatePsk()
|