Skip to content
Commit 5d33c465 authored by Tianjie's avatar Tianjie
Browse files

Load and generate key from keystore in reboot escrow

According to the design, we need to wrap both reboot escrow key
and reboot escrow data with an additional key from android
keystore. The new key in keystore is created upon a new resume on
reboot request, and cleared after decryption is attempted at boot
time.

Bug: 172780686
Test: atest FrameworksServicesTests:RebootEscrowDataTest \
            FrameworksServicesTests:LockSettingsServiceTests \
            FrameworksServicesTests:RecoverySystemServiceTest \
            FrameworksServicesTests:RebootEscrowManagerTests

Change-Id: Ie2b5f559fb5d3217337e31b0dff507b98715384d
parent a8cc70b5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment