Home
last modified time | relevance | path

Searched refs:encryption_key (Results 1 – 9 of 9) sorted by relevance

/external/chromium/chrome/browser/password_manager/
Dencryptor_linux.cc44 scoped_ptr<crypto::SymmetricKey> encryption_key( in GetEncryptionKey() local
50 DCHECK(encryption_key.get()); in GetEncryptionKey()
52 return encryption_key.release(); in GetEncryptionKey()
84 scoped_ptr<crypto::SymmetricKey> encryption_key(GetEncryptionKey()); in EncryptString() local
85 if (!encryption_key.get()) in EncryptString()
90 if (!encryptor.Init(encryption_key.get(), crypto::Encryptor::CBC, iv)) in EncryptString()
126 scoped_ptr<crypto::SymmetricKey> encryption_key(GetEncryptionKey()); in DecryptString() local
127 if (!encryption_key.get()) in DecryptString()
132 if (!encryptor.Init(encryption_key.get(), crypto::Encryptor::CBC, iv)) in DecryptString()
Dencryptor_mac.mm57 scoped_ptr<crypto::SymmetricKey> encryption_key(
63 DCHECK(encryption_key.get());
65 return encryption_key.release();
92 scoped_ptr<crypto::SymmetricKey> encryption_key(GetEncryptionKey());
93 if (!encryption_key.get())
98 if (!encryptor.Init(encryption_key.get(), crypto::Encryptor::CBC, iv))
130 scoped_ptr<crypto::SymmetricKey> encryption_key(GetEncryptionKey());
131 if (!encryption_key.get())
136 if (!encryptor.Init(encryption_key.get(), crypto::Encryptor::CBC, iv))
/external/chromium/chrome/browser/sync/util/
Dnigori.cc110 const std::string& encryption_key, in InitByImport() argument
116 encryption_key)); in InitByImport()
249 std::string* encryption_key, in ExportKeys() argument
252 DCHECK(encryption_key); in ExportKeys()
256 encryption_key_->GetRawKey(encryption_key) && in ExportKeys()
Dnigori.h42 const std::string& encryption_key,
61 std::string* encryption_key,
Dnigori_unittest.cc144 std::string encryption_key; in TEST() local
146 EXPECT_TRUE(nigori1.ExportKeys(&user_key, &encryption_key, &mac_key)); in TEST()
149 EXPECT_TRUE(nigori2.InitByImport(user_key, encryption_key, mac_key)); in TEST()
Dcryptographer_unittest.cc164 std::string user_key, encryption_key, mac_key; in TEST() local
165 ASSERT_TRUE(unpacked->ExportKeys(&user_key, &encryption_key, &mac_key)); in TEST()
168 EXPECT_EQ(expected_encryption, encryption_key); in TEST()
Dcryptographer.cc235 if (!nigori->InitByImport(key.user_key(), key.encryption_key(), in UnpackBootstrapToken()
253 key.encryption_key(), in InstallKeys()
/external/chromium/chrome/browser/sync/protocol/
Dnigori_specifics.proto23 optional bytes encryption_key = 3; field
/external/openssh/
Dpkcs11.h776 ck_object_handle_t encryption_key,