/external/wpa_supplicant_8/wpa_supplicant/src/wps/ |
H A D | wps_registrar.c | 82 u8 *pin; member in struct:wps_uuid_pin 92 static void wps_free_pin(struct wps_uuid_pin *pin) argument 94 bin_clear_free(pin->pin, pin->pin_len); 95 os_free(pin); 99 static void wps_remove_pin(struct wps_uuid_pin *pin) argument 101 dl_list_del(&pin->list); 102 wps_free_pin(pin); 108 struct wps_uuid_pin *pin, *pre local 713 struct wps_uuid_pin *pin; local 736 wps_registrar_add_pin(struct wps_registrar *reg, const u8 *addr, const u8 *uuid, const u8 *pin, size_t pin_len, int timeout) argument 791 wps_registrar_remove_pin(struct wps_registrar *reg, struct wps_uuid_pin *pin) argument 809 struct wps_uuid_pin *pin, *prev; local 836 struct wps_uuid_pin *pin, *prev; local 864 struct wps_uuid_pin *pin, *prev; local 883 struct wps_uuid_pin *pin, *found = NULL; local 941 struct wps_uuid_pin *pin; local 1356 const u8 *pin; local [all...] |
H A D | wps_common.c | 206 * @pin: Seven digit PIN (i.e., eight digit PIN without the checksum digit) 209 unsigned int wps_pin_checksum(unsigned int pin) argument 212 while (pin) { 213 accum += 3 * (pin % 10); 214 pin /= 10; 215 accum += pin % 10; 216 pin /= 10; 225 * @pin: Eight digit PIN (i.e., including the checksum digit) 228 unsigned int wps_pin_valid(unsigned int pin) argument 230 return wps_pin_checksum(pin / 1 255 wps_pin_str_valid(const char *pin) argument [all...] |
H A D | wps.h | 120 * pin - Enrollee Device Password (%NULL for Registrar or PBC) 122 const u8 *pin; member in struct:wps_config 125 * pin_len - Length on pin in octets 799 const u8 *uuid, const u8 *pin, size_t pin_len, 828 unsigned int wps_pin_checksum(unsigned int pin); 829 unsigned int wps_pin_valid(unsigned int pin); 831 int wps_pin_str_valid(const char *pin); 849 const u8 *pin, size_t pin_len); 853 const u8 *pin, size_t pin_len,
|
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | ap.h | 21 const char *pin, char *buf, size_t buflen, 27 int wpas_wps_ap_pin_set(struct wpa_supplicant *wpa_s, const char *pin,
|
H A D | wpa_supplicant.conf | 955 # EAP-WSC (WPS) uses following options: pin=<Device Password> or 1279 pin="1234" 1474 pin="1234"
|
H A D | wps_supplicant.c | 1151 const char *pin, int p2p_group, u16 dev_pw_id, 1205 if (pin) 1206 os_snprintf(val, sizeof(val), "\"pin=%s dev_pw_id=%u%s\"", 1207 pin, dev_pw_id, hash); 1208 else if (pin == NULL && dev_pw_id == DEV_PW_NFC_CONNECTION_HANDOVER) { 1213 os_snprintf(val, sizeof(val), "\"pin=%08d dev_pw_id=%u%s\"", 1231 const char *pin, int p2p_group, u16 dev_pw_id) 1234 return wpas_wps_start_dev_pw(wpa_s, NULL, bssid, pin, p2p_group, 1239 /* Cancel the wps pbc/pin requests */ 1276 const char *pin, struc 1149 wpas_wps_start_dev_pw(struct wpa_supplicant *wpa_s, const u8 *dev_addr, const u8 *bssid, const char *pin, int p2p_group, u16 dev_pw_id, const u8 *peer_pubkey_hash, const u8 *ssid_val, size_t ssid_len, int freq) argument 1230 wpas_wps_start_pin(struct wpa_supplicant *wpa_s, const u8 *bssid, const char *pin, int p2p_group, u16 dev_pw_id) argument 1275 wpas_wps_start_reg(struct wpa_supplicant *wpa_s, const u8 *bssid, const char *pin, struct wps_new_ap_settings *settings) argument 1777 unsigned int pbc = 0, auth = 0, pin = 0, wps = 0; local 1865 wpas_wps_er_add_pin(struct wpa_supplicant *wpa_s, const u8 *addr, const char *uuid, const char *pin) argument 1902 wpas_wps_er_learn(struct wpa_supplicant *wpa_s, const char *uuid, const char *pin) argument 1981 wpas_wps_er_config(struct wpa_supplicant *wpa_s, const char *uuid, const char *pin, struct wps_new_ap_settings *settings) argument [all...] |
/external/openssh/ |
H A D | authfd.h | 37 const char *pin, u_int life, u_int confirm);
|
H A D | ssh-add.c | 340 char *pin = NULL; local 344 if ((pin = read_passphrase("Enter passphrase for PKCS#11: ", 349 if ((r = ssh_update_card(agent_fd, add, id, pin == NULL ? "" : pin, 359 free(pin);
|
/external/wpa_supplicant_8/hostapd/src/eap_peer/ |
H A D | eap_config.h | 419 * EAP-WSC (WPS) uses following options: pin=Device_Password and 456 * pin - PIN for USIM, GSM SIM, and smartcards 464 char *pin; member in struct:eap_peer_config
|
H A D | eap_wsc.c | 196 pos = os_strstr(phase1, "pin="); 199 cfg.pin = (const u8 *) pos; 202 cfg.pin_len = pos - (const char *) cfg.pin; 204 os_strncmp((const char *) cfg.pin, "nfc-pw", 6) == 0) { 205 cfg.pin = NULL; 220 if (cfg.pin || id == DEV_PW_NFC_CONNECTION_HANDOVER) 224 if (cfg.pin == NULL && !cfg.pbc && !nfc) { 276 if (registrar && cfg.pin) { 278 cfg.pin, cfg.pin_len, 0);
|
/external/wpa_supplicant_8/src/eap_peer/ |
H A D | eap_config.h | 419 * EAP-WSC (WPS) uses following options: pin=Device_Password and 456 * pin - PIN for USIM, GSM SIM, and smartcards 464 char *pin; member in struct:eap_peer_config
|
H A D | eap_wsc.c | 196 pos = os_strstr(phase1, "pin="); 199 cfg.pin = (const u8 *) pos; 202 cfg.pin_len = pos - (const char *) cfg.pin; 204 os_strncmp((const char *) cfg.pin, "nfc-pw", 6) == 0) { 205 cfg.pin = NULL; 220 if (cfg.pin || id == DEV_PW_NFC_CONNECTION_HANDOVER) 224 if (cfg.pin == NULL && !cfg.pbc && !nfc) { 276 if (registrar && cfg.pin) { 278 cfg.pin, cfg.pin_len, 0);
|
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/ |
H A D | eap_config.h | 419 * EAP-WSC (WPS) uses following options: pin=Device_Password and 456 * pin - PIN for USIM, GSM SIM, and smartcards 464 char *pin; member in struct:eap_peer_config
|
H A D | eap_wsc.c | 196 pos = os_strstr(phase1, "pin="); 199 cfg.pin = (const u8 *) pos; 202 cfg.pin_len = pos - (const char *) cfg.pin; 204 os_strncmp((const char *) cfg.pin, "nfc-pw", 6) == 0) { 205 cfg.pin = NULL; 220 if (cfg.pin || id == DEV_PW_NFC_CONNECTION_HANDOVER) 224 if (cfg.pin == NULL && !cfg.pbc && !nfc) { 276 if (registrar && cfg.pin) { 278 cfg.pin, cfg.pin_len, 0);
|
/external/conscrypt/src/test/java/org/conscrypt/ |
H A D | TrustManagerImplTest.java | 183 private TrustManagerImpl trustManager(X509Certificate ca, String hostname, X509Certificate pin) argument 185 // build the cert pin manager 186 CertPinManager cm = certManager(hostname, pin); 195 X509Certificate pin) throws Exception { 196 // build the cert pin manager 197 CertPinManager cm = certManager(hostname, pin); 216 private CertPinManager certManager(String hostname, X509Certificate pin) throws Exception { argument 218 if (pin != null) { 219 pinString = hostname + "=true|" + getFingerprint(pin); 193 trustManagerUserInstalled( X509Certificate caKeyStore, X509Certificate caUserStore, String hostname, X509Certificate pin) argument
|
/external/libxml2/ |
H A D | regressions.py | 153 pin, pout, perr = os.popen3(cmd) 156 pin.writelines(infile.readlines()) 158 pin.close() 197 pin.close()
|
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
H A D | filterbanks.c | 83 void WebRtcIsac_SplitAndFilterFloat(float *pin, float *LP, float *HP, argument 101 in[k] = pin[k] + kHpStCoefInFloat[2] * prefiltdata->HPstates_float[0] + 103 ftmp = pin[k] - kHpStCoefInFloat[0] * prefiltdata->HPstates_float[0] -
|
/external/wpa_supplicant_8/hostapd/src/wps/ |
H A D | wps_common.c | 206 * @pin: Seven digit PIN (i.e., eight digit PIN without the checksum digit) 209 unsigned int wps_pin_checksum(unsigned int pin) argument 212 while (pin) { 213 accum += 3 * (pin % 10); 214 pin /= 10; 215 accum += pin % 10; 216 pin /= 10; 225 * @pin: Eight digit PIN (i.e., including the checksum digit) 228 unsigned int wps_pin_valid(unsigned int pin) argument 230 return wps_pin_checksum(pin / 1 255 wps_pin_str_valid(const char *pin) argument [all...] |
H A D | wps.h | 120 * pin - Enrollee Device Password (%NULL for Registrar or PBC) 122 const u8 *pin; member in struct:wps_config 125 * pin_len - Length on pin in octets 799 const u8 *uuid, const u8 *pin, size_t pin_len, 828 unsigned int wps_pin_checksum(unsigned int pin); 829 unsigned int wps_pin_valid(unsigned int pin); 831 int wps_pin_str_valid(const char *pin); 849 const u8 *pin, size_t pin_len); 853 const u8 *pin, size_t pin_len,
|
/external/wpa_supplicant_8/src/wps/ |
H A D | wps_common.c | 206 * @pin: Seven digit PIN (i.e., eight digit PIN without the checksum digit) 209 unsigned int wps_pin_checksum(unsigned int pin) argument 212 while (pin) { 213 accum += 3 * (pin % 10); 214 pin /= 10; 215 accum += pin % 10; 216 pin /= 10; 225 * @pin: Eight digit PIN (i.e., including the checksum digit) 228 unsigned int wps_pin_valid(unsigned int pin) argument 230 return wps_pin_checksum(pin / 1 255 wps_pin_str_valid(const char *pin) argument [all...] |
H A D | wps.h | 120 * pin - Enrollee Device Password (%NULL for Registrar or PBC) 122 const u8 *pin; member in struct:wps_config 125 * pin_len - Length on pin in octets 799 const u8 *uuid, const u8 *pin, size_t pin_len, 828 unsigned int wps_pin_checksum(unsigned int pin); 829 unsigned int wps_pin_valid(unsigned int pin); 831 int wps_pin_str_valid(const char *pin); 849 const u8 *pin, size_t pin_len); 853 const u8 *pin, size_t pin_len,
|
/external/wpa_supplicant_8/hostapd/src/utils/ |
H A D | pcsc_funcs.c | 250 static int scard_verify_pin(struct scard_data *scard, const char *pin); 702 * @pin: PIN code as an ASCII string (e.g., "1234") 705 int scard_set_pin(struct scard_data *scard, const char *pin) argument 712 if (pin == NULL) { 717 if (scard_verify_pin(scard, pin)) { 1004 static int scard_verify_pin(struct scard_data *scard, const char *pin) argument 1013 if (pin == NULL || os_strlen(pin) > 8) 1018 os_memcpy(cmd + 5, pin, os_strlen(pin)); [all...] |
/external/wpa_supplicant_8/src/utils/ |
H A D | pcsc_funcs.c | 250 static int scard_verify_pin(struct scard_data *scard, const char *pin); 702 * @pin: PIN code as an ASCII string (e.g., "1234") 705 int scard_set_pin(struct scard_data *scard, const char *pin) argument 712 if (pin == NULL) { 717 if (scard_verify_pin(scard, pin)) { 1004 static int scard_verify_pin(struct scard_data *scard, const char *pin) argument 1013 if (pin == NULL || os_strlen(pin) > 8) 1018 os_memcpy(cmd + 5, pin, os_strlen(pin)); [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/utils/ |
H A D | pcsc_funcs.c | 250 static int scard_verify_pin(struct scard_data *scard, const char *pin); 702 * @pin: PIN code as an ASCII string (e.g., "1234") 705 int scard_set_pin(struct scard_data *scard, const char *pin) argument 712 if (pin == NULL) { 717 if (scard_verify_pin(scard, pin)) { 1004 static int scard_verify_pin(struct scard_data *scard, const char *pin) argument 1013 if (pin == NULL || os_strlen(pin) > 8) 1018 os_memcpy(cmd + 5, pin, os_strlen(pin)); [all...] |
/external/fio/os/ |
H A D | os-android.h | 76 struct ashmem_pin pin = {0 , length}; local 77 ret = ioctl(__shmid, ASHMEM_UNPIN, &pin);
|