Age | Commit message (Collapse) | Author |
|
Bug: 160731903
Test: "atest VtsHalGatekeeperV1_0TargetTest"
manual testing with added instrumentation
Change-Id: I79fab5910a344fdec0e7acf62839146e146ac922
|
|
Not actually implemented yet, but will respond to calls.
Also add "-Werror -Wunused-parameter" to rules.mk, since that's
what's used by presubmit build checks.
Bug: 160731903
Test: "atest VtsHalGatekeeperV1_0TargetTest"
manual testing with added instrumentation
Change-Id: I3c9c4d3a2d07f4b018cd7b03691b92a777dd9f0d
|
|
* Copied UniquePtr implementation from system/keymaster
* Added move semantics to SizedBuffer
* Destructor of SizedBuffer now zeroes the buffer upon destruction
* Removed bogus zeroing of SizedBuffer instances
* Replaced new with new(nothrow) and check return value.
* Fixed mixing of serialization errors with serialized error codes in
GateKeeperMessage::Deserialize
Bug: 120610663
Test: gatekeeper-unit-tests
Change-Id: Iad911bafb939fdcec1e3d19f6d1af0fe98cc2080
|
|
UniquePtr is deprecated and will be removed in a near future. Adding
own UniquePtr.h for gatekeeper.
This gatekeeper/UniquePtr.h is copied from global shared lib in Trusty.
Bug: 63686260
Bug: 63866913
Test: build with BOARD_VNDK_VERSION=current and boot
Change-Id: Ibe3bfd39e2381bb0c4a510abd28e1d8cc0eced72
|
|
This reverts commit 05b35791c3079543c680efba0789f03cfddafacb.
...
In file included from system/gatekeeper/gatekeeper.cpp:16:
In file included from system/gatekeeper/include/gatekeeper/gatekeeper.h:22:
libnativehelper/include/nativehelper/UniquePtr.h:20:10: fatal error: 'cstdlib' file not found
#include <cstdlib> // For NULL.
Exempt-From-Owner-Approval: build breakage
Change-Id: Ib6e181046504b2559093ce6d92d9d701a527ba01
|
|
libnativeheader exports headers under nativeheader. These were
available before incorrectly as global headers in order to give
access to jni.h.
Test: modules using system/gatekeeper find headers
Bug: 63762847
Change-Id: I1c238bec06b23ddff0550f3abc7670839f432b1b
|
|
Bug: 21445004
Change-Id: Iac7967c72b4455813a043b24941f9bfd7bf8878e
|
|
- Fix memory leak when acquiring auth token key
Bug: 21118563
Change-Id: I5f840728315eabd080fb23d945722679a692997a
|
|
Change-Id: Ia04c45f758bfa74e7516265347225e786314ef32
|
|
throttling is done in SW now, move directly into gatekeeper
to harden against root brute force attacks.
Bug:21118563
Change-Id: Ie8b22a9e1e6702c9f2007dc7f31e19a1c0fa1696
|
|
Avoid NS overflow
Change-Id: I666416784503ff6268668590366228b440e88570
|
|
Change-Id: Id3069a8bb3a90b7c01c45c2740b9ff618b76086b
|
|
Change-Id: I5d0f14a0bfda5cfc5e483836bb63e76b3334b95d
|
|
Change-Id: Ic7b37bfc296a28bc95885b6582b703d489f8c5ff
|
|
needed for enrollment of auxiliary authenticators
Change-Id: Id2d567fc2736dc7c1960b337b4d4d0d93219ccfc
|
|
Change-Id: I0cd567e3e7badbfc0a7c57e9c9ceb4080dd1290c
|
|
Adds very little security at the cost of lots of complexity.
Change-Id: I6cb94132e5afe977df5f0caefc2953f4d723449d
|
|
Must be compatible with code running
on arbitrary architectures.
Change-Id: I7223f02792929422f21c52024efe073940248fca
|
|
Tests are always good
Change-Id: I445bac5914922a8957707c394bd3aa9746e51eb1
|
|
also remove static initialization as it may not be supported
in all compilation units
Change-Id: I715a2b5ce8c47cbadced2e29a2b5248e02b32136
|
|
We require the lifecycle of the key ptr to be maintained
by the implementation as different constraints may
be placed on keeping keys in memory depending on the
implementation.
Change-Id: I20180029e738e6ee610db0bca53cc136375634e9
|
|
Different architectures will have different ways of getting time.
Goal is to keep GateKeeper base architecture independent so
it's easy to reuse.
Change-Id: I1e3179367607172410fbc2fe1daa011d610e24e7
|
|
Prevents confusion between this component and the
actual Keyguard that shows when the device is locked.
Change-Id: I47bc02b73947d56841ed126aae4eaf007749038a
|