Merge "Fix documentation of EARLY_BOOT_ONLY tag in KeyMint" am: 49e5b5eacc

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1650387

Change-Id: I2667024b9db2ab5a730d82daabba51580f464e19
This commit is contained in:
Shawn Willden 2021-04-01 15:01:45 +00:00 committed by Automerger Merge Worker
commit 3362fae7c3

View file

@ -249,8 +249,11 @@ enum Tag {
HARDWARE_TYPE = (1 << 28) /* TagType:ENUM */ | 304,
/**
* Keys tagged with EARLY_BOOT_ONLY may only be used, or created, during early boot, until
* IKeyMintDevice::earlyBootEnded() is called.
* Keys tagged with EARLY_BOOT_ONLY may only be used during early boot, until
* IKeyMintDevice::earlyBootEnded() is called. Early boot keys may be created after
* early boot. Early boot keys may not be imprted at all, if Tag::EARLY_BOOT_ONLY is
* provided to IKeyMintDevice::importKey, the import must fail with
* ErrorCode::INVALID_ARGUMENT.
*/
EARLY_BOOT_ONLY = (7 << 28) /* TagType:BOOL */ | 305,