HomeSort by relevance Sort by last modified time
    Searched defs:psk (Results 1 - 25 of 34) sorted by null

1 2

  /external/wpa_supplicant_8/wpa_supplicant/
wpa_passphrase.c 2 * WPA Supplicant - ASCII passphrase to WPA PSK tool
17 unsigned char psk[32]; local
55 pbkdf2_sha1(passphrase, (u8 *) ssid, os_strlen(ssid), 4096, psk, 32); local
59 printf("\t#psk=\"%s\"\n", passphrase);
62 printf("%02x", psk[i]);
ibss_rsn.h 50 u8 psk[PMK_LEN]; member in struct:ibss_rsn
60 void ibss_rsn_set_psk(struct ibss_rsn *ibss_rsn, const u8 *psk);
config_file.c 129 wpa_printf(MSG_ERROR, "Line %d: both PSK and "
492 char *value = wpa_config_get(ssid, "psk");
635 struct psk_list_entry *psk; local
638 dl_list_for_each(psk, &ssid->psk_list, struct psk_list_entry, list) {
639 wpa_snprintf_hex(hex, sizeof(hex), psk->psk, sizeof(psk->psk));
641 psk->p2p ? "P2P-" : "", MAC2STR(psk->addr), hex)
    [all...]
  /external/chromium_org/chrome/browser/local_discovery/wifi/
wifi_manager.h 25 // Credentials for WiFi networks. Currently only supports PSK-based networks.
28 static WifiCredentials FromPSK(const std::string& psk);
30 std::string psk; member in struct:local_discovery::wifi::WifiCredentials
  /system/netd/server/
SoftapController.cpp 125 ALOGE("softap <wlan iface> <SSID> <hidden/broadcast> <channel> <wpa2?-psk|open> <passphrase>");
144 if (!strcmp(argv[6], "wpa-psk")) {
147 } else if (!strcmp(argv[6], "wpa2-psk")) {
230 unsigned char psk[SHA256_DIGEST_LENGTH]; local
235 4096, SHA256_DIGEST_LENGTH, psk);
237 sprintf(&psk_str[j*2], "%02x", psk[j]);
  /external/wpa_supplicant_8/wpa_supplicant/tests/
test_wpa.c 23 u8 psk[PMK_LEN]; member in struct:wpa
194 wpa_sm_set_pmk(wpa->supp, wpa->psk, PMK_LEN);
260 return wpa->psk;
339 os_memset(wpa.psk, 0x44, PMK_LEN);
  /frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
s10_8pf.cpp 192 Word16 psk, ps, ps0, ps1, ps2, sq, sq2;
217 psk = -1;
494 s = L_msu (L_mult (alpk, sq), psk, alp);
498 psk = sq;
571 Word16 psk; local
608 psk = -1;
963 if (((Word32) alpk * sq) > ((Word32) psk * alp))
965 psk = sq;
c2_11pf.cpp 418 Word16 psk; local
435 psk = -1;
521 /* s = L_msu(s, psk, alp, pOverflow); */
522 s -= (((Word32) psk * alp) << 1);
526 psk = sq;
c2_9pf.cpp 482 Word16 psk, ps0, ps1, sq, sq1;
487 psk = -1;
550 s = L_msu(L_mult(alpk, sq), psk, alp);
553 psk = sq;
600 Word16 psk; local
617 psk = -1;
711 /* s = L_msu(L_temp, psk, alp, pOverflow); */
712 s = L_temp - (((Word32) psk * alp) << 1);
716 psk = sq;
    [all...]
c3_14pf.cpp 394 Word16 psk; local
409 psk = -1;
567 s = L_msu(s, psk, alp, pOverflow);
568 //s -= (((Word32) psk * alp) << 1);
572 psk = sq;
c4_17pf.cpp 407 Word16 psk; local
425 psk = -1;
632 /* s = L_msu(s, psk, alp, pOverflow); */
633 s -= (((Word32) psk * alp) << 1);
637 psk = sq;
  /external/ipsec-tools/src/racoon/
privsep.c 468 vchar_t *psk; local
486 if ((psk = getpsk(bufs[0], keylen)) == NULL) {
491 reply->bufs.buflen[0] = psk->l;
492 reply->hdr.ac_len = sizeof(*reply) + psk->l;
501 memcpy(reply + 1, psk->v, psk->l);
502 vfree(psk);
894 vchar_t *psk; local
932 if ((psk = vmalloc(len - sizeof(*msg))) == NULL)
935 memcpy(psk->v, msg + 1, psk->l)
    [all...]
  /external/wpa_supplicant_8/src/ap/
ieee802_11_auth.c 39 struct hostapd_sta_wpa_psk_short *psk; member in struct:hostapd_cached_radius_acl
60 hostapd_free_psk_list(e->psk);
77 static void copy_psk_list(struct hostapd_sta_wpa_psk_short **psk,
83 /* Copy PSK linked list */
84 copy_to = psk;
103 struct hostapd_sta_wpa_psk_short **psk,
126 copy_psk_list(psk, entry->psk);
224 * @psk: Linked list buffer for returning WPA PSK
428 struct hostapd_sta_wpa_psk_short *psk; local
    [all...]
wpa_auth_glue.c 213 const u8 *psk; local
223 psk = hostapd_get_psk(hapd->conf, addr, p2p_dev_addr, prev_psk);
226 * returned psk which should not be returned again.
227 * logic list (all hostapd_get_psk; all sta->psk)
229 if (sta && sta->psk && !psk) {
231 psk = sta->psk->psk;
232 for (pos = sta->psk; pos; pos = pos->next)
    [all...]
ap_config.c 212 struct hostapd_wpa_psk *psk; local
219 wpa_printf(MSG_ERROR, "WPA PSK file '%s' not found.", fname);
246 psk = os_zalloc(sizeof(*psk));
247 if (psk == NULL) {
248 wpa_printf(MSG_ERROR, "WPA PSK allocation failed");
253 psk->group = 1;
255 os_memcpy(psk->addr, addr, ETH_ALEN);
259 wpa_printf(MSG_ERROR, "No PSK on line %d in '%s'",
261 os_free(psk);
399 struct hostapd_wpa_psk *psk, *prev; local
653 struct hostapd_wpa_psk *psk; local
    [all...]
ieee802_11.c 554 struct hostapd_sta_wpa_psk_short *psk = NULL; local
634 &psk, &identity, &radius_cui);
672 hostapd_free_psk_list(sta->psk);
674 sta->psk = psk;
675 psk = NULL;
677 sta->psk = NULL;
748 hostapd_free_psk_list(psk);
    [all...]
sta_info.h 99 struct hostapd_sta_wpa_psk_short *psk; member in struct:sta_info
  /external/wpa_supplicant_8/src/eap_server/
eap_server_psk.c 2 * hostapd / EAP-PSK (RFC 4764) server
8 * Note: EAP-PSK is an EAP authentication method and as such, completely
9 * different from WPA-PSK. This file is not needed for WPA-PSK functionality.
58 struct eap_psk_hdr_1 *psk; local
60 wpa_printf(MSG_DEBUG, "EAP-PSK: PSK-1 (sending)");
63 wpa_printf(MSG_ERROR, "EAP-PSK: Failed to get random data");
67 wpa_hexdump(MSG_MSGDUMP, "EAP-PSK: RAND_S (server rand)",
71 sizeof(*psk) + sm->server_id_len
93 struct eap_psk_hdr_3 *psk; local
    [all...]
  /external/wpa_supplicant_8/src/wps/
wps_enrollee.c 269 u8 psk[32]; local
270 /* Generate a random per-device PSK */
271 if (random_get_bytes(psk, sizeof(psk)) < 0)
273 wpa_hexdump_key(MSG_DEBUG, "WPS: Generated per-device PSK",
274 psk, sizeof(psk));
277 wpa_snprintf_hex(hex, sizeof(hex), psk, sizeof(psk));
279 wpabuf_put_be16(msg, sizeof(psk) * 2)
    [all...]
  /frameworks/av/media/libstagefright/codecs/amrwbenc/src/
c2t64fx.c 57 Word16 ps, psk, ps1, ps2, alpk, alp1, alp2, sq; local
227 psk = -1;
242 s = vo_L_mult(alpk, sq) - ((psk * alp2)<<1);
245 psk = sq;
c4t64fx.c 137 Word16 psk, ps, alpk, alp, val, k_cn, k_dn, exp; local
545 psk = -1;
693 s = vo_L_msu(vo_L_mult(alpk, ps), psk, alp);
696 psk = ps;
  /external/wpa_supplicant_8/src/eap_peer/
eap_gpsk.c 34 u8 *psk; member in struct:eap_gpsk_data
120 data->psk = os_malloc(password_len);
121 if (data->psk == NULL) {
125 os_memcpy(data->psk, password, password_len);
137 if (data->psk) {
138 os_memset(data->psk, 0, data->psk_len);
139 os_free(data->psk);
367 if (eap_gpsk_derive_keys(data->psk, data->psk_len,
381 if (eap_gpsk_derive_session_id(data->psk, data->psk_len,
  /external/openssl/ssl/
s3_clnt.c 132 * Nokia Corporation, consists of the "PSK" (Pre-Shared Key) ciphersuites
336 /* or non-RSA PSK */
2326 unsigned char psk[PSK_MAX_PSK_LEN]; local
    [all...]
s3_srvr.c 132 * Nokia Corporation, consists of the "PSK" (Pre-Shared Key) ciphersuites
416 /* non-RSA PSK or KRB5 or SRP */
418 /* Among PSK ciphersuites only RSA_PSK uses server certificate */
470 * PSK: may send PSK identity hints
479 /* PSK: send ServerKeyExchange if either:
480 * - PSK identity hint is provided, or
528 /* With normal PSK Certificates and
2221 unsigned char psk[PSK_MAX_PSK_LEN]; local
    [all...]
  /external/wpa_supplicant_8/src/p2p/
p2p.h 95 * psk - WPA pre-shared key (256 bits) (GO only)
97 u8 psk[32]; member in struct:p2p_go_neg_results
100 * psk_set - Whether PSK field is configured (GO only)
    [all...]

Completed in 647 milliseconds

1 2