Trusty KeyMint: support boot,vendor patchlevels
- Add CONFIGURE_{VENDOR,BOOT}_PATCHLEVEL messages to
keymaster_ipc.h
- Map CONFIGURE_{VENDOR,BOOT}_PATCHLEVEL messages through to
AndroidKeymaster::Configure{Vendor,Boot}Patchlevel()
- Implement {Get,Set}{Vendor,Boot}PatchLevels() methods for
TrustyKeymasterContext
- Optionally include {vendor,boot}_patchlevel in
TrustyKeymasterContext::SetAuthorizations().
- Optionally check {vendor,boot}_patchlevel in
TrustyKeymastercontext::UpgradeKeyBlob().
Test: pending device availability
Bug: 193423844
Change-Id: I13902cd6fd12620c0db0065750e1a6c9cfbf7df6
4 files changed