summaryrefslogtreecommitdiff
path: root/identity/support/src/cppbor_parse.cpp
diff options
context:
space:
mode:
authorMatthew Maurer <mmaurer@google.com>2019-05-13 09:52:12 -0700
committerMatthew Maurer <mmaurer@google.com>2019-05-13 09:52:12 -0700
commit66f842ceec0948a288b6ca5ea7b1dfc2640377ca (patch)
treef21bef88e5ff3473a0a90a9c76270b986cf5073c /identity/support/src/cppbor_parse.cpp
parent48f0efb302d486600f6a4b3e3bcc61ac6088df81 (diff)
Allow INVALID_INPUT_LENGTH for oversized messages
In Keymaster 3, both INVALID_INPUT_LENGTH and INVALID_ARGUMENT were acceptable for oversized messages. Keymaster 4 VTS requires that INVALID_ARGUMENT be returned, but the spec has no such restriction. This loosens VTS to allow either INVALID_INPUT_LENGTH or INVALID_ARGUMENT in this case. Bug: 129297054 Test: atest VtsHalKeymasterV4_0TargetTest Pixel 3, Trusty tests
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions