Home
last modified time | relevance | path

Searched defs:plaintext (Results 1 – 16 of 16) sorted by relevance

/system/webservd/webservd/
Dfake_encryptor.cc25 bool EncryptWithAuthentication(const std::string& plaintext, in EncryptWithAuthentication()
32 std::string* plaintext) override { in DecryptWithAuthentication()
Dkeystore_encryptor.cc39 bool KeystoreEncryptor::EncryptWithAuthentication(const std::string& plaintext, in EncryptWithAuthentication()
46 std::string* plaintext) { in DecryptWithAuthentication()
/system/weaved/buffet/
Dfake_encryptor.cc25 bool EncryptWithAuthentication(const std::string& plaintext, in EncryptWithAuthentication()
32 std::string* plaintext) override { in DecryptWithAuthentication()
Dkeystore_encryptor.cc39 bool KeystoreEncryptor::EncryptWithAuthentication(const std::string& plaintext, in EncryptWithAuthentication()
46 std::string* plaintext) { in DecryptWithAuthentication()
Dbuffet_config_unittest.cc93 bool EncryptWithAuthentication(const std::string& plaintext, in EncryptWithAuthentication()
99 std::string* plaintext) override { in DecryptWithAuthentication()
/system/connectivity/shill/
Dcrypto_rot47.cc31 bool CryptoROT47::Encrypt(const string& plaintext, string* ciphertext) { in Encrypt()
48 bool CryptoROT47::Decrypt(const string& ciphertext, string* plaintext) { in Decrypt()
Dcrypto_provider.cc47 string CryptoProvider::Encrypt(const string& plaintext) { in Encrypt()
65 string plaintext; in Decrypt() local
Dcrypto_des_cbc.cc42 bool CryptoDESCBC::Encrypt(const string& plaintext, string* ciphertext) { in Encrypt()
48 bool CryptoDESCBC::Decrypt(const string& ciphertext, string* plaintext) { in Decrypt()
Dcrypto_des_cbc_unittest.cc105 string plaintext; in TEST_F() local
/system/keymaster/
Docb_utils.cpp121 const KeymasterKeyBlob& plaintext, const Buffer& nonce, in OcbEncryptKey()
158 const Buffer& tag, KeymasterKeyBlob* plaintext) { in OcbDecryptKey()
Dandroid_keymaster_test.cpp1917 string plaintext = DecryptMessage(ciphertext, KM_MODE_ECB, KM_PAD_PKCS7); in TEST_P() local
1974 string plaintext = DecryptMessage(ciphertext, KM_PAD_NONE); in TEST_P() local
2095 string plaintext = DecryptMessage(ciphertext, KM_DIGEST_SHA_2_256, KM_PAD_RSA_OAEP); in TEST_P() local
2112 string plaintext = DecryptMessage(ciphertext, KM_DIGEST_SHA_2_224, KM_PAD_RSA_OAEP); in TEST_P() local
2257 string plaintext = DecryptMessage(ciphertext, KM_PAD_RSA_PKCS1_1_5_ENCRYPT); in TEST_P() local
2295 string plaintext = DecryptMessage(ciphertext, digest, padding); in TEST_P() local
2394 string plaintext = DecryptMessage(ciphertext1, KM_MODE_ECB, KM_PAD_NONE); in TEST_P() local
2447 string plaintext = DecryptMessage(ciphertext, KM_MODE_ECB, KM_PAD_PKCS7); in TEST_P() local
2488 string plaintext; in TEST_P() local
2517 string plaintext = DecryptMessage(ciphertext1, KM_MODE_CTR, KM_PAD_NONE, iv1); in TEST_P() local
[all …]
Dkey_blob_test.cpp117 KeymasterKeyBlob plaintext; in TEST_F() local
/system/tpm/trunks/
Dtrunks_client_test.cc494 std::string plaintext; in PolicyAuthValueTest() local
661 std::string plaintext; in PolicyAndTest() local
783 std::string plaintext; in PolicyOrTest() local
972 std::string plaintext; in PerformRSAEncrpytAndDecrpyt() local
Dtrunks_factory_for_test.cc177 const std::string& plaintext, in AsymmetricEncrypt()
193 std::string* plaintext) override { in AsymmetricDecrypt()
205 const std::string& plaintext, in Sign()
219 const std::string& plaintext, in Verify()
Dtpm_utility_impl.cc58 std::string HashString(const std::string& plaintext, in HashString()
412 const std::string& plaintext, in AsymmetricEncrypt()
477 std::string* plaintext) { in AsymmetricDecrypt()
544 const std::string& plaintext, in Sign()
623 const std::string& plaintext, in Verify()
Dtpm_utility_test.cc488 std::string plaintext; in TEST_F() local
517 std::string plaintext; in TEST_F() local
539 std::string plaintext; in TEST_F() local
557 std::string plaintext; in TEST_F() local
587 std::string plaintext; in TEST_F() local
616 std::string plaintext; in TEST_F() local
647 std::string plaintext; in TEST_F() local
671 std::string plaintext; in TEST_F() local
691 std::string plaintext; in TEST_F() local
701 std::string plaintext; in TEST_F() local
[all …]