summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Eric Biggers <ebiggers@google.com> 2022-10-05 23:19:15 +0000
committer Eric Biggers <ebiggers@google.com> 2022-10-11 15:56:34 +0000
commit264b27f819bf33a4e0d2d3b527cbdc76cbc4e84d (patch)
treedfb3584987ffc7d398d808f2f79c42f93368b237 /libs/androidfw/StringPool.cpp
parent026b01f03ef2a3156e1eb6221846c7c7fd6bfc77 (diff)
Eliminate unnecessary work for empty LSKFs
Improve the performance of creating and unlocking the LSKF-based SP protector when the LSKF is empty by using the minimum scrypt parameters, and by skipping the Gatekeeper step when Weaver is unavailable. This also has the "benefit" that it avoids depending on auth-bound keys working correctly for the device to boot when the LSKF is empty. That is relevant when an OEM has not implemented auth-bound keys correctly. Bug: 232452368 Bug: 251131631 Bug: 251147505 Bug: 251398909 Change-Id: Ic58580455a789d177c077d12efe5ab6c0ec2085b
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions