Merge "Document the allowed challenge size" into main am: 4f73689e26

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

Change-Id: Ifd5b1ef1e80649d43119fe0f8edd5cb51efaebaf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Eran Messeri
2023-11-02 14:26:30 +00:00
committed by Automerger Merge Worker

View File

@@ -643,6 +643,8 @@ enum Tag {
* Tag::ATTESTATION_CHALLENGE is used to deliver a "challenge" value to the attested key
* generation/import methods, which must place the value in the KeyDescription SEQUENCE of the
* attestation extension.
* The challenge value may be up to 128 bytes. If the caller provides a bigger challenge,
* INVALID_INPUT_LENGTH error should be returned.
*
* Must never appear in KeyCharacteristics.
*/