platform_hardware_interfaces/security/sharedsecret/aidl
Ryan Prichard b2c9d5c9a6 Fix nonce uniqueness tests
std::unique consolidates the unique nonces at the start of the `nonces`
vector, but it doesn't modify nonces.size(), so these tests weren't
actually verifying that the nonces were unique. Add a vector::erase
call to shrink the vector.

After upgrading libc++, std::unique is [[nodiscard]] and this bug is
a compiler error.

Bug: 175635923
Test: treehugger
Test: m VtsAidlSharedSecretTargetTest VtsHalKeymasterV4_0TargetTest
Change-Id: I7fd8c40a3920bf3a8988c8065503c78ba36dc742
2023-09-20 16:11:35 -07:00
..
aidl_api/android.hardware.security.sharedsecret Freeze AIDL APIs for SC 2021-05-25 10:13:26 +09:00
android/hardware/security/sharedsecret KeyMint HALs: clarifications 2022-06-17 09:25:32 +01:00
vts/functional Fix nonce uniqueness tests 2023-09-20 16:11:35 -07:00
Android.bp Remove AIDL-libs from VNDK 2022-06-14 16:42:42 +09:00