HomeSort by relevance Sort by last modified time
    Searched refs:passphrase (Results 26 - 50 of 70) sorted by null

12 3

  /external/chromium_org/chrome/browser/sync/glue/
sync_backend_host_impl.h 99 const std::string& passphrase,
101 virtual bool SetDecryptionPassphrase(const std::string& passphrase)
237 // passphrase. |token| must be valid UTF-8 as we use the PrefService for
253 // Checks if |passphrase| can be used to decrypt the cryptographer's pending
258 const std::string& passphrase) const;
260 // Invoked when a passphrase is required to decrypt a set of Nigori keys,
261 // or for encrypting. |reason| denotes why the passphrase was required.
263 // cached by the frontend. If there are no pending keys, or if the passphrase
269 // Invoked when the passphrase provided by the user has been accepted.
281 // Invoked when the passphrase state has changed. Caches the passphrase stat
    [all...]
sync_backend_host_impl.cc 180 void SyncBackendHostImpl::SetEncryptionPassphrase(const std::string& passphrase,
189 // We should never be called with an empty passphrase.
190 DCHECK(!passphrase.empty());
196 // encrypted with an explicit passphrase.
204 passphrase, is_explicit));
208 const std::string& passphrase) {
215 // We should never be called with an empty passphrase.
216 DCHECK(!passphrase.empty());
224 // Check the passphrase that was provided against our local cache of the
227 if (!CheckPassphraseAgainstCachedPendingKeys(passphrase))
    [all...]
sync_backend_host_core.h 163 // Called to set the passphrase for encryption.
164 void DoSetEncryptionPassphrase(const std::string& passphrase,
168 void DoSetDecryptionPassphrase(const std::string& passphrase);
sync_backend_host_core.cc 444 const std::string& passphrase,
448 passphrase, is_explicit);
509 const std::string& passphrase) {
512 passphrase);
  /external/chromium_org/chrome/browser/ui/webui/
