commit | e2e2d308df2da26838de32852318bc2cb690d052 | [log] [tgz] |
---|---|---|
author | Pavel Grafov <pgrafov@google.com> | Tue Aug 01 17:15:53 2017 +0100 |
committer | Pavel Grafov <pgrafov@google.com> | Thu Aug 10 17:31:03 2017 +0100 |
tree | 6637d5b5af5d3dc50fe68edc6dc0525f3ea92983 | |
parent | 53deec14b8418abbc1a6f30ff89629710437279f [diff] |
Zero memory used for encryuption keys. std::vector with custom zeroing allocator is used instead of std::string for data that can contain encryption keys. Bug: 64201177 Test: manually created a managed profile, changed it's credentials Test: manually upgraded a phone with profile from O to MR1. Change-Id: Ic31877049f69eba9f8ea64fd99acaaca5a01d3dd