/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,
|
/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]);
|
/system/netd/server/ |
SoftapController.h | 42 void generatePsk(char *ssid, char *passphrase, char *psk);
|
SoftapController.cpp | 125 ALOGE("softap <wlan iface> <SSID> <hidden/broadcast> <channel> <wpa2?-psk|open> <passphrase>"); 229 void SoftapController::generatePsk(char *ssid, char *passphrase, char *psk_str) { 233 PKCS5_PBKDF2_HMAC_SHA1(passphrase, strlen(passphrase),
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
passwords_helper.h | 46 // Sets the cryptographer's encryption passphrase for the profile at index 47 // |index| to |passphrase|, and passphrase type |type|. 49 const std::string& passphrase, 52 // Sets the cryptographer's decryption passphrase for the profile at index 53 // |index| to |passphrase|. Returns false if the operation failed, and true 55 bool SetDecryptionPassphrase(int index, const std::string& passphrase);
|
passwords_helper.cc | 124 const std::string& passphrase, 127 test()->GetProfile(index))->SetEncryptionPassphrase(passphrase, type); 130 bool SetDecryptionPassphrase(int index, const std::string& passphrase) { 132 test()->GetProfile(index))->SetDecryptionPassphrase(passphrase);
|
/external/chromium_org/sync/internal_api/public/ |
sync_encryption_handler.h | 22 // Reasons due to which Cryptographer might require a passphrase. 26 // passphrase for its first attempt at 30 // passphrase for its first attempt at 34 // The different states for the encryption passphrase. These control if and how 35 // the user should be prompted for a decryption passphrase. 37 IMPLICIT_PASSPHRASE = 0, // GAIA-based passphrase (deprecated). 38 KEYSTORE_PASSPHRASE = 1, // Keystore passphrase. 39 FROZEN_IMPLICIT_PASSPHRASE = 2, // Frozen GAIA passphrase. 40 CUSTOM_PASSPHRASE = 3, // User-provided passphrase. 62 // Called when user interaction is required to obtain a valid passphrase [all...] |
/external/chromium_org/sync/test/ |
fake_sync_encryption_handler.h | 35 virtual void SetEncryptionPassphrase(const std::string& passphrase, 37 virtual void SetDecryptionPassphrase(const std::string& passphrase) OVERRIDE;
|
fake_sync_encryption_handler.cc | 100 const std::string& passphrase, 107 const std::string& passphrase) {
|
/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/chromium_org/sync/internal_api/ |
sync_encryption_handler_impl.h | 60 virtual void SetEncryptionPassphrase(const std::string& passphrase, 62 virtual void SetDecryptionPassphrase(const std::string& passphrase) OVERRIDE; 157 // explicit passphrase state (if the cryptographer is ready). 175 // Sets a new custom passphrase. Should only be called if a custom passphrase 178 // passphrase already existed. 179 void SetCustomPassphrase(const std::string& passphrase, 182 // Decrypt the encryption keybag using a user provided passphrase. 183 // Should only be called if the current passphrase is a frozen implicit 184 // passphrase or a custom passphrase [all...] |
/external/chromium_org/chrome/browser/sync/glue/ |
sync_backend_host.h | 84 // Called on |frontend_loop_| to asynchronously set a new passphrase for 87 // - An explicit passphrase has already been set 92 // passphrase passed in is cached so we can re-encrypt with it in future. 93 // - If there are no pending keys, data is encrypted with |passphrase| (this 94 // is a no-op if data was already encrypted with |passphrase|.) 96 const std::string& passphrase, 99 // Called on |frontend_loop_| to use the provided passphrase to asynchronously 100 // attempt decryption. Returns false immediately if the passphrase could not 105 virtual bool SetDecryptionPassphrase(const std::string& passphrase) 171 // Returns the type of passphrase being used to encrypt data. Se [all...] |
sync_backend_host_mock.cc | 38 const std::string& passphrase, 42 const std::string& passphrase) {
|
sync_backend_host_mock.h | 47 const std::string& passphrase, 51 const std::string& passphrase) OVERRIDE;
|
/external/chromium_org/chromeos/network/onc/ |
onc_utils.h | 46 // using |passphrase|. The resulting UnencryptedConfiguration is returned. If an 49 const std::string& passphrase, 94 // Decrypts |onc_blob| with |passphrase| if necessary. Clears |network_configs|, 103 const std::string& passphrase,
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/sync/ |
ProfileSyncService.java | 184 * Checks if a password or a passphrase is required for decryption of sync data. 186 * Returns NONE if the state is unavailable, or decryption passphrase/password is not required. 188 * @return the enum describing the decryption passphrase type required 194 // passphrase type we should tell the user we need. 204 * Returns the actual passphrase type being used for encryption. The sync backend must be 208 * should ask the user for a passphrase, you should instead use 223 * Returns true if the current explicit passphrase time is defined. 250 * Checks if sync is currently set to use a custom passphrase. The sync backend must be running 253 * @return true if sync is using a custom passphrase. 261 * Checks if we need a passphrase to decrypt a currently-enabled data type. This returns fals [all...] |
/external/chromium_org/chrome/browser/chromeos/settings/ |
token_encryptor.cc | 68 const std::string& passphrase, 71 crypto::SymmetricKey::AES, passphrase, salt, 1000, 256);
|
token_encryptor.h | 49 // Converts |passphrase| to a SymmetricKey using the given |salt|. 50 crypto::SymmetricKey* PassphraseToKey(const std::string& 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/chromium_org/chrome/browser/resources/ |
sync_setup_overlay.css | 27 #sync-custom-passphrase { 31 #sync-passphrase-message { 35 .sync-custom-passphrase-input { 39 #sync-existing-passphrase-container { 122 #passphrase-input { 127 #incorrect-passphrase { 158 #sync-passphrase-warning {
|
/external/chromium_org/chrome/browser/sync/ |
profile_sync_service_android.h | 81 // Returns true if the sync code needs a passphrase for either encryption or 82 // decryption (can need a passphrase for encryption if the user is turning on 83 // encryption and no passphrase has been set yet). 86 // Returns true if the sync code needs a decryption passphrase for one of the 90 // Returns true if the sync code needs a decryption passphrase for *any* type, 94 // Returns true if the sync code needs a custom decryption passphrase. 98 // Returns true if the decryption passphrase works (was able to decrypt the 103 jstring passphrase); 105 // Encrypts the user's data with the passed passphrase. If |is_gaia| == true 106 // then the passphrase is treated as a google (GAIA) passphrase, otherwis [all...] |
profile_sync_service_mock.h | 127 MOCK_METHOD1(SetDecryptionPassphrase, bool(const std::string& passphrase)); 128 MOCK_METHOD2(SetEncryptionPassphrase, void(const std::string& passphrase,
|