/external/chromium/chrome/browser/password_manager/ |
D | encryptor_unittest.cc | 21 Encryptor::UseMockKeychain(true); in SetUp() 37 EXPECT_TRUE(Encryptor::EncryptString16(plaintext, &ciphertext)); in TEST_F() 38 EXPECT_TRUE(Encryptor::DecryptString16(ciphertext, &result)); in TEST_F() 43 EXPECT_TRUE(Encryptor::EncryptString16(plaintext, &ciphertext)); in TEST_F() 44 EXPECT_TRUE(Encryptor::DecryptString16(ciphertext, &result)); in TEST_F() 50 EXPECT_TRUE(Encryptor::EncryptString16(plaintext, &ciphertext)); in TEST_F() 51 EXPECT_TRUE(Encryptor::DecryptString16(ciphertext, &result)); in TEST_F() 64 EXPECT_TRUE(Encryptor::EncryptString16(plaintext, &ciphertext)); in TEST_F() 65 EXPECT_TRUE(Encryptor::DecryptString16(ciphertext, &result)); in TEST_F() 67 EXPECT_TRUE(Encryptor::DecryptString(ciphertext, &utf8_result)); in TEST_F() [all …]
|
D | encryptor_linux.cc | 57 bool Encryptor::EncryptString16(const string16& plaintext, in EncryptString16() 62 bool Encryptor::DecryptString16(const std::string& ciphertext, in DecryptString16() 72 bool Encryptor::EncryptString(const std::string& plaintext, in EncryptString() 89 crypto::Encryptor encryptor; in EncryptString() 90 if (!encryptor.Init(encryption_key.get(), crypto::Encryptor::CBC, iv)) in EncryptString() 101 bool Encryptor::DecryptString(const std::string& ciphertext, in DecryptString() 131 crypto::Encryptor encryptor; in DecryptString() 132 if (!encryptor.Init(encryption_key.get(), crypto::Encryptor::CBC, iv)) in DecryptString()
|
D | encryptor_mac.mm | 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)) 109 bool Encryptor::DecryptString(const std::string& ciphertext, 135 crypto::Encryptor encryptor; 136 if (!encryptor.Init(encryption_key.get(), crypto::Encryptor::CBC, iv)) 145 void Encryptor::UseMockKeychain(bool use_mock) {
|
D | encryptor_win.cc | 13 bool Encryptor::EncryptString16(const string16& plaintext, in EncryptString16() 18 bool Encryptor::DecryptString16(const std::string& ciphertext, in DecryptString16() 28 bool Encryptor::EncryptString(const std::string& plaintext, in EncryptString() 49 bool Encryptor::DecryptString(const std::string& ciphertext, in DecryptString()
|
/external/chromium_org/components/webdata/encryptor/ |
D | encryptor_unittest.cc | 21 Encryptor::UseMockKeychain(true); in SetUp() 37 EXPECT_TRUE(Encryptor::EncryptString16(plaintext, &ciphertext)); in TEST_F() 38 EXPECT_TRUE(Encryptor::DecryptString16(ciphertext, &result)); in TEST_F() 43 EXPECT_TRUE(Encryptor::EncryptString16(plaintext, &ciphertext)); in TEST_F() 44 EXPECT_TRUE(Encryptor::DecryptString16(ciphertext, &result)); in TEST_F() 50 EXPECT_TRUE(Encryptor::EncryptString16(plaintext, &ciphertext)); in TEST_F() 51 EXPECT_TRUE(Encryptor::DecryptString16(ciphertext, &result)); in TEST_F() 64 EXPECT_TRUE(Encryptor::EncryptString16(plaintext, &ciphertext)); in TEST_F() 65 EXPECT_TRUE(Encryptor::DecryptString16(ciphertext, &result)); in TEST_F() 67 EXPECT_TRUE(Encryptor::DecryptString(ciphertext, &utf8_result)); in TEST_F() [all …]
|
D | encryptor_posix.cc | 57 bool Encryptor::EncryptString16(const base::string16& plaintext, in EncryptString16() 62 bool Encryptor::DecryptString16(const std::string& ciphertext, in DecryptString16() 72 bool Encryptor::EncryptString(const std::string& plaintext, in EncryptString() 89 crypto::Encryptor encryptor; in EncryptString() 90 if (!encryptor.Init(encryption_key.get(), crypto::Encryptor::CBC, iv)) in EncryptString() 101 bool Encryptor::DecryptString(const std::string& ciphertext, in DecryptString() 131 crypto::Encryptor encryptor; in DecryptString() 132 if (!encryptor.Init(encryption_key.get(), crypto::Encryptor::CBC, iv)) in DecryptString()
|
D | encryptor_mac.mm | 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)) 111 bool Encryptor::DecryptString(const std::string& ciphertext, 137 crypto::Encryptor encryptor; 138 if (!encryptor.Init(encryption_key.get(), crypto::Encryptor::CBC, iv)) 147 void Encryptor::UseMockKeychain(bool use_mock) {
|
D | encryptor_win.cc | 13 bool Encryptor::EncryptString16(const base::string16& plaintext, in EncryptString16() 18 bool Encryptor::DecryptString16(const std::string& ciphertext, in DecryptString16() 28 bool Encryptor::EncryptString(const std::string& plaintext, in EncryptString() 49 bool Encryptor::DecryptString(const std::string& ciphertext, in DecryptString()
|
/external/chromium_org/crypto/ |
D | encryptor_unittest.cc | 20 crypto::Encryptor encryptor; in TEST() 24 EXPECT_TRUE(encryptor.Init(key.get(), crypto::Encryptor::CBC, iv)); in TEST() 64 crypto::Encryptor encryptor; in TEST() 68 EXPECT_TRUE(encryptor.Init(key.get(), crypto::Encryptor::CBC, iv)); in TEST() 96 crypto::Encryptor decryptor; in TEST() 97 EXPECT_TRUE(decryptor.Init(wrong_key.get(), crypto::Encryptor::CBC, iv)); in TEST() 104 crypto::Encryptor decryptor2; in TEST() 105 EXPECT_TRUE(decryptor2.Init(wrong_key2.get(), crypto::Encryptor::CBC, iv)); in TEST() 110 crypto::Encryptor decryptor3; in TEST() 111 EXPECT_TRUE(decryptor3.Init(wrong_key3.get(), crypto::Encryptor::CBC, iv)); in TEST() [all …]
|
D | encryptor_nss.cc | 18 inline CK_MECHANISM_TYPE GetMechanism(Encryptor::Mode mode) { in GetMechanism() 20 case Encryptor::CBC: in GetMechanism() 22 case Encryptor::CTR: in GetMechanism() 35 Encryptor::Encryptor() in Encryptor() function in crypto::Encryptor 41 Encryptor::~Encryptor() { in ~Encryptor() 44 bool Encryptor::Init(SymmetricKey* key, in Init() 74 bool Encryptor::Encrypt(const base::StringPiece& plaintext, in Encrypt() 89 bool Encryptor::Decrypt(const base::StringPiece& ciphertext, in Decrypt() 112 bool Encryptor::Crypt(PK11Context* context, in Crypt() 153 bool Encryptor::CryptCTR(PK11Context* context, in CryptCTR()
|
D | encryptor.cc | 14 Encryptor::Counter::Counter(const base::StringPiece& counter) { in Counter() 20 Encryptor::Counter::~Counter() { in ~Counter() 23 bool Encryptor::Counter::Increment() { in Increment() 38 void Encryptor::Counter::Write(void* buf) { in Write() 43 size_t Encryptor::Counter::GetLengthInBytes() const { in GetLengthInBytes() 50 bool Encryptor::SetCounter(const base::StringPiece& counter) { in SetCounter() 60 bool Encryptor::GenerateCounterMask(size_t plaintext_len, in GenerateCounterMask() 84 void Encryptor::MaskMessage(const void* plaintext, in MaskMessage()
|
D | encryptor_openssl.cc | 47 Encryptor::Encryptor() in Encryptor() function in crypto::Encryptor 52 Encryptor::~Encryptor() { in ~Encryptor() 55 bool Encryptor::Init(SymmetricKey* key, in Init() 74 bool Encryptor::Encrypt(const base::StringPiece& plaintext, in Encrypt() 82 bool Encryptor::Decrypt(const base::StringPiece& ciphertext, in Decrypt() 90 bool Encryptor::Crypt(bool do_encrypt, in Crypt() 139 bool Encryptor::CryptCTR(bool do_encrypt, in CryptCTR()
|
D | encryptor.h | 24 class CRYPTO_EXPORT Encryptor { 55 Encryptor(); 56 virtual ~Encryptor();
|
/external/chromium/crypto/ |
D | encryptor_mac.cc | 15 Encryptor::Encryptor() in Encryptor() function in crypto::Encryptor 20 Encryptor::~Encryptor() { in ~Encryptor() 23 bool Encryptor::Init(SymmetricKey* key, Mode mode, const std::string& iv) { in Init() 40 bool Encryptor::Crypt(int /*CCOperation*/ op, in Crypt() 68 bool Encryptor::Encrypt(const std::string& plaintext, std::string* ciphertext) { in Encrypt() 72 bool Encryptor::Decrypt(const std::string& ciphertext, std::string* plaintext) { in Decrypt()
|
D | encryptor_unittest.cc | 20 crypto::Encryptor encryptor; in TEST() 24 EXPECT_TRUE(encryptor.Init(key.get(), crypto::Encryptor::CBC, iv)); in TEST() 94 crypto::Encryptor encryptor; in TEST() 98 EXPECT_TRUE(encryptor.Init(sym_key.get(), crypto::Encryptor::CBC, iv)); in TEST() 127 crypto::Encryptor encryptor; in TEST() 130 EXPECT_TRUE(encryptor.Init(sym_key.get(), crypto::Encryptor::CBC, iv)); in TEST() 153 crypto::Encryptor encryptor; in TEST() 156 EXPECT_TRUE(encryptor.Init(sym_key.get(), crypto::Encryptor::CBC, iv)); in TEST() 178 crypto::Encryptor encryptor; in TEST() 181 EXPECT_FALSE(encryptor.Init(sym_key.get(), crypto::Encryptor::CBC, iv)); in TEST() [all …]
|
D | encryptor_openssl.cc | 47 Encryptor::Encryptor() in Encryptor() function in crypto::Encryptor 52 Encryptor::~Encryptor() { in ~Encryptor() 55 bool Encryptor::Init(SymmetricKey* key, Mode mode, const std::string& iv) { in Init() 72 bool Encryptor::Encrypt(const std::string& plaintext, std::string* ciphertext) { in Encrypt() 76 bool Encryptor::Decrypt(const std::string& ciphertext, std::string* plaintext) { in Decrypt() 80 bool Encryptor::Crypt(bool do_encrypt, in Crypt()
|
D | encryptor_win.cc | 31 Encryptor::Encryptor() in Encryptor() function in crypto::Encryptor 37 Encryptor::~Encryptor() { in ~Encryptor() 40 bool Encryptor::Init(SymmetricKey* key, Mode mode, const std::string& iv) { in Init() 80 bool Encryptor::Encrypt(const std::string& plaintext, std::string* ciphertext) { in Encrypt() 97 bool Encryptor::Decrypt(const std::string& ciphertext, std::string* plaintext) { in Decrypt()
|
D | encryptor_nss.cc | 16 Encryptor::Encryptor() in Encryptor() function in crypto::Encryptor 22 Encryptor::~Encryptor() { in ~Encryptor() 25 bool Encryptor::Init(SymmetricKey* key, Mode mode, const std::string& iv) { in Init() 52 bool Encryptor::Encrypt(const std::string& plaintext, std::string* ciphertext) { in Encrypt() 87 bool Encryptor::Decrypt(const std::string& ciphertext, std::string* plaintext) { in Decrypt()
|
D | encryptor.h | 23 class Encryptor { 28 Encryptor(); 29 virtual ~Encryptor();
|
/external/chromium/chrome/browser/sync/util/ |
D | nigori.cc | 26 using crypto::Encryptor; 133 Encryptor encryptor; in Permute() 134 if (!encryptor.Init(encryption_key_.get(), Encryptor::CBC, in Permute() 175 Encryptor encryptor; in Encrypt() 176 if (!encryptor.Init(encryption_key_.get(), Encryptor::CBC, iv)) in Encrypt() 237 Encryptor encryptor; in Decrypt() 238 if (!encryptor.Init(encryption_key_.get(), Encryptor::CBC, iv)) in Decrypt()
|
/external/chromium_org/sync/util/ |
D | nigori.cc | 21 using crypto::Encryptor; 128 Encryptor encryptor; in Permute() 129 if (!encryptor.Init(encryption_key_.get(), Encryptor::CBC, in Permute() 165 Encryptor encryptor; in Encrypt() 166 if (!encryptor.Init(encryption_key_.get(), Encryptor::CBC, iv)) in Encrypt() 228 Encryptor encryptor; in Decrypt() 229 if (!encryptor.Init(encryption_key_.get(), Encryptor::CBC, iv)) in Decrypt()
|
D | cryptographer.h | 25 class Encryptor; variable 53 explicit Cryptographer(Encryptor* encryptor); 173 Encryptor* encryptor() const { return encryptor_; } in encryptor() 202 Encryptor* const encryptor_;
|
D | encryptor.h | 12 class Encryptor { 22 virtual ~Encryptor() {} in ~Encryptor()
|
/external/chromium_org/chrome/browser/chromeos/settings/ |
D | token_encryptor.cc | 78 crypto::Encryptor encryptor; in EncryptTokenWithKey() 79 if (!encryptor.Init(key, crypto::Encryptor::CTR, std::string())) { in EncryptTokenWithKey() 109 crypto::Encryptor encryptor; in DecryptTokenWithKey() 110 if (!encryptor.Init(key, crypto::Encryptor::CTR, std::string())) { in DecryptTokenWithKey()
|
/external/chromium_org/chrome/browser/sync/glue/ |
D | chrome_encryptor.cc | 15 return ::Encryptor::EncryptString(plaintext, ciphertext); in EncryptString() 20 return ::Encryptor::DecryptString(ciphertext, plaintext); in DecryptString()
|