Home
last modified time | relevance | path

Searched refs:Decrypt (Results 1 – 11 of 11) 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
151 ASSERT_EQ(KM_ERROR_INVALID_KEY_BLOB, Decrypt()); in TEST_F()
168 ASSERT_EQ(KM_ERROR_INVALID_KEY_BLOB, Decrypt()); in TEST_F()
185 ASSERT_EQ(KM_ERROR_INVALID_KEY_BLOB, Decrypt()); in TEST_F()
222 ASSERT_EQ(KM_ERROR_INVALID_KEY_BLOB, Decrypt()); in TEST_F()
245 ASSERT_EQ(KM_ERROR_INVALID_KEY_BLOB, Decrypt()); in TEST_F()
Decies_kem_test.cpp66 kem->Decrypt(key_exchange->private_key(), output_encrypted_key, &decrypted_clear_key)); in TEST()
/system/core/adb/pairing_auth/
Dpairing_auth.cpp73 Data Decrypt(const Data& data);
180 PairingAuthCtx::Data PairingAuthCtx::Decrypt(const PairingAuthCtx::Data& data) { in Decrypt() function in PairingAuthCtx
187 auto out_size = cipher_->Decrypt(data.data(), data.size(), decrypted.data(), decrypted_size); in Decrypt()
287 auto out = ctx->Decrypt(in); in pairing_auth_decrypt()
Daes_128_gcm.cpp64 std::optional<size_t> Aes128Gcm::Decrypt(const uint8_t* in, size_t in_len, uint8_t* out, in Decrypt() function in adb::pairing::Aes128Gcm
/system/core/adb/pairing_auth/include/adb/pairing/
Daes_128_gcm.h48 std::optional<size_t> Decrypt(const uint8_t* in, size_t in_len, uint8_t* out, size_t out_len);
/system/core/adb/pairing_auth/tests/
Daes_128_gcm_test.cpp55 auto decrypted_size = bob.Decrypt(encrypted, *encrypted_size, out_buf, out_size); in TEST()
/system/security/keystore/
Dkeystore_cli_v2.cpp460 int Decrypt(const std::string& key_name, const std::string& input_filename, in Decrypt() function
654 return Decrypt(command_line->GetSwitchValueASCII("name"), in main()