HomeSort by: relevance | last modified time | path
    Searched defs:psk (Results 1 - 25 of 51) sorted by relevancy

1 2 3

  /src/external/bsd/wpa/dist/wpa_supplicant/
wpa_passphrase.c 2 * WPA Supplicant - ASCII passphrase to WPA PSK tool
19 unsigned char psk[32]; local
80 if (pbkdf2_sha1(passphrase, (u8 *) ssid, os_strlen(ssid), 4096, psk, 32)
88 printf("\t#psk=\"%s\"\n", passphrase);
91 printf("%02x", psk[i]);
ibss_rsn.h 50 u8 psk[PMK_LEN]; member in struct:ibss_rsn
62 void ibss_rsn_set_psk(struct ibss_rsn *ibss_rsn, const u8 *psk);
config_file.c 35 wpa_printf(MSG_ERROR, "Line %d: both PSK and "
461 value = wpa_config_get(ssid, "psk");
622 struct psk_list_entry *psk; local
625 dl_list_for_each(psk, &ssid->psk_list, struct psk_list_entry, list) {
626 wpa_snprintf_hex(hex, sizeof(hex), psk->psk, sizeof(psk->psk));
628 psk->p2p ? "P2P-" : "", MAC2STR(psk->addr), hex)
    [all...]
  /src/external/bsd/wpa/dist/src/ap/
ieee802_11_auth.h 23 struct hostapd_sta_wpa_psk_short *psk; member in struct:radius_sta
35 void hostapd_free_psk_list(struct hostapd_sta_wpa_psk_short *psk);
37 void hostapd_copy_psk_list(struct hostapd_sta_wpa_psk_short **psk,
ieee802_11_auth.c 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; local
422 * Decode all tunnel passwords as PSK and save them into a linked list.
448 psk = os_zalloc(sizeof(struct hostapd_sta_wpa_psk_short));
449 if (psk) {
451 (hexstr2bin(passphrase, psk->psk, PMK_LEN) < 0))
    [all...]
ap_config.c 332 struct hostapd_wpa_psk *psk; local
339 wpa_printf(MSG_ERROR, "WPA PSK file '%s' not found.", fname);
402 psk = os_zalloc(sizeof(*psk));
403 if (psk == NULL) {
404 wpa_printf(MSG_ERROR, "WPA PSK allocation failed");
408 psk->vlan_id = vlan_id;
410 psk->group = 1;
412 os_memcpy(psk->addr, addr, ETH_ALEN);
416 wpa_printf(MSG_ERROR, "No PSK on line %d in '%s'"
700 struct hostapd_wpa_psk *psk, *tmp; local
1140 struct hostapd_wpa_psk *psk; local
    [all...]
wpa_auth_glue.c 351 const u8 *psk; local
368 "No PSK for STA trying to use SAE with PMKSA caching");
392 psk = hostapd_get_psk(hapd->conf, addr, p2p_dev_addr, prev_psk,
396 * returned psk which should not be returned again.
397 * logic list (all hostapd_get_psk; all sta->psk)
399 if (sta && sta->psk && !psk) {
404 psk = sta->psk->psk;
    [all...]
sta_info.c 418 hostapd_free_psk_list(sta->psk);
1443 struct hostapd_wpa_psk *psk; local
1454 for (psk = ssid->wpa_psk; psk; psk = psk->next)
1455 if (os_memcmp(pmk, psk->psk, PMK_LEN) == 0)
1457 if (!psk || !psk->keyid[0]
    [all...]
  /src/lib/libpam/modules/pam_ssh/
pam_ssh.c 104 struct pam_ssh_key *psk; local
138 if ((psk = malloc(sizeof(*psk))) == NULL) {
143 psk->key = key;
144 psk->comment = comment;
145 return (psk);
155 struct pam_ssh_key *psk; local
157 psk = data;
158 sshkey_free(psk->key);
159 free(psk->comment)
170 struct pam_ssh_key *psk; local
357 const struct pam_ssh_key *psk; local
    [all...]
  /src/crypto/external/apache2/openssl/dist/apps/
ciphers.c 67 { "psk", OPT_PSK, '-', "Include ciphersuites requiring PSK" },
84 unsigned char *psk,
100 int psk = 0; local
160 psk = 1;
201 if (psk)
  /src/crypto/external/bsd/openssl/dist/apps/
ciphers.c 64 {"psk", OPT_PSK, '-', "Include ciphersuites requiring PSK"},
81 unsigned char *psk,
97 int psk = 0; local
157 psk = 1;
199 if (psk)
  /src/crypto/external/bsd/openssl.old/dist/apps/
ciphers.c 55 {"psk", OPT_PSK, '-', "include ciphersuites requiring PSK"},
69 unsigned char *psk,
91 int psk = 0; local
151 psk = 1;
188 if (psk)
  /src/external/bsd/wpa/dist/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->cfg->server_id_len
93 struct eap_psk_hdr_3 *psk; local
    [all...]
  /src/external/bsd/wpa/dist/src/wps/
wps_enrollee.c 306 u8 psk[32]; local
307 /* Generate a random per-device PSK */
309 random_get_bytes(psk, sizeof(psk)) < 0) {
311 "WPS: Could not generate random PSK");
314 wpa_hexdump_key(MSG_DEBUG, "WPS: Generated per-device PSK",
315 psk, sizeof(psk));
318 wpa_snprintf_hex(hex, sizeof(hex), psk, sizeof(psk));
    [all...]
  /src/dist/pf/usr.sbin/authpf/
authpf.c 782 struct pfioc_state_kill psk; local
785 memset(&psk, 0, sizeof(psk));
789 psk.psk_af = AF_INET;
791 psk.psk_af = AF_INET6;
798 memcpy(&psk.psk_src.addr.v.a.addr, &target,
799 sizeof(psk.psk_src.addr.v.a.addr));
800 memset(&psk.psk_src.addr.v.a.mask, 0xff,
801 sizeof(psk.psk_src.addr.v.a.mask));
802 if (ioctl(dev, DIOCKILLSTATES, &psk))
    [all...]
  /src/crypto/dist/ipsec-tools/src/racoon/
privsep.c 505 vchar_t *psk; local
523 if ((psk = getpsk(bufs[0], keylen)) == NULL) {
528 reply->bufs.buflen[0] = psk->l;
529 reply->hdr.ac_len = sizeof(*reply) + psk->l;
538 memcpy(reply + 1, psk->v, psk->l);
539 vfree(psk);
1044 vchar_t *psk; local
1081 if ((psk = vmalloc(len - sizeof(*msg))) == NULL)
1084 memcpy(psk->v, msg + 1, psk->l)
    [all...]
  /src/crypto/external/bsd/openssl.old/dist/test/ossl_shim/
test_config.h 48 std::string psk; member in struct:TestConfig
  /src/external/bsd/wpa/dist/src/eap_peer/
eap_gpsk.c 34 u8 *psk; member in struct:eap_gpsk_data
119 data->psk = os_memdup(password, password_len);
120 if (data->psk == NULL) {
135 if (data->psk) {
136 os_memset(data->psk, 0, data->psk_len);
137 os_free(data->psk);
364 if (eap_gpsk_derive_keys(data->psk, data->psk_len,
378 if (eap_gpsk_derive_session_id(data->psk, data->psk_len,
  /src/crypto/external/apache2/openssl/dist/crypto/hpke/
hpke.c 67 char *pskid; /* PSK stuff */
68 unsigned char *psk; member in struct:ossl_hpke_ctx_st
697 /* check a psk was set if in that mode */
700 if (ctx->psk == NULL || ctx->psklen == 0 || ctx->pskid == NULL) {
710 pskidlen = (ctx->psk == NULL ? 0 : strlen(ctx->pskid));
748 ctx->psk, ctx->psklen)
868 OPENSSL_clear_free(ctx->psk, ctx->psklen);
882 const unsigned char *psk, size_t psklen)
884 if (ctx == NULL || pskid == NULL || psk == NULL || psklen == 0) {
910 OPENSSL_clear_free(ctx->psk, ctx->psklen)
    [all...]
  /src/dist/pf/sbin/pfctl/
pfctl.c 372 struct pfioc_state_kill psk; local
374 memset(&psk, 0, sizeof(psk));
375 if (iface != NULL && strlcpy(psk.psk_ifname, iface,
376 sizeof(psk.psk_ifname)) >= sizeof(psk.psk_ifname))
379 if (ioctl(dev, DIOCCLRSTATES, &psk))
382 fprintf(stderr, "%d states cleared\n", psk.psk_af);
546 struct pfioc_state_kill psk; local
554 memset(&psk, 0, sizeof(psk))
    [all...]
  /src/sys/dist/pf/net/
pf_ioctl.c 1871 struct pfioc_state_kill *psk = (struct pfioc_state_kill *)addr; local
1877 if (!psk->psk_ifname[0] || !strcmp(psk->psk_ifname,
1887 psk->psk_af = killed;
1889 pfsync_clear_states(pf_status.hostid, psk->psk_ifname);
1898 struct pfioc_state_kill *psk = (struct pfioc_state_kill *)addr; local
1913 if ((!psk->psk_af || sk->af == psk->psk_af)
1914 && (!psk->psk_proto || psk->psk_proto =
    [all...]
  /src/crypto/external/apache2/openssl/dist/ssl/statem/
extensions_clnt.c 845 unsigned char psk[PSK_MAX_PSK_LEN]; local
851 psk, sizeof(psk));
868 * We found a PSK using an old style callback. We don't know
880 || !SSL_SESSION_set1_master_key(psksess, psk, psklen)
884 OPENSSL_cleanse(psk, psklen);
887 OPENSSL_cleanse(psk, psklen);
976 * PSK pre binder overhead =
1002 * excludes the PSK extension (because that MUST be written last). Therefore
1011 * If we're going to send a PSK then that will be written out after thi
    [all...]
  /src/crypto/external/bsd/openssl/dist/ssl/statem/
extensions_clnt.c 766 unsigned char psk[PSK_MAX_PSK_LEN]; local
771 psk, sizeof(psk));
788 * We found a PSK using an old style callback. We don't know
799 || !SSL_SESSION_set1_master_key(psksess, psk, psklen)
803 OPENSSL_cleanse(psk, psklen);
806 OPENSSL_cleanse(psk, psklen);
895 * PSK pre binder overhead =
921 * excludes the PSK extension (because that MUST be written last). Therefore
930 * If we're going to send a PSK then that will be written out after thi
    [all...]
statem_clnt.c 287 /* SKE is optional for some PSK ciphersuites */
320 /* SKE is optional for some PSK ciphersuites */
1946 /* PSK ciphersuites are preceded by an identity hint */
1954 * Store PSK identity hint for later use, hint is used in
1956 * a PSK identity hint can be as long as the maximum length of a PSK
2201 /* Nothing else to do for plain PSK or RSAPSK */
2312 /* aNULL, aSRP or PSK do not need public keys */
2759 unsigned char psk[PSK_MAX_PSK_LEN]; local
2773 psk, sizeof(psk))
    [all...]
  /src/crypto/external/bsd/openssl.old/dist/ssl/statem/
extensions_clnt.c 775 unsigned char psk[PSK_MAX_PSK_LEN]; local
780 psk, sizeof(psk));
800 * We found a PSK using an old style callback. We don't know
813 || !SSL_SESSION_set1_master_key(psksess, psk, psklen)
819 OPENSSL_cleanse(psk, psklen);
822 OPENSSL_cleanse(psk, psklen);
917 * PSK pre binder overhead =
943 * excludes the PSK extension (because that MUST be written last). Therefore
953 * If we're going to send a PSK then that will be written out after thi
    [all...]

Completed in 46 milliseconds

1 2 3