summaryrefslogtreecommitdiff
path: root/security/keymint/aidl/vts/functional/AttestKeyTest.cpp
diff options
context:
space:
mode:
authorDavid Drysdale <drysdale@google.com>2021-04-13 11:15:51 +0100
committerDavid Drysdale <drysdale@google.com>2021-04-30 14:50:14 +0100
commitbb3d85eaa4c8564ea864df2dd5abea8c585e0408 (patch)
tree3ed50481d64bedf3a83fc7ae461a0fd9868a1b8b /security/keymint/aidl/vts/functional/AttestKeyTest.cpp
parent7de9febd174214cfb9ac65ada12c2ceb988cd19d (diff)
Test for patchlevels and too much entropy
Add tests for: - Too much entropy should be rejected with INVALID_INPUT_LENGTH - All authorization lists should include a vendor and boot patchlevel. These requirements are in both the KeyMint and the KeyMaster 4.0 AIDL specificications, but have never been policed before. Currently disabled with a command-line flag because CF does not have the patchlevels and so fails lots of tests. Test: VtsKeyMintAidlTargetTest Change-Id: Ic9622ef3f1b80e013a34059218e3e029f392eb72
Diffstat (limited to 'security/keymint/aidl/vts/functional/AttestKeyTest.cpp')
0 files changed, 0 insertions, 0 deletions