Home
last modified time | relevance | path

Searched refs:Decrypt (Results 1 – 7 of 7) sorted by relevance

/system/keymaster/include/keymaster/km_openssl/
Dkem.h47 virtual bool Decrypt(EC_KEY* private_key, const Buffer& encrypted_key, Buffer* output_key) = 0;
48 virtual bool Decrypt(EC_KEY* private_key, const uint8_t* encrypted_key,
Decies_kem.h47 bool Decrypt(EC_KEY* private_key, const Buffer& encrypted_key, Buffer* output_key) override;
48 bool Decrypt(EC_KEY* private_key, const uint8_t* encrypted_key, size_t encrypted_key_len,
/system/bt/btif/test/
Dbtif_keystore_test.cc44 std::string decrypted_hash = btif_keystore_->Decrypt(encrypted_hash); in TEST_F()
61 std::string decrypted_hash = btif_keystore_->Decrypt(hash); in TEST_F()
/system/keymaster/km_openssl/
Decies_kem.cpp129 bool EciesKem::Decrypt(EC_KEY* private_key, const Buffer& encrypted_key, Buffer* output_key) { in Decrypt() function in keymaster::EciesKem
130 return Decrypt(private_key, encrypted_key.peek_read(), encrypted_key.available_read(), in Decrypt()
135 bool EciesKem::Decrypt(EC_KEY* private_key, const uint8_t* encrypted_key, size_t encrypted_key_len, in Decrypt() function in keymaster::EciesKem
/system/keymaster/tests/
Dkey_blob_test.cpp72 keymaster_error_t Decrypt() { in Decrypt() function in keymaster::test::KeyBlobTest
164 ASSERT_EQ(KM_ERROR_INVALID_KEY_BLOB, Decrypt()); in TEST_F()
179 ASSERT_EQ(KM_ERROR_INVALID_KEY_BLOB, Decrypt()); in TEST_F()
195 ASSERT_EQ(KM_ERROR_INVALID_KEY_BLOB, Decrypt()); in TEST_F()
230 ASSERT_EQ(KM_ERROR_INVALID_KEY_BLOB, Decrypt()); in TEST_F()
251 ASSERT_EQ(KM_ERROR_INVALID_KEY_BLOB, Decrypt()); in TEST_F()
Decies_kem_test.cpp64 kem->Decrypt(key_exchange->private_key(), output_encrypted_key, &decrypted_clear_key)); in TEST()
/system/security/keystore/
Dkeystore_cli_v2.cpp946 int Decrypt(const std::string& key_name, const std::string& input_filename, in Decrypt() function
1119 return Decrypt(command_line->GetSwitchValueASCII("name"), in main()