/external/chromium_org/components/webdata/encryptor/ |
encryptor_unittest.cc | 5 #include "components/webdata/encryptor/encryptor.h" 21 Encryptor::UseMockKeychain(true); 37 EXPECT_TRUE(Encryptor::EncryptString16(plaintext, &ciphertext)); 38 EXPECT_TRUE(Encryptor::DecryptString16(ciphertext, &result)); 43 EXPECT_TRUE(Encryptor::EncryptString16(plaintext, &ciphertext)); 44 EXPECT_TRUE(Encryptor::DecryptString16(ciphertext, &result)); 48 // base::Encryptor::Crypt() on Mac. 50 EXPECT_TRUE(Encryptor::EncryptString16(plaintext, &ciphertext)); 51 EXPECT_TRUE(Encryptor::DecryptString16(ciphertext, &result)) [all...] |
README | 0 Encryptor gives access to simple encryption and decryption of strings.
|
encryptor_mac.mm | 5 #include "components/webdata/encryptor/encryptor.h" 12 #include "components/webdata/encryptor/encryptor_password_mac.h" 14 #include "crypto/encryptor.h" 72 bool Encryptor::EncryptString16(const base::string16& plaintext, 77 bool Encryptor::DecryptString16(const std::string& ciphertext, 87 bool Encryptor::EncryptString(const std::string& plaintext, 99 crypto::Encryptor encryptor; 100 if (!encryptor.Init(encryption_key.get(), crypto::Encryptor::CBC, iv) [all...] |
encryptor_win.cc | 5 #include "components/webdata/encryptor/encryptor.h" 13 bool Encryptor::EncryptString16(const base::string16& plaintext, 18 bool Encryptor::DecryptString16(const std::string& ciphertext, 28 bool Encryptor::EncryptString(const std::string& plaintext, 49 bool Encryptor::DecryptString(const std::string& ciphertext,
|
encryptor_posix.cc | 5 #include "components/webdata/encryptor/encryptor.h" 10 #include "crypto/encryptor.h" 57 bool Encryptor::EncryptString16(const base::string16& plaintext, 62 bool Encryptor::DecryptString16(const std::string& ciphertext, 72 bool Encryptor::EncryptString(const std::string& plaintext, 89 crypto::Encryptor encryptor; local 90 if (!encryptor.Init(encryption_key.get(), crypto::Encryptor::CBC, iv) 131 crypto::Encryptor encryptor; local [all...] |
/external/chromium/chrome/browser/password_manager/ |
encryptor_unittest.cc | 5 #include "chrome/browser/password_manager/encryptor.h" 21 Encryptor::UseMockKeychain(true); 37 EXPECT_TRUE(Encryptor::EncryptString16(plaintext, &ciphertext)); 38 EXPECT_TRUE(Encryptor::DecryptString16(ciphertext, &result)); 43 EXPECT_TRUE(Encryptor::EncryptString16(plaintext, &ciphertext)); 44 EXPECT_TRUE(Encryptor::DecryptString16(ciphertext, &result)); 48 // base::Encryptor::Crypt() on Mac. 50 EXPECT_TRUE(Encryptor::EncryptString16(plaintext, &ciphertext)); 51 EXPECT_TRUE(Encryptor::DecryptString16(ciphertext, &result)); 64 EXPECT_TRUE(Encryptor::EncryptString16(plaintext, &ciphertext)) [all...] |
encryptor_mac.mm | 5 #include "chrome/browser/password_manager/encryptor.h" 12 #include "crypto/encryptor.h" 70 bool Encryptor::EncryptString16(const string16& plaintext, 75 bool Encryptor::DecryptString16(const std::string& ciphertext, 85 bool Encryptor::EncryptString(const std::string& plaintext, 97 crypto::Encryptor encryptor; 98 if (!encryptor.Init(encryption_key.get(), crypto::Encryptor::CBC, iv)) 101 if (!encryptor.Encrypt(plaintext, ciphertext) [all...] |
login_database_win.cc | 6 #include "chrome/browser/password_manager/encryptor.h" 12 if (!Encryptor::EncryptString16(plain_text, &cipher_text)) 20 if (!Encryptor::DecryptString16(cipher_text, &plain_text))
|
encryptor_linux.cc | 5 #include "chrome/browser/password_manager/encryptor.h" 10 #include "crypto/encryptor.h" 57 bool Encryptor::EncryptString16(const string16& plaintext, 62 bool Encryptor::DecryptString16(const std::string& ciphertext, 72 bool Encryptor::EncryptString(const std::string& plaintext, 89 crypto::Encryptor encryptor; local 90 if (!encryptor.Init(encryption_key.get(), crypto::Encryptor::CBC, iv)) 93 if (!encryptor.Encrypt(plaintext, ciphertext) 131 crypto::Encryptor encryptor; local [all...] |
/external/chromium_org/components/ |
webdata.gypi | 8 'target_name': 'encryptor', 18 'webdata/encryptor/encryptor.h', 19 'webdata/encryptor/encryptor_mac.mm', 20 'webdata/encryptor/encryptor_password_mac.h', 21 'webdata/encryptor/encryptor_password_mac.mm', 22 'webdata/encryptor/encryptor_posix.cc', 23 'webdata/encryptor/encryptor_win.cc', 24 'webdata/encryptor/ie7_password_win.cc', 25 'webdata/encryptor/ie7_password_win.h' [all...] |
/external/chromium_org/chrome/browser/sync/glue/ |
chrome_encryptor.cc | 7 #include "components/webdata/encryptor/encryptor.h" 15 return ::Encryptor::EncryptString(plaintext, ciphertext); 20 return ::Encryptor::DecryptString(ciphertext, plaintext);
|
chrome_encryptor.h | 9 #include "sync/util/encryptor.h" 13 // Encryptor that uses the Chrome password manager's encryptor. 14 class ChromeEncryptor : public syncer::Encryptor {
|
chrome_encryptor_unittest.cc | 6 #include "components/webdata/encryptor/encryptor.h" 24 ::Encryptor::UseMockKeychain(true);
|
/external/chromium/crypto/ |
encryptor_mac.cc | 5 #include "crypto/encryptor.h" 15 Encryptor::Encryptor() 20 Encryptor::~Encryptor() { 23 bool Encryptor::Init(SymmetricKey* key, Mode mode, const std::string& iv) { 40 bool Encryptor::Crypt(int /*CCOperation*/ op, 68 bool Encryptor::Encrypt(const std::string& plaintext, std::string* ciphertext) { 72 bool Encryptor::Decrypt(const std::string& ciphertext, std::string* plaintext) {
|
encryptor_unittest.cc | 5 #include "crypto/encryptor.h" 20 crypto::Encryptor encryptor; local 24 EXPECT_TRUE(encryptor.Init(key.get(), crypto::Encryptor::CBC, iv)); 28 EXPECT_TRUE(encryptor.Encrypt(plaintext, &ciphertext)); 33 EXPECT_TRUE(encryptor.Decrypt(ciphertext, &decypted)); 94 crypto::Encryptor encryptor; local 98 EXPECT_TRUE(encryptor.Init(sym_key.get(), crypto::Encryptor::CBC, iv)) 127 crypto::Encryptor encryptor; local 153 crypto::Encryptor encryptor; local 178 crypto::Encryptor encryptor; local 192 crypto::Encryptor encryptor; local 206 crypto::Encryptor encryptor; local 225 crypto::Encryptor encryptor; local [all...] |
encryptor_nss.cc | 5 #include "crypto/encryptor.h" 16 Encryptor::Encryptor() 22 Encryptor::~Encryptor() { 25 bool Encryptor::Init(SymmetricKey* key, Mode mode, const std::string& iv) { 52 bool Encryptor::Encrypt(const std::string& plaintext, std::string* ciphertext) { 87 bool Encryptor::Decrypt(const std::string& ciphertext, std::string* plaintext) {
|
encryptor.h | 23 class Encryptor { 28 Encryptor(); 29 virtual ~Encryptor(); 31 // Initializes the encryptor using |key| and |iv|. Returns false if either the
|
/external/chromium_org/chrome/browser/password_manager/ |
login_database_win.cc | 7 #include "components/webdata/encryptor/encryptor.h" 12 if (Encryptor::EncryptString16(plain_text, cipher_text)) 20 if (Encryptor::DecryptString16(cipher_text, plain_text))
|
/external/chromium_org/sync/tools/ |
DEPS | 7 # TODO(akalin): Remove this when we use the system encryptor.
|
/external/chromium_org/chrome/browser/chromeos/settings/ |
token_encryptor.cc | 14 #include "crypto/encryptor.h" 78 crypto::Encryptor encryptor; local 79 if (!encryptor.Init(key, crypto::Encryptor::CTR, std::string())) { 80 LOG(WARNING) << "Failed to initialize Encryptor."; 85 CHECK(encryptor.SetCounter(nonce)); 86 if (!encryptor.Encrypt(token, &encoded_token)) { 109 crypto::Encryptor encryptor; local [all...] |
/external/chromium_org/crypto/ |
encryptor.cc | 5 #include "crypto/encryptor.h" 14 Encryptor::Counter::Counter(const base::StringPiece& counter) { 20 Encryptor::Counter::~Counter() { 23 bool Encryptor::Counter::Increment() { 38 void Encryptor::Counter::Write(void* buf) { 43 size_t Encryptor::Counter::GetLengthInBytes() const { 48 // Partial Encryptor Implementation. 50 bool Encryptor::SetCounter(const base::StringPiece& counter) { 60 bool Encryptor::GenerateCounterMask(size_t plaintext_len, 84 void Encryptor::MaskMessage(const void* plaintext [all...] |
encryptor_unittest.cc | 5 #include "crypto/encryptor.h" 20 crypto::Encryptor encryptor; local 24 EXPECT_TRUE(encryptor.Init(key.get(), crypto::Encryptor::CBC, iv)); 28 EXPECT_TRUE(encryptor.Encrypt(plaintext, &ciphertext)); 33 EXPECT_TRUE(encryptor.Decrypt(ciphertext, &decrypted)); 64 crypto::Encryptor encryptor; local 68 EXPECT_TRUE(encryptor.Init(key.get(), crypto::Encryptor::CBC, iv)) 193 crypto::Encryptor encryptor; local 225 crypto::Encryptor encryptor; local 290 crypto::Encryptor encryptor; local 411 crypto::Encryptor encryptor; local 444 crypto::Encryptor encryptor; local 470 crypto::Encryptor encryptor; local 495 crypto::Encryptor encryptor; local 509 crypto::Encryptor encryptor; local 523 crypto::Encryptor encryptor; local 542 crypto::Encryptor encryptor; local [all...] |
/external/chromium_org/sync/test/ |
fake_encryptor.h | 9 #include "sync/util/encryptor.h" 13 // Encryptor which simply base64-encodes the plaintext to get the 15 class FakeEncryptor : public Encryptor {
|
/external/chromium_org/sync/util/ |
encryptor.h | 12 class Encryptor { 22 virtual ~Encryptor() {}
|
/external/chromium_org/google_apis/gcm/ |
DEPS | 10 "+components/webdata/encryptor",
|