/system/connectivity/shill/ |
crypto_des_cbc_unittest.cc | 49 CryptoDESCBC crypto_; member in class:shill::CryptoDESCBCTest 53 EXPECT_EQ(CryptoDESCBC::kID, crypto_.GetID()); 62 EXPECT_FALSE(crypto_.LoadKeyMatter(key_matter)); 63 EXPECT_TRUE(crypto_.key().empty()); 64 EXPECT_TRUE(crypto_.iv().empty()); 69 EXPECT_FALSE(crypto_.LoadKeyMatter(key_matter)); 70 EXPECT_TRUE(crypto_.key().empty()); 71 EXPECT_TRUE(crypto_.iv().empty()); 74 EXPECT_TRUE(crypto_.LoadKeyMatter(key_matter)); 75 EXPECT_EQ(kTestKey, string(crypto_.key().begin(), crypto_.key().end())) [all...] |
crypto_rot47_unittest.cc | 36 CryptoROT47 crypto_; member in class:shill::CryptoROT47Test 40 EXPECT_EQ(CryptoROT47::kID, crypto_.GetID()); 45 EXPECT_TRUE(crypto_.Encrypt(kPlainText, &text)); 47 EXPECT_TRUE(crypto_.Encrypt(kEmpty, &text)); 53 EXPECT_TRUE(crypto_.Decrypt(kCipherText, &text)); 55 EXPECT_TRUE(crypto_.Decrypt(kEmpty, &text));
|
key_file_store.cc | 61 : crypto_(), 85 crypto_.Init(); 379 *value = crypto_.Decrypt(*value); 387 return SetString(group, key, crypto_.Encrypt(value));
|
key_file_store.h | 102 CryptoProvider crypto_; member in class:shill::KeyFileStore
|
key_file_store_unittest.cc | 91 EXPECT_EQ(1, store_->crypto_.cryptos_.size());
|
/system/tpm/attestation/server/ |
database_impl.cc | 50 DatabaseImpl::DatabaseImpl(CryptoUtility* crypto) : io_(this), crypto_(crypto) { 166 if (!crypto_->CreateSealedKey(&database_key_, &sealed_database_key_)) { 171 if (!crypto_->EncryptData(serial_proto, database_key_, sealed_database_key_, 180 if (!crypto_->UnsealKey(encrypted_input, &database_key_, 186 if (!crypto_->DecryptData(encrypted_input, database_key_, &serial_proto)) {
|
database_impl.h | 82 CryptoUtility* crypto_; member in class:attestation::DatabaseImpl
|