HomeSort by relevance Sort by last modified time
    Searched refs:Encryptor (Results 1 - 23 of 23) sorted by null

  /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...]
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.h 13 // The Encryptor class gives access to simple encryption and decryption of
16 class Encryptor {
43 // For unit testing purposes we instruct the Encryptor to use a mock Keychain
49 DISALLOW_IMPLICIT_CONSTRUCTORS(Encryptor);
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...]
encryptor_win.cc 5 #include "chrome/browser/password_manager/encryptor.h"
13 bool Encryptor::EncryptString16(const 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,
  /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.h 23 class Encryptor {
28 Encryptor();
29 virtual ~Encryptor();
31 // Initializes the encryptor using |key| and |iv|. Returns false if either the
encryptor_openssl.cc 5 #include "crypto/encryptor.h"
47 Encryptor::Encryptor()
52 Encryptor::~Encryptor() {
55 bool Encryptor::Init(SymmetricKey* key, Mode mode, const std::string& iv) {
72 bool Encryptor::Encrypt(const std::string& plaintext, std::string* ciphertext) {
76 bool Encryptor::Decrypt(const std::string& ciphertext, std::string* plaintext) {
80 bool Encryptor::Crypt(bool do_encrypt,
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_win.cc 5 #include "crypto/encryptor.h"
31 Encryptor::Encryptor()
37 Encryptor::~Encryptor() {
40 bool Encryptor::Init(SymmetricKey* key, Mode mode, const std::string& iv) {
46 // the Encryptor. See the Remarks section of the CryptEncrypt MSDN page.
80 bool Encryptor::Encrypt(const std::string& plaintext, std::string* ciphertext) {
97 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...]
  /external/chromium/chrome/browser/sync/util/
user_settings_posix.cc 10 #include "chrome/browser/password_manager/encryptor.h"
24 if (!Encryptor::EncryptString(long_lived_service_token,
57 if (!Encryptor::DecryptString(encrypted_service_token, service_token)) {
nigori.cc 20 #include "crypto/encryptor.h"
26 using crypto::Encryptor;
133 Encryptor encryptor; local
134 if (!encryptor.Init(encryption_key_.get(), Encryptor::CBC,
139 if (!encryptor.Encrypt(plaintext.str(), &ciphertext))
175 Encryptor encryptor; local
176 if (!encryptor.Init(encryption_key_.get(), Encryptor::CBC, iv)
    [all...]
cryptographer.cc 7 #include "chrome/browser/password_manager/encryptor.h"
110 // Create the new Nigori and make it the default encryptor.
200 if (!Encryptor::EncryptString(unencrypted_token, &encrypted_token)) {
223 if (!Encryptor::DecryptString(encrypted_data, &unencrypted_token)) {
cryptographer_unittest.cc 11 #include "chrome/browser/password_manager/encryptor.h"
147 Encryptor::UseMockKeychain(true);
user_settings_unittest.cc 13 #include "chrome/browser/password_manager/encryptor.h"
38 // blocking UI. |SetAuthTokenForService| uses Encryptor.
39 Encryptor::UseMockKeychain(true);
  /external/chromium/chrome/browser/webdata/
token_service_table.cc 12 #include "chrome/browser/password_manager/encryptor.h"
55 bool encrypted = Encryptor::EncryptString(token, &encrypted_token);
83 Encryptor::DecryptString(encrypted_token, &decrypted_token);
logins_table.cc 12 #include "chrome/browser/password_manager/encryptor.h"
35 Encryptor::DecryptString16(encrypted_password, &decrypted_password);
128 Encryptor::EncryptString16(form.password_value, &encrypted_password);
164 Encryptor::EncryptString16(form.password_value, &encrypted_password);
autofill_table.cc 24 #include "chrome/browser/password_manager/encryptor.h"
115 Encryptor::EncryptString16(text, &encrypted_data);
138 Encryptor::DecryptString16(encrypted_number, &credit_card_number);
    [all...]
autofill_table_unittest.cc 17 #include "chrome/browser/password_manager/encryptor.h"
97 Encryptor::UseMockKeychain(true);
    [all...]
  /external/chromium/chrome/browser/autofill/
autofill_common_test.cc 10 #include "chrome/browser/password_manager/encryptor.h"
80 Encryptor::UseMockKeychain(true);
  /external/chromium/net/socket/
dns_cert_provenance_checker.cc 25 #include "crypto/encryptor.h"
309 crypto::Encryptor encryptor; local
310 bool r = encryptor.Init(symkey.get(), crypto::Encryptor::CBC, iv);
315 encryptor.Encrypt(plaintext, &ciphertext);
  /external/chromium/chrome/browser/net/gaia/
token_service_unittest.cc 11 #include "chrome/browser/password_manager/encryptor.h"
54 Encryptor::UseMockKeychain(true);

Completed in 134 milliseconds