Merge "Updated the description for APPLICATION_ID and APPLICATION_DATA" am: 6cd7c6295b

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

Change-Id: I0208be8c5c3c261054e07883c2116a7c777a9ef1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
David Drysdale
2022-05-04 06:32:47 +00:00
committed by Automerger Merge Worker

View File

@@ -504,7 +504,9 @@ enum Tag {
* that is necessary during all uses of the key. In particular, calls to exportKey() and
* getKeyCharacteristics() must provide the same value to the clientId parameter, and calls to
* begin() must provide this tag and the same associated data as part of the inParams set. If
* the correct data is not provided, the method must return ErrorCode::INVALID_KEY_BLOB.
* the correct data is not provided, the method must return ErrorCode::INVALID_KEY_BLOB. Note
* that a key with a zero-length APPLICATION_ID cannot have its key characteristics retrieved
* using getKeyCharacteristics() due to a historical limitation of the API.
*
* The content of this tag must be bound to the key cryptographically, meaning it must not be
* possible for an adversary who has access to all of the secure world secrets but does not have
@@ -525,7 +527,9 @@ enum Tag {
* that is necessary during all uses of the key. In particular, calls to begin() and
* exportKey() must provide the same value to the appData parameter, and calls to begin must
* provide this tag and the same associated data as part of the inParams set. If the correct
* data is not provided, the method must return ErrorCode::INVALID_KEY_BLOB.
* data is not provided, the method must return ErrorCode::INVALID_KEY_BLOB. Note that a key
* with a zero-length APPLICATION_DATA cannot have its key characteristics retrieved using
* getKeyCharacteristics() due to a historical limitation of the API.
*
* The content of this tag must be bound to the key cryptographically, meaning it must not be
* possible for an adversary who has access to all of the secure world secrets but does not have