From cdf8ed3f6f3e735534729b18cc8cbd33015b92f6 Mon Sep 17 00:00:00 2001 From: David Drysdale Date: Mon, 13 Feb 2023 12:05:43 +0000 Subject: [PATCH] RKP spec: fix public key info description The PartyInfo for a P-256 public key is encoded as (x||y) not (0x04||x||y). Test: VtsHalRemotelyProvisionedComponentTargetTest Change-Id: Iae5dc624228d4e1e538e230968443925ec8b55fc --- .../aidl/android/hardware/security/keymint/ProtectedData.aidl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/rkp/aidl/android/hardware/security/keymint/ProtectedData.aidl b/security/rkp/aidl/android/hardware/security/keymint/ProtectedData.aidl index 57ee8cf25b..de9426434b 100644 --- a/security/rkp/aidl/android/hardware/security/keymint/ProtectedData.aidl +++ b/security/rkp/aidl/android/hardware/security/keymint/ProtectedData.aidl @@ -70,7 +70,7 @@ parcelable ProtectedData { * ; HKDF. See details on use in ProtectedData comments above. The public key data * ; included in the other field of PartyUInfo / PartyVInfo is encoded as: * ; - a raw 32-byte public key for X25519 - * ; - uncompressed SEC-1 coordinate data (0x04 || x || y) for P-256 + * ; - raw coordinate data (x || y) for P-256 * Context = [ * AlgorithmID : 3 ; AES-GCM 256 * PartyUInfo : [