libbrillo: Add SecureClear for C-style arrays and generic objects

BUG=b:169602629
TEST=CQ passes

Cq-Depend: chromium:2561033
Change-Id: I2e91295cf3232d9d4ae1cc4db7b93f781f4844fe
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform2/+/2543467
Tested-by: Tom Hughes <tomhughes@chromium.org>
Commit-Queue: Tom Hughes <tomhughes@chromium.org>
Reviewed-by: Hidehiko Abe <hidehiko@chromium.org>
Reviewed-by: Eric Caruso <ejcaruso@chromium.org>
GitOrigin-RevId: 05df1df87d8df5a7e91b4e574788a775b3fa21e2
2 files changed
tree: b993269b2df33669b28eb33579f1c415eac29678
  1. brillo/
  2. install_attributes/
  3. policy/
  4. BUILD.gn
  5. libpolicy.ver
  6. OWNERS
  7. PRESUBMIT.cfg
  8. README.md
  9. testrunner.cc
README.md

libbrillo: platform utility library

libbrillo is a shared library meant to hold common utility code that we deem useful for platform projects. It supplements the functionality provided by libbase/libchrome since that project, by design, only holds functionality that Chromium (the browser) needs. As a result, this tends to be more OS-centric code.

AOSP Usage

This project is also used by Update Engine which is maintained in AOSP. However, AOSP doesn't use this codebase directly, it maintains its own libbrillo fork.

To help keep the projects in sync, we have a gsubtree set up on our GoB: https://chromium.googlesource.com/chromiumos/platform2/libbrillo/

This allows AOSP to cherry pick or merge changes directly back into their fork.