/external/curl/tests/unit/ |
unit1394.c | 45 /* -E parameter */ /* exp. cert name */ /* exp. passphrase */ 77 char *certname, *passphrase; variable 79 parse_cert_parameter(p[0], &certname, &passphrase); 100 if(passphrase) { 101 if(strcmp(p[2], passphrase)) { 102 printf("expected passphrase '%s' but got '%s'" 103 "for -E param '%s'\n", p[2], passphrase, p[0]); 107 printf("expected passphrase '%s' but got NULL " 112 if(passphrase) { 113 printf("expected passphrase NULL but got '%s' 119 if(passphrase) free(passphrase); variable [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
wpa_passphrase.c | 2 * WPA Supplicant - ASCII passphrase to WPA PSK tool 19 char *ssid, *passphrase, buf[64], *pos; local 22 printf("usage: wpa_passphrase <ssid> [passphrase]\n" 23 "\nIf passphrase is left out, it will be read from " 31 passphrase = argv[2]; 33 printf("# reading passphrase from stdin\n"); 35 printf("Failed to read passphrase\n"); 47 passphrase = buf; 50 if (os_strlen(passphrase) < 8 || os_strlen(passphrase) > 63) [all...] |
/external/wpa_supplicant_8/src/crypto/ |
sha1-pbkdf2.c | 14 static int pbkdf2_sha1_f(const char *passphrase, const u8 *ssid, 23 size_t passphrase_len = os_strlen(passphrase); 40 if (hmac_sha1_vector((u8 *) passphrase, passphrase_len, 2, addr, len, 46 if (hmac_sha1((u8 *) passphrase, passphrase_len, tmp, 60 * @passphrase: ASCII passphrase 72 int pbkdf2_sha1(const char *passphrase, const u8 *ssid, size_t ssid_len, 82 if (pbkdf2_sha1_f(passphrase, ssid, ssid_len, iterations,
|
sha1.h | 25 int pbkdf2_sha1(const char *passphrase, const u8 *ssid, size_t ssid_len,
|
/system/connectivity/shill/test-scripts/ |
configure-hidden-wifi | 7 print "Usage: %s <ssid> [passphrase] [security]" % (sys.argv[0]) 20 passphrase = sys.argv[2] 23 passphrase = "" 31 "Passphrase" : passphrase }))
|
test-flimflam | 18 print " passphrase <service> [passphrase]" 85 if "WiFi.Passphrase" in properties.keys(): 86 if properties["WiFi.Passphrase"] != "": 87 details += "{passphrase present}" 163 elif sys.argv[1] in ["passphrase", "pass"]: 174 passphrase = sys.argv[3] 176 service.SetProperty("Passphrase", passphrase) 178 print "Passphrase %s set for %s" % (passphrase, sys.argv[2] [all...] |
/external/google-tv-pairing-protocol/cpp/src/polo/util/ |
certificateutil.h | 43 // @param passphrase the private key passphrase 47 std::string passphrase); 51 // @param passphrase the private key passphrase to use 54 std::string passphrase);
|
certificateutil.cc | 55 std::string passphrase) { 57 EVP_PKEY* pkey = PEM_read_bio_PrivateKey(bio, NULL, 0, &passphrase[0]); 64 std::string passphrase) { 67 &passphrase[0]);
|
/external/libweave/include/weave/provider/ |
wifi.h | 22 const std::string& passphrase,
|
/system/netd/server/ |
SoftapController.h | 42 bool generatePsk(char *ssid, char *passphrase, char *psk);
|
SoftapController.cpp | 129 ALOGE("softap <wlan iface> <SSID> <hidden/broadcast> <channel> <wpa2?-psk|open> <passphrase>"); 221 bool SoftapController::generatePsk(char *ssid, char *passphrase, char *psk_str) { 225 if (PKCS5_PBKDF2_HMAC_SHA1(passphrase, strlen(passphrase),
|
/external/libweave/examples/provider/ |
wifi_manager.h | 34 const std::string& passphrase, 45 const std::string& passphrase,
|
wifi_manager.cc | 80 const std::string& passphrase, 108 {"dev", "wifi", "connect", ssid, "password", passphrase}); 123 passphrase, pid, until, callback), 128 const std::string& passphrase, 140 TryToConnect(ssid, passphrase, 0,
|
/system/connectivity/shill/wifi/ |
wifi_service.cc | 70 const char WiFiService::kStoragePassphrase[] = "Passphrase"; 262 bool WiFiService::SetPassphrase(const string& passphrase, Error* error) { 264 ValidateWEPPassphrase(passphrase, error); 268 ValidateWPAPassphrase(passphrase, error); 274 LOG(ERROR) << "Passphrase could not be set: " << error->message(); 278 return SetPassphraseInternal(passphrase, Service::kReasonPropertyUpdate); 282 const string& passphrase, 284 if (passphrase_ == passphrase) { 291 passphrase_ = passphrase; 381 string passphrase; local [all...] |
wifi_service.h | 162 // of a connection with particular EAP credentials or a passphrase. 268 static void ValidateWEPPassphrase(const std::string& passphrase, 270 static void ValidateWPAPassphrase(const std::string& passphrase, 272 static void ParseWEPPassphrase(const std::string& passphrase, 276 static bool CheckWEPIsHex(const std::string& passphrase, Error* error); 277 static bool CheckWEPKeyIndex(const std::string& passphrase, Error* error); 278 static bool CheckWEPPrefix(const std::string& passphrase, Error* error); 306 // Called from DBus and during Load to validate and apply a passphrase for 307 // this service. If the passphrase is successfully changed, UpdateConnectable 309 // method will return false if the passphrase cannot be set. If th [all...] |
/external/autotest/client/cros/scripts/ |
wifi | 38 print cmd, 'connect <ssid> [passphrase] [security]' 39 print ' |security| defaults to "psk" when |passphrase|', 49 print cmd, 'configure <ssid> [passphrase] [security]' 50 print ' |security| defaults to "psk" when |passphrase|', 55 def configure(ssid, security, passphrase): 58 if passphrase is not None: 59 security_parameters[wifi.SERVICE_PROPERTY_PASSPHRASE] = passphrase 78 like the passphrase for psk security. 129 like the passphrase for psk security. 186 passphrase = Non [all...] |
/external/curl/src/ |
tool_getparam.h | 55 char **passphrase);
|
/system/connectivity/apmanager/ |
fake_config_adaptor.cc | 55 void FakeConfigAdaptor::SetPassphrase(const std::string& passphrase) { 56 passphrase_ = passphrase;
|
config_adaptor_interface.h | 42 virtual void SetPassphrase(const std::string& passphrase) = 0;
|
/external/bison/build-aux/ |
gnupload | 224 # for the passphrase if the script will fail. 243 # Make sure passphrase is not exported in the environment. 244 unset passphrase 249 # 'echo $passphrase' to output the passphrase, so it is important that 255 PATH=/empty echo -n "Enter GPG passphrase: " 257 read -r passphrase 260 passphrase_fd_0="--passphrase-fd 0" 268 echo "$passphrase" | $dbg $GPG $passphrase_fd_0 -ba -o $file.sig $file 326 echo "$passphrase" | $dbg $GPG $passphrase_fd_0 --clearsign $base.directiv [all...] |
/external/libweave/src/privet/ |
wifi_bootstrap_manager.h | 58 const std::string& passphrase, 73 void StartConnecting(const std::string& ssid, const std::string& passphrase);
|
/external/autotest/client/common_lib/cros/network/ |
xmlrpc_datatypes.py | 234 def __init__(self, guid, passphrase=None, autoconnect=None): 238 @param passphrase string optional psk passphrase. 246 self.passphrase = passphrase
|
/system/connectivity/shill/test-rpc-proxy/ |
proxy_rpc_security_types.cc | 85 std::string passphrase = base::StringPrintf( local 88 (*properties)[shill::kPassphraseProperty] = passphrase;
|
/external/owasp/sanitizer/tools/ |
stage_to_maven_central.sh | 24 PASSPHRASE="$2" 29 echo "Usage: $0 <version> <passphrase>" 36 echo "<passphrase> is the passphrase for the GPG key $KEYNAME." 54 if [ -z "$PASSPHRASE" ]; then 55 echo "Missing passphrase" 81 -Dgpg.passphrase="$PASSPHRASE" \
|
/external/netperf/src/ |
netperf.c | 143 if (passphrase != NULL) { 144 netperf_request.content.request_type = PASSPHRASE; 146 passphrase,
|