sync_setup_handler.cc 80 std::string passphrase; member in struct:__anon10119::SyncConfigInfo
165 // Passphrase settings.
178 if (!result->GetString("passphrase", &config->passphrase)) {
179 DLOG(ERROR) << "GetConfiguration() not passed a passphrase value";
350 // usePassphrase: true if the data is encrypted with a secondary passphrase
351 // show_passphrase: true if a passphrase is needed to decrypt the sync data
376 // IsPassphraseRequiredForDecryption(), because we want to show the passphrase
683 // if (for example) some kind of passphrase error is encountered.
688 if (!configuration.passphrase.empty())
    [all...]
sync_setup_handler_unittest.cc 75 const std::string& passphrase,
83 result.SetBoolean("usePassphrase", !passphrase.empty());
84 if (!passphrase.empty())
85 result.SetString("passphrase", passphrase);
661 // passphrase.
695 // passphrase.
714 // We should navigate back to the configure page since we need a passphrase.
730 // Act as if an encryption passphrase is required the first time, then never
796 // We should navigate back to the configure page since we need a passphrase
    [all...]
  /external/chromium_org/sync/internal_api/
sync_encryption_handler_impl.cc 67 // The new passphrase state is sufficient to determine whether a nigori node
70 // 1. Passphrase state is set.
73 // 4. If passphrase state is keystore, keystore_decryptor_token is set.
316 // sync from happening until the the passphrase is provided.
322 const std::string& passphrase,
326 if (passphrase.empty()) {
327 NOTREACHED() << "Cannot encrypt with an empty passphrase.";
333 KeyParams key_params = {"localhost", "dummy", passphrase};
343 // Once we've migrated to keystore, the only way to set a passphrase for
344 // encryption is to set a custom passphrase
    [all...]
sync_rollback_manager_base.cc 26 virtual void SetEncryptionPassphrase(const std::string& passphrase,
28 virtual void SetDecryptionPassphrase(const std::string& passphrase)
  /external/wpa_supplicant_8/wpa_supplicant/
config_ssid.h 151 * passphrase - WPA ASCII passphrase
153 * If this is set, psk will be generated using the SSID and passphrase
154 * configured for the network. ASCII passphrase must be between 8 and
157 char *passphrase; member in struct:wpa_ssid
160 * ext_psk - PSK/passphrase name in external storage
162 * If this is set, PSK/passphrase will be fetched from external storage
326 * using ASCII passphrase).
p2p_supplicant.c 669 if (ssid->passphrase && !s->passphrase)
671 else if (ssid->passphrase && s->passphrase &&
672 os_strcmp(ssid->passphrase, s->passphrase) != 0)
705 if (ssid->passphrase) {
706 os_free(s->passphrase);
707 s->passphrase = os_strdup(ssid->passphrase);
    [all...]
config.c 289 str_clear_free(ssid->passphrase);
290 ssid->passphrase = NULL;
314 wpa_printf(MSG_ERROR, "Line %d: Invalid passphrase "
319 wpa_hexdump_ascii_key(MSG_MSGDUMP, "PSK (ASCII passphrase)",
321 if (ssid->passphrase && os_strlen(ssid->passphrase) == len &&
322 os_memcmp(ssid->passphrase, value, len) == 0)
325 str_clear_free(ssid->passphrase);
326 ssid->passphrase = dup_binstr(value, len);
327 if (ssid->passphrase == NULL
    [all...]
wps_supplicant.c 472 os_free(ssid->passphrase);
473 ssid->passphrase = os_malloc(cred->key_len + 1);
474 if (ssid->passphrase == NULL)
476 os_memcpy(ssid->passphrase, cred->key, cred->key_len);
477 ssid->passphrase[cred->key_len] = '\0';
    [all...]
sme.c 91 if (ssid->passphrase == NULL) {
102 (u8 *) ssid->passphrase,
103 os_strlen(ssid->passphrase),
    [all...]
  /frameworks/base/wifi/java/android/net/wifi/p2p/
WifiP2pGroup.java 60 /** The passphrase used for WPA2-PSK */
73 "(?:passphrase=)?(?:\"(.{0,63})\")? " +
86 * passphrase="fKG4jMe3"] go_dev_addr=fa:7b:7a:42:02:13 [PERSISTENT]
232 public void setPassphrase(String passphrase) {
233 mPassphrase = passphrase;
237 * Get the passphrase of the group. This function will return a valid passphrase only
238 * at the group owner. Legacy Wi-Fi clients will need this passphrase alongside
  /external/wpa_supplicant_8/src/ap/
ieee802_11_auth.c 426 char *passphrase, *strpassphrase; local
434 passphrase = radius_msg_get_tunnel_password(
438 * Passphrase is NULL iff there is no i-th Tunnel-Password
441 if (passphrase == NULL)
444 * passphrase does not contain the NULL termination.
450 os_memcpy(strpassphrase, passphrase, passphraselen);
461 os_free(passphrase);
  /external/chromium_org/chrome/browser/sync/
profile_sync_service.h 140 // using the passed passphrase.
142 // passphrase.
235 // Used to specify the kind of passphrase with which sync data is encrypted.
237 IMPLICIT, // The user did not provide a custom passphrase for encryption.
239 EXPLICIT, // The user selected the "use custom passphrase" radio button
240 // during sync setup and provided a passphrase.
651 // Returns true if a secondary (explicit) passphrase is being used. It is not
655 // Returns the actual passphrase type being used for encryption.
658 // Returns the time the current explicit passphrase (if any), was set.
659 // If no secondary passphrase is in use, or no time is available, returns a
    [all...]
profile_sync_service_android.cc 231 // a passphrase if cryptographer has any pending keys.
236 // Passwords datatype should never prompt for a passphrase, except when
237 // user is using a custom passphrase. Do not prompt for a passphrase if
239 // notification for passphrase when PSS has not completed configuring
262 JNIEnv* env, jobject obj, jstring passphrase) {
264 std::string key = ConvertJavaStringToUTF8(env, passphrase);
269 JNIEnv* env, jobject obj, jstring passphrase, jboolean is_gaia) {
271 std::string key = ConvertJavaStringToUTF8(env, passphrase);
profile_sync_service.cc     [all...]
  /external/chromium_org/chromeos/network/
network_configuration_handler_unittest.cc 529 std::string identity, passphrase; local
533 service_path, shill::kPassphraseProperty, &passphrase));
535 EXPECT_EQ(test_passphrase, passphrase);
555 service_path, shill::kIdentityProperty, &passphrase));
  /external/chromium_org/chromeos/network/onc/
onc_utils.cc 58 scoped_ptr<base::DictionaryValue> Decrypt(const std::string& passphrase,
114 passphrase,
351 const std::string& passphrase,
374 toplevel_onc = Decrypt(passphrase, *toplevel_onc);
  /external/chromium_org/chrome/browser/chromeos/options/
wifi_config_view.cc 412 // If the network requires a passphrase, make sure it is the right length.
500 // Passphrase.
697 std::string passphrase = GetPassphrase(); local
698 if (!passphrase.empty()) {
724 const std::string passphrase = GetPassphrase(); local
725 if (!passphrase.empty()) {
727 shill::kPassphraseProperty, passphrase);
1209 std::string passphrase; local
    [all...]
  /external/chromium_org/chrome/browser/resources/chromeos/
network_menu.js 34 function sendConnect(index, passphrase, identity, auto_connect) {
38 passphrase,
147 sendConnect(index, this.attrs.passphrase, '', this.attrs.auto_connect);
  /external/chromium_org/chromeos/dbus/
fake_shill_service_client.cc 610 std::string passphrase; local
612 shill::kPassphraseProperty, &passphrase);
613 if (passphrase == "failure") {
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
ant-jsch.jar 
  /external/wpa_supplicant_8/src/crypto/
crypto_openssl.c 686 int pbkdf2_sha1(const char *passphrase, const u8 *ssid, size_t ssid_len,
690 if (PKCS5_PBKDF2_HMAC_SHA1(passphrase, os_strlen(passphrase),
695 if (PKCS5_PBKDF2_HMAC_SHA1(passphrase, os_strlen(passphrase), ssid,

Completed in 4203 milliseconds

12 3