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

1 2 3 4 5

  /src/external/bsd/wpa/dist/wpa_supplicant/examples/
wpa-psk-tkip.conf 1 # WPA-PSK/TKIP
6 ssid="example wpa-psk network"
7 key_mgmt=WPA-PSK
11 psk="secret passphrase"
  /src/share/examples/wpa_supplicant/
wpa_supplicant.conf 22 # simple WPA-PSK, a favourite with conferences and hotel networks
25 key_mgmt=WPA-PSK
26 psk="secretKey"
30 # a private WPA-PSK that doesn't broadcast its SSID
33 key_mgmt=WPA-PSK
34 psk="secretKey"
  /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...]
  /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/external/bsd/wpa/dist/src/eap_common/
eap_psk_common.c 2 * EAP server/peer: EAP-PSK shared routines
19 int eap_psk_key_setup(const u8 *psk, u8 *ak, u8 *kdk)
22 if (aes_128_encrypt_block(psk, ak, ak))
27 if (aes_128_encrypt_block(psk, ak, ak) ||
28 aes_128_encrypt_block(psk, kdk, kdk))
eap_gpsk_common.c 38 static int eap_gpsk_gkdf_cmac(const u8 *psk /* Y */,
60 if (omac1_aes_128_vector(psk, 2, addr, vlen, hash))
73 static int eap_gpsk_gkdf_sha256(const u8 *psk /* Y */,
95 if (hmac_sha256_vector(psk, 32, 2, addr, vlen, hash))
110 const u8 *psk, size_t psk_len,
147 os_memcpy(pos, psk, psk_len);
157 if (gkdf(psk, data, data_len, mk, mk_len) < 0) {
189 static int eap_gpsk_derive_keys_aes(const u8 *psk, size_t psk_len,
203 * MK = GKDF-16 (PSK[0..15], PL || PSK || CSuite_Sel || inputString
    [all...]
eap_gpsk_common.h 49 int eap_gpsk_derive_keys(const u8 *psk, size_t psk_len, int vendor,
56 int eap_gpsk_derive_session_id(const u8 *psk, size_t psk_len, int vendor,
eap_psk_common.h 2 * EAP server/peer: EAP-PSK shared routines
32 /* EAP-PSK First Message (AS -> Supplicant) */
39 /* EAP-PSK Second Message (Supplicant -> AS) */
48 /* EAP-PSK Third Message (AS -> Supplicant) */
56 /* EAP-PSK Fourth Message (Supplicant -> AS) */
68 int __must_check eap_psk_key_setup(const u8 *psk, u8 *ak, u8 *kdk);
  /src/external/bsd/wpa/dist/wpa_supplicant/
wpa_supplicant.conf 286 # WPA2-PSK credentials received using WPS.
287 # 0 = only add the explicitly listed WPA2-PSK configuration (default)
288 # 1 = add both the WPA2-PSK and SAE configuration and enable PMF so that the
290 # WPA2-Personal (PSK) and WPA3-Personal (SAE) APs).
434 # network configured with ieee80211w unset and key_mgmt=SAE WPA-PSK.
435 # In the example WPA-PSK will be used if the device does not support
447 # will not use SAE and instead fallback to PSK.
939 # WPA-PSK (with proto=RSN). In addition, key_mgmt=WPA-NONE (fixed group key
943 # both), and psk must also be set.
1009 # WPA-PSK = WPA pre-shared key (this requires 'psk' field
    [all...]
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_ssid.h 55 u8 psk[32]; member in struct:psk_list_entry
217 * psk - WPA pre-shared key (256 bits)
219 u8 psk[32]; member in struct:wpa_ssid
222 * psk_set - Whether PSK field is configured
229 * If this is set, psk will be generated using the SSID and passphrase
240 * passphrase follows the WPA-PSK constraints (8..63 characters) even
256 * ext_psk - PSK/passphrase name in external storage
258 * If this is set, PSK/passphrase will be fetched from external storage
264 * mem_only_psk - Whether to keep PSK/passphrase only in memory
266 * 0 = allow psk/passphrase to be stored to the configuration fil
    [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/share/examples/racoon/
Makefile 10 FILES= psk.txt.sample racoon.conf.sample \
  /src/crypto/external/bsd/openssl/dist/test/
dtls_mtu_test.c 27 unsigned char *psk,
30 BIO_snprintf(ident, max_ident_len, "psk");
34 memset(psk, 0x5a, max_psk_len);
40 unsigned char *psk,
45 memset(psk, 0x5a, max_psk_len);
160 * only do (non-DH) PSK.
162 if (!TEST_true(SSL_CTX_set_cipher_list(ctx, "PSK")))
171 if (strncmp(cipher_name, "PSK-", 4) != 0)
  /src/crypto/external/bsd/openssl.old/dist/test/
dtls_mtu_test.c 27 unsigned char *psk,
30 BIO_snprintf(ident, max_ident_len, "psk");
34 memset(psk, 0x5a, max_psk_len);
40 unsigned char *psk,
45 memset(psk, 0x5a, max_psk_len);
160 * only do (non-DH) PSK.
162 if (!TEST_true(SSL_CTX_set_cipher_list(ctx, "PSK")))
171 if (strncmp(cipher_name, "PSK-", 4) != 0)
  /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/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/apache2/openssl/dist/test/
dtls_mtu_test.c 28 unsigned char *psk,
31 BIO_snprintf(ident, max_ident_len, "psk");
35 memset(psk, 0x5a, max_psk_len);
41 unsigned char *psk,
46 memset(psk, 0x5a, max_psk_len);
164 * only do (non-DH) PSK.
166 if (!TEST_true(SSL_CTX_set_cipher_list(ctx, "PSK")))
175 if (!HAS_PREFIX(cipher_name, "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/crypto/external/bsd/openssl.old/dist/test/ossl_shim/
test_config.h 48 std::string psk; member in struct:TestConfig
  /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...]

Completed in 41 milliseconds

1 2 3 4 5