Searched refs:pin (Results 1 - 25 of 108) sorted by relevance

12345

/external/wpa_supplicant_8/wpa_supplicant/examples/
H A Dwps-ap-cli18 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 DopenCryptoki.conf40 pin="123456"
/external/wpa_supplicant_8/wpa_supplicant/dbus/
H A Ddbus_old_handlers_wps.c72 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 Ddbus_new_handlers_wps.c26 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, &params->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 DCheckHandshake.java35 String pin = CertificatePinner.pin(certificate);
36 if (blacklist.contains(pin)) {
37 throw new IOException("Blacklisted peer certificate: " + pin);
H A DCertificatePinning.java48 System.out.println(CertificatePinner.pin(certificate));
/external/skia/platform_tools/android/third_party/ashmem/cutils/
H A Dashmem-dev.c77 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 Dp2p_connect.py19 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 DCertificatePinner.java45 * 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 DSkDeviceProfile.cpp17 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 DPinListEntry.java30 * 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 DCertPinManager.java74 // 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 Dwps_supplicant.h35 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 Dfilterbanks.c115 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 DCertificatePinnerTest.java46 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 Dpcsc_funcs.h16 int scard_set_pin(struct scard_data *scard, const char *pin);
/external/wpa_supplicant_8/src/utils/
H A Dpcsc_funcs.h16 int scard_set_pin(struct scard_data *scard, const char *pin);
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dpcsc_funcs.h16 int scard_set_pin(struct scard_data *scard, const char *pin);
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dwps_hostapd.h21 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 Dwps_hostapd.h21 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 Dwps_hostapd.h21 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 Dssh-pkcs11.c240 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 Dssh-pkcs11-helper.c116 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 Dwps_registrar.c82 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 Dwps_registrar.c82 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...]

Completed in 470 milliseconds

12345