summaryrefslogtreecommitdiff
path: root/identity/support/src/cppbor_parse.cpp
diff options
context:
space:
mode:
authorMichael Butler <butlermichael@google.com>2020-11-22 19:36:30 -0800
committerMichael Butler <butlermichael@google.com>2020-12-07 22:37:28 -0800
commit6547b2ac9c963d92fa80e822963240fe07a7da9f (patch)
tree7bb08cfd7161fb5eb5a86b6c56c062acb8387dd2 /identity/support/src/cppbor_parse.cpp
parenta173639924a79e8b04497199f4c021ec0b70ce40 (diff)
Validate during NN conversions by default -- hal
This change renames all `convert` functions to `unvalidatedConvert`. This change also introduces new `convert` functions that act only on the types that appear in the NN HIDL methods directly. These new `convert` functions perform validation. Specifically, if either the source or destination value is invalid, then the conversion fails. Bug: 160667419 Test: mma Test: NeuralNetworksTest_static Change-Id: I492956ff60ad1466c67893993d28cdd6f3860708 Merged-In: I492956ff60ad1466c67893993d28cdd6f3860708 (cherry picked from commit 32acc0614402a35eed3407116ec359f4fdb60ecc)
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions