/system/keymaster/include/keymaster/km_openssl/ |
D | kem.h | 47 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,
|
D | ecies_kem.h | 47 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/ |
D | btif_keystore_test.cc | 44 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/ |
D | ecies_kem.cpp | 129 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/ |
D | key_blob_test.cpp | 72 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()
|
D | ecies_kem_test.cpp | 66 kem->Decrypt(key_exchange->private_key(), output_encrypted_key, &decrypted_clear_key)); in TEST()
|
/system/core/adb/pairing_auth/ |
D | pairing_auth.cpp | 73 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()
|
D | aes_128_gcm.cpp | 64 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/ |
D | aes_128_gcm.h | 48 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/ |
D | aes_128_gcm_test.cpp | 55 auto decrypted_size = bob.Decrypt(encrypted, *encrypted_size, out_buf, out_size); in TEST()
|
/system/security/keystore/ |
D | keystore_cli_v2.cpp | 460 int Decrypt(const std::string& key_name, const std::string& input_filename, in Decrypt() function 654 return Decrypt(command_line->GetSwitchValueASCII("name"), in main()
|