commit | f6bb54baf06c5f758d4d083f1b419789d20800af | [log] [tgz] |
---|---|---|
author | Hasini Gunasinghe <[email protected]> | Mon Oct 16 22:40:05 2023 +0000 |
committer | Hasini Gunasinghe <[email protected]> | Wed Nov 08 20:05:36 2023 +0000 |
tree | 40f5534d3cf77908086c6b3c224a9a00e95df7ad | |
parent | cd915a87a1f52e96e6fddc412ece2c79b30977a7 [diff] |
Add unit tests for protocol downgrade prevention This CL adds unit tests for when source and sink have different versions and for testing version downgrade prevention when both parties have versions newer than 1. In addition, following two minor changes are included: 1. Fix error codes 2. Change the context used for key derivation as per code review comment on the AIDL CL. Test: atest libauthgraph_boringssl_test Change-Id: I05de0e05add07141c03b007bcf84b688cc487c7f