Searched refs:Encrypt (Results 1 - 19 of 19) sorted by relevance

/system/connectivity/shill/
H A Dcrypto_rot47_unittest.cc43 TEST_F(CryptoROT47Test, Encrypt) {
45 EXPECT_TRUE(crypto_.Encrypt(kPlainText, &text));
47 EXPECT_TRUE(crypto_.Encrypt(kEmpty, &text));
H A Dcrypto_rot47.cc31 bool CryptoROT47::Encrypt(const string& plaintext, string* ciphertext) { function in class:shill::CryptoROT47
50 return Encrypt(ciphertext, plaintext);
H A Dcrypto_interface.h33 virtual bool Encrypt(const std::string& plaintext,
H A Dcrypto_des_cbc.h50 virtual bool Encrypt(const std::string& plaintext, std::string* ciphertext);
58 FRIEND_TEST(CryptoDESCBCTest, Encrypt);
H A Dcrypto_rot47.h37 virtual bool Encrypt(const std::string& plaintext, std::string* ciphertext);
H A Dcrypto_provider_unittest.cc84 TEST_F(CryptoProviderTest, Encrypt) {
85 EXPECT_EQ(kPlainText, provider_.Encrypt(kPlainText));
86 EXPECT_EQ(kEmptyText, provider_.Encrypt(kEmptyText));
89 EXPECT_EQ(kROT47Text, provider_.Encrypt(kPlainText));
95 EXPECT_EQ(kROT47Text, provider_.Encrypt(kPlainText));
H A Dcrypto_provider.cc47 string CryptoProvider::Encrypt(const string& plaintext) { function in class:shill::CryptoProvider
50 if (crypto->Encrypt(plaintext, &ciphertext)) {
H A Dcrypto_provider.h39 std::string Encrypt(const std::string& plaintext);
H A Dcrypto_des_cbc_unittest.cc93 TEST_F(CryptoDESCBCTest, Encrypt) {
98 EXPECT_FALSE(crypto_.Encrypt(kPlainText, &ciphertext));
H A Dcrypto_des_cbc.cc42 bool CryptoDESCBC::Encrypt(const string& plaintext, string* ciphertext) { function in class:shill::CryptoDESCBC
H A Dkey_file_store.cc387 return SetString(group, key, crypto_.Encrypt(value));
H A Djson_store.cc626 if (!rot47.Encrypt(value, &encrypted_value)) {
/system/keymaster/
H A Dkem.h40 virtual bool Encrypt(const Buffer& peer_public_value, Buffer* output_clear_key,
42 virtual bool Encrypt(const uint8_t* peer_public_value, size_t peer_public_value_len,
H A Decies_kem.h42 bool Encrypt(const Buffer& peer_public_value, Buffer* output_clear_key,
44 bool Encrypt(const uint8_t* peer_public_value, size_t peer_public_value_len,
H A Dkey_blob_test.cpp67 keymaster_error_t Encrypt() { function in class:keymaster::test::KeyBlobTest
100 ASSERT_EQ(KM_ERROR_OK, Encrypt());
128 ASSERT_EQ(KM_ERROR_OK, Encrypt());
138 ASSERT_EQ(KM_ERROR_OK, Encrypt());
155 ASSERT_EQ(KM_ERROR_OK, Encrypt());
172 ASSERT_EQ(KM_ERROR_OK, Encrypt());
189 ASSERT_EQ(KM_ERROR_OK, Encrypt());
203 ASSERT_EQ(KM_ERROR_OK, Encrypt());
226 ASSERT_EQ(KM_ERROR_OK, Encrypt());
249 ASSERT_EQ(KM_ERROR_OK, Encrypt());
[all...]
H A Decies_kem.cpp75 bool EciesKem::Encrypt(const Buffer& peer_public_value, Buffer* output_clear_key, function in class:keymaster::EciesKem
77 return Encrypt(peer_public_value.peek_read(), peer_public_value.available_read(),
82 bool EciesKem::Encrypt(const uint8_t* peer_public_value, size_t peer_public_value_len, function in class:keymaster::EciesKem
H A Decies_kem_test.cpp59 ASSERT_TRUE(kem->Encrypt(peer_public_value, &output_clear_key, &output_encrypted_key));
/system/security/keystore/
H A Dkeystore_cli_v2.cpp186 {"RSA-2048 Encrypt", true, GetRSAEncryptParameters(2048)},
187 {"RSA-3072 Encrypt", false, GetRSAEncryptParameters(3072)},
188 {"RSA-4096 Encrypt", false, GetRSAEncryptParameters(4096)},
399 int Encrypt(const std::string& key_name, const std::string& input_filename, function in namespace:__anon1900
457 return Encrypt(command_line->GetSwitchValueASCII("name"),
/system/tpm/attestation/client/
H A Dmain.cc201 task = base::Bind(&ClientLoop::Encrypt,
401 void Encrypt(const std::string& label, function in class:attestation::ClientLoop

Completed in 335 milliseconds