commit | a105a9b907cfd57067a513ed77841994cb2bf5c3 | [log] [tgz] |
---|---|---|
author | Shikha Panwar <shikhapanwar@google.com> | Fri Dec 22 10:32:15 2023 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Dec 22 10:32:15 2023 +0000 |
tree | 619b82b292c1ac340536df0e4297df757318d9d6 | |
parent | d50f545edb49fe2914b5fd0dd9ffc1e549a59a0e [diff] | |
parent | 5f20ea7b016ae0a410dc3f97061074a9d0f7d007 [diff] |
Merge "Secretkeeper: Use byte[64] as SecretId" into main am: 5f20ea7b01 Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2888966 Change-Id: Ie637b4b710203e3dfb9be920f75b9d1abb8cbb70 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/security/secretkeeper/aidl/aidl_api/android.hardware.security.secretkeeper/current/android/hardware/security/secretkeeper/SecretId.aidl b/security/secretkeeper/aidl/aidl_api/android.hardware.security.secretkeeper/current/android/hardware/security/secretkeeper/SecretId.aidl index 87d0233..9887066 100644 --- a/security/secretkeeper/aidl/aidl_api/android.hardware.security.secretkeeper/current/android/hardware/security/secretkeeper/SecretId.aidl +++ b/security/secretkeeper/aidl/aidl_api/android.hardware.security.secretkeeper/current/android/hardware/security/secretkeeper/SecretId.aidl
@@ -35,5 +35,5 @@ /* @hide */ @VintfStability parcelable SecretId { - byte[] id; + byte[64] id; }
diff --git a/security/secretkeeper/aidl/android/hardware/security/secretkeeper/SecretId.aidl b/security/secretkeeper/aidl/android/hardware/security/secretkeeper/SecretId.aidl index bd982e7..b17917f 100644 --- a/security/secretkeeper/aidl/android/hardware/security/secretkeeper/SecretId.aidl +++ b/security/secretkeeper/aidl/android/hardware/security/secretkeeper/SecretId.aidl
@@ -25,5 +25,5 @@ /** * 64-byte identifier for a secret. */ - byte[] id; + byte[64] id; }
diff --git a/security/secretkeeper/aidl/vts/secretkeeper_test_client.rs b/security/secretkeeper/aidl/vts/secretkeeper_test_client.rs index 5d1306a..994f581 100644 --- a/security/secretkeeper/aidl/vts/secretkeeper_test_client.rs +++ b/security/secretkeeper/aidl/vts/secretkeeper_test_client.rs
@@ -233,7 +233,7 @@ fn delete(&self, ids: &[&Id]) { let ids: Vec<SecretId> = ids .iter() - .map(|id| SecretId { id: id.0.to_vec() }) + .map(|id| SecretId { id: id.0 }) .collect(); self.sk.deleteIds(&ids).unwrap(); }