diff options
author | Max Bires <jbires@google.com> | 2019-11-05 16:44:37 -0800 |
---|---|---|
committer | Max Bires <jbires@google.com> | 2019-11-12 09:35:18 -0800 |
commit | ff02baaca913759a64469c8324ad481ece4f41bc (patch) | |
tree | 73b7c4beba16ffb3885ee24c217a48d2b7adbf0d /identity/support/src/cppbor_parse.cpp | |
parent | f581c60f088350ee5fd65af24e8422f24b830aeb (diff) |
Adding test to check another ASN.1 Encoding Case
This test will check that the length of the attestation application id
field will be properly encoded in valid DER ASN.1 in cases where the
length is long enough to require extra bytes to encode. In those cases,
the encoding of that field should include:
-A byte to specify how many bytes are required to enumerate the length
-The bytes required to enumerate the length
-The actual data that follows
Bug: 142674020
Test: atest keymaster_hidl_hal_test
Change-Id: I6d162efa4c8c6e0922989e234d0377caf3c1758e
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions