Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c948c80b authored by Eric Biggers's avatar Eric Biggers
Browse files

ArrayUtils: add secure zeroization support

Add methods for allocating non-movable byte and char arrays, and methods
that make a best effort to securely zeroize byte and char arrays.

These methods will be used in code that handles the user's lockscreen
credential and the secrets derived or unlocked from it.  These methods
provide the needed low-level primitives, and when possible they will be
accessed through helper classes such as LockscreenCredential.

Bug: 320392352
Test: atest FrameworksUtilTests:ArrayUtilsTest
Change-Id: I51b195dd3a26e6c3074bf70a864b147eea7b18b9
parent c947e10e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment