/external/wpa_supplicant_8/wpa_supplicant/examples/ |
H A D | wps-ap-cli | 18 read pin 19 cpin=`$CLI wps_check_pin "$pin" | tail -1` 26 cpin=`echo "$pin" | sed "s/[^1234567890]//g"` 34 echo "Invalid PIN: $pin"
|
H A D | openCryptoki.conf | 40 pin="123456"
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
H A D | dbus_old_handlers_wps.c | 72 char *pin = NULL; local 78 DBUS_TYPE_STRING, &pin, DBUS_TYPE_INVALID)) 90 if (os_strlen(pin) > 0) 91 ret = wpas_wps_start_pin(wpa_s, _bssid, pin, 0, 109 pin = npin; 111 dbus_message_append_args(reply, DBUS_TYPE_STRING, &pin, 130 char *pin = NULL; local 135 DBUS_TYPE_STRING, &pin, DBUS_TYPE_INVALID)) 139 ret = wpas_wps_start_reg(wpa_s, bssid, pin, NULL);
|
H A D | dbus_new_handlers_wps.c | 26 int type; /* 0 - not set, 1 - pin, 2 - pbc */ 28 char *pin; member in struct:wps_start_params 81 if (os_strcmp(val, "pin") == 0) 141 dbus_message_iter_get_basic(&variant_iter, ¶ms->pin); 218 * (pin or push button) and optionally pin and bssid. Returned message 219 * has a dictionary argument which may contain newly generated pin (optional). 252 if (params.pin == NULL) { 260 params.pin, 273 if (params.pin [all...] |
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
H A D | CheckHandshake.java | 35 String pin = CertificatePinner.pin(certificate); 36 if (blacklist.contains(pin)) { 37 throw new IOException("Blacklisted peer certificate: " + pin);
|
H A D | CertificatePinning.java | 48 System.out.println(CertificatePinner.pin(certificate));
|
/external/skia/platform_tools/android/third_party/ashmem/cutils/ |
H A D | ashmem-dev.c | 77 struct ashmem_pin pin = { offset, len }; local 78 return ioctl(fd, ASHMEM_PIN, &pin); 83 struct ashmem_pin pin = { offset, len }; local 84 return ioctl(fd, ASHMEM_UNPIN, &pin);
|
/external/wpa_supplicant_8/wpa_supplicant/examples/p2p/ |
H A D | p2p_connect.py | 19 print " -a <addr> [-p <pin>] [-g <go_intent>] \ " 25 print " -p = pin number (8 digits)" 66 global pin 79 pin,wps_method,go_intent): 86 self.pin = pin 155 # Display requires a pin, and a go intent of 15 157 if (self.pin != None): 158 self.p2p_connect_arguements.update({'pin':self.pin}) 228 pin = None variable in class:P2P_Connect [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
H A D | CertificatePinner.java | 45 * The easiest way to pin a host is turn on pinning with a broken configuration 51 * <p>For example, to pin {@code https://publicobject.com}, start with a broken 94 * Pinning is per-hostname. To pin both {@code publicobject.com} and {@code 105 * {@link CertificatePinner} can not be used to pin self-signed certificate 139 // If we couldn't find a matching pin, format a nice exception. 145 message.append("\n ").append(pin(x509Certificate)) 150 ByteString pin = pins.get(i); 151 message.append("\n sha1/").append(pin.base64()); 167 public static String pin(Certificate certificate) { method in class:CertificatePinner 183 * Pins certificates for {@code hostname}. Each pin i [all...] |
/external/skia/src/core/ |
H A D | SkDeviceProfile.cpp | 17 static float pin(float value, float min, float max) { function 28 fGammaExponent = pin(gammaExp, 0, 10); 29 fContrastScale = pin(contrast, 0, 1);
|
/external/conscrypt/src/platform/java/org/conscrypt/ |
H A D | PinListEntry.java | 30 * This class represents a single entry in the pin file. 66 // entry must have a CN, an enforcement value, and at least one pin 68 throw new PinEntryException("Received malformed pin entry"); 88 * Checks the given chain against the pin list corresponding to this entry. 122 for (String pin : pins) { 123 validatePin(pin); 128 private static void validatePin(String pin) { argument 130 if (pin.length() != 128) { 135 new BigInteger(pin, 16);
|
H A D | CertPinManager.java | 74 // There was no entry in the pin list for this hostname. 91 // reread the pin file 98 PinListEntry pin = new PinListEntry(entry, certStore); 99 entries.put(pin.getCommonName(), pin); 101 log("Pinlist contains a malformed pin: " + entry, e); 122 // there's no pin list, all certs are unpinned 126 throw new PinManagerException("Unexpected error reading pin list; failing.", e);
|
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | wps_supplicant.h | 35 const char *pin, int p2p_group, u16 dev_pw_id); 38 const char *pin, struct wps_new_ap_settings *settings); 52 const char *uuid, const char *pin); 55 const char *pin); 59 const char *pin, struct wps_new_ap_settings *settings);
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
H A D | filterbanks.c | 115 void WebRtcIsacfix_SplitAndFilter1(WebRtc_Word16 *pin, argument 132 WebRtcIsacfix_HighpassFilterFixDec32(pin, FRAMESAMPLES, WebRtcIsacfix_kHpStCoeffInQ30, prefiltdata->HPstates_fix); 137 tempin_ch1[QLOOKAHEAD + k] = pin[1+WEBRTC_SPL_MUL_16_16(2, k)]; 141 prefiltdata->INLABUF1_fix[k]=pin[FRAMESAMPLES+1-WEBRTC_SPL_MUL_16_16(2, QLOOKAHEAD)+WEBRTC_SPL_MUL_16_16(2, k)]; 147 tempin_ch2[QLOOKAHEAD+k] = pin[WEBRTC_SPL_MUL_16_16(2, k)]; 151 prefiltdata->INLABUF2_fix[k]=pin[FRAMESAMPLES-WEBRTC_SPL_MUL_16_16(2, QLOOKAHEAD)+WEBRTC_SPL_MUL_16_16(2, k)]; 186 void WebRtcIsacfix_SplitAndFilter2(WebRtc_Word16 *pin, argument 202 WebRtcIsacfix_HighpassFilterFixDec32(pin, FRAMESAMPLES, WebRtcIsacfix_kHpStCoeffInQ30, prefiltdata->HPstates_fix); 207 tempin_ch1[k] = pin[1+WEBRTC_SPL_MUL_16_16(2, k)]; 213 tempin_ch2[k] = pin[WEBRTC_SPL_MUL_16_1 [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
H A D | CertificatePinnerTest.java | 46 keypairACertificate1Pin = CertificatePinner.pin(keypairACertificate1); 50 keypairBCertificate1Pin = CertificatePinner.pin(keypairBCertificate1); 74 /** Multiple certificates generated from the same keypair have the same pin. */ 77 String keypairACertificate2Pin = CertificatePinner.pin(keypairACertificate2); 80 String keypairBCertificate2Pin = CertificatePinner.pin(keypairBCertificate2);
|
/external/wpa_supplicant_8/hostapd/src/utils/ |
H A D | pcsc_funcs.h | 16 int scard_set_pin(struct scard_data *scard, const char *pin);
|
/external/wpa_supplicant_8/src/utils/ |
H A D | pcsc_funcs.h | 16 int scard_set_pin(struct scard_data *scard, const char *pin);
|
/external/wpa_supplicant_8/wpa_supplicant/src/utils/ |
H A D | pcsc_funcs.h | 16 int scard_set_pin(struct scard_data *scard, const char *pin);
|
/external/wpa_supplicant_8/hostapd/src/ap/ |
H A D | wps_hostapd.h | 21 const char *uuid, const char *pin, int timeout); 30 int hostapd_wps_ap_pin_set(struct hostapd_data *hapd, const char *pin,
|
/external/wpa_supplicant_8/src/ap/ |
H A D | wps_hostapd.h | 21 const char *uuid, const char *pin, int timeout); 30 int hostapd_wps_ap_pin_set(struct hostapd_data *hapd, const char *pin,
|
/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | wps_hostapd.h | 21 const char *uuid, const char *pin, int timeout); 30 int hostapd_wps_ap_pin_set(struct hostapd_data *hapd, const char *pin,
|
/external/openssh/ |
H A D | ssh-pkcs11.c | 240 char *pin, prompt[1024]; local 258 error("need pin"); 263 pin = read_passphrase(prompt, RP_ALLOW_EOF); 264 if (pin == NULL) 267 (u_char *)pin, strlen(pin)); 269 free(pin); 273 free(pin); 347 * if pin == NULL we delay login until key use 350 pkcs11_open_session(struct pkcs11_provider *p, CK_ULONG slotidx, char *pin) argument 549 pkcs11_add_provider(char *provider_id, char *pin, struct sshkey ***keyp) argument [all...] |
H A D | ssh-pkcs11-helper.c | 116 char *name, *pin; local 125 pin = get_string(NULL); 126 if ((nkeys = pkcs11_add_provider(name, pin, &keys)) > 0) { 141 free(pin); 150 char *name, *pin; local 155 pin = get_string(NULL); 161 free(pin);
|
/external/wpa_supplicant_8/hostapd/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...] |
/external/wpa_supplicant_8/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...] |