/external/chromium/chrome/browser/sync/util/ |
cryptographer.cc | 64 bool Cryptographer::Decrypt(const sync_pb::EncryptedData& encrypted, 75 NOTREACHED() << "Cannot decrypt message"; 80 if (!it->second->Decrypt(encrypted.blob(), &plaintext)) { 137 if (!Decrypt(encrypted, &bag)) { 159 if (!nigori.Decrypt(pending_keys_->blob(), &plaintext))
|
cryptographer.h | 29 // This class manages the Nigori objects used to encrypt and decrypt sensitive 40 // CanDecrypt should be used to verify whether the Cryptographer can decrypt 59 // Returns whether we can decrypt |encrypted| using the keys we currently know 75 bool Decrypt(const sync_pb::EncryptedData& encrypted, 101 // Attempts to decrypt the set of keys that was copied in the previous call to 106 // Returns whether this Cryptographer is ready to encrypt and decrypt data.
|
nigori.h | 21 // for your secret (basically a map key), and |Encrypt| and |Decrypt| to store 57 bool Decrypt(const std::string& value, std::string* decrypted) const;
|
cryptographer_unittest.cc | 58 EXPECT_TRUE(cryptographer.Decrypt(encrypted, &decrypted)); 134 EXPECT_TRUE(cryptographer.Decrypt(encrypted, &decrypted));
|
/external/chromium/crypto/ |
encryptor_mac.cc | 72 bool Encryptor::Decrypt(const std::string& ciphertext, std::string* plaintext) {
|
/external/chromium_org/chromeos/network/onc/ |
onc_utils.h | 47 CHROMEOS_EXPORT scoped_ptr<base::DictionaryValue> Decrypt(
|
/external/chromium_org/crypto/ |
encryptor.h | 71 // WARNING: In CBC mode, Decrypt() returns false if it detects the padding 74 // does not imply the authenticity of the data. The caller of Decrypt() 78 bool Decrypt(const base::StringPiece& ciphertext, std::string* plaintext); 117 bool Crypt(bool do_encrypt, // Pass true to encrypt, false to decrypt.
|
/external/chromium_org/media/base/ |
decryptor.h | 35 kNoKey, // No key is available to decrypt. 66 // - Set to kNoKey if no decryption key is available to decrypt the encrypted 75 // Decrypts the |encrypted| buffer. The decrypt status and decrypted buffer 78 // Decrypt() should not be called until any previous DecryptCB of the same 81 virtual void Decrypt(StreamType stream_type, 87 // Decrypt() should not be called again before the pending DecryptCB for the 108 // Indicates completion of audio/video decrypt-and-decode operation. 110 // First parameter: The status of the decrypt-and-decode operation. 117 // - Set to kNoKey if no decryption key is available to decrypt the encrypted 143 // decrypt-and-decode operations, and fires any pendin [all...] |
/external/chromium_org/net/quic/crypto/ |
null_decrypter.cc | 20 bool NullDecrypter::Decrypt(StringPiece /*nonce*/, 49 // It's worth duplicating |Decrypt|, above, in order to save a copy by using
|
null_decrypter_test.cc | 13 TEST(NullDecrypterTest, Decrypt) {
|
aes_128_gcm_12_decrypter_test.cc | 294 // DecryptWithNonce wraps the |Decrypt| method of |decrypter| to allow passing 303 if (!decrypter->Decrypt(nonce, associated_data, ciphertext, 311 TEST(Aes128Gcm12DecrypterTest, Decrypt) {
|
/external/chromium_org/sync/internal_api/ |
syncapi_internal.cc | 24 if (!crypto->Decrypt(encrypted, data.get()))
|
/external/chromium_org/sync/util/ |
nigori.h | 24 // for your secret (basically a map key), and |Encrypt| and |Decrypt| to store 60 bool Decrypt(const std::string& value, std::string* decrypted) const;
|
cryptographer.h | 36 // This class manages the Nigori objects used to encrypt and decrypt sensitive 47 // CanDecrypt should be used to verify whether the Cryptographer can decrypt 67 // Returns whether we can decrypt |encrypted| using the keys we currently know 95 bool Decrypt(const sync_pb::EncryptedData& encrypted, 109 // Will decrypt the pending keys and install them if possible (pending key 117 // Will decrypt the pending keys and install them if possible (pending key 125 // Will decrypt the pending keys and install them if possible (pending key 146 // Attempts to decrypt the set of keys that was copied in the previous call to 160 // Returns whether this Cryptographer is ready to encrypt and decrypt data.
|
cryptographer_unittest.cc | 76 EXPECT_TRUE(cryptographer_.Decrypt(encrypted, &decrypted)); 105 EXPECT_TRUE(cryptographer_.Decrypt(encrypted2, &decrypted)); 181 EXPECT_TRUE(cryptographer.Decrypt(encrypted, &decrypted));
|
/external/chromium_org/media/filters/ |
decrypting_demuxer_stream_unittest.cc | 147 EXPECT_CALL(*decryptor_, Decrypt(_, _, _)) 165 // Make the decrypt callback pending by saving and not firing it. 170 EXPECT_CALL(*decryptor_, Decrypt(_, encrypted_buffer_, _)) 176 // Make sure Read() triggers a Decrypt() on the decryptor. 183 EXPECT_CALL(*decryptor_, Decrypt(_, encrypted_buffer_, _)) 282 EXPECT_CALL(*decryptor_, Decrypt(_, encrypted_buffer_, _)) 293 // No Decryptor::Decrypt() call is expected for EOS buffer. 307 EXPECT_CALL(*decryptor_, Decrypt(_, encrypted_buffer_, _)) 320 EXPECT_CALL(*decryptor_, Decrypt(_, encrypted_buffer_, _)) 323 // The decrypt callback is returned after the correct decryption key is added [all...] |
/external/chromium/chrome/browser/importer/ |
nss_decryptor_mac.h | 112 // A wrapper for Firefox NSS decrypt component. 127 string16 Decrypt(const std::string& crypt) const;
|
nss_decryptor_win.h | 111 // A wrapper for Firefox NSS decrypt component. 127 std::wstring Decrypt(const std::string& crypt) const;
|
/external/chromium/chrome/browser/password_manager/ |
encryptor_linux.cc | 135 if (!encryptor.Decrypt(raw_ciphertext, plaintext))
|
/external/chromium_org/chrome/utility/importer/ |
nss_decryptor_mac.h | 114 // A wrapper for Firefox NSS decrypt component. 129 string16 Decrypt(const std::string& crypt) const;
|
nss_decryptor_win.h | 111 // A wrapper for Firefox NSS decrypt component. 127 string16 Decrypt(const std::string& crypt) const;
|
/external/chromium_org/components/webdata/encryptor/ |
encryptor_posix.cc | 135 if (!encryptor.Decrypt(raw_ciphertext, plaintext))
|
/external/chromium_org/media/cdm/ |
aes_decryptor.h | 48 virtual void Decrypt(StreamType stream_type, 83 // The key used to decrypt the data. 105 // Since only Decrypt() is called off the renderer thread, we only need to 107 // Decrypt() and other methods.
|
/external/chromium_org/ppapi/cpp/private/ |
content_decryptor_private.h | 41 virtual void Decrypt(pp::Buffer_Dev encrypted_buffer, 76 // provided to Decrypt() when it calls this method. The browser will reuse 77 // the buffer in a subsequent Decrypt() call.
|
/external/chromium_org/content/renderer/media/crypto/ |
ppapi_decryptor.cc | 129 // to decrypt the stream in the renderer process (for ClearKey support). 152 void PpapiDecryptor::Decrypt( 158 &PpapiDecryptor::Decrypt, weak_this_, 163 DVLOG(3) << "Decrypt() - stream_type: " << stream_type; 164 if (!plugin_cdm_delegate_->Decrypt(stream_type, encrypted, decrypt_cb))
|