mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Clarify the Weaver documentation am: a4742a0291 am: cf07ed821d am: 6ee7a1e6bc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2665198 Change-Id: Ia0447b51e346c898dce0fd41762285f0ff2b784b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -20,8 +20,8 @@ import android.hardware.weaver.WeaverConfig;
|
||||
import android.hardware.weaver.WeaverReadResponse;
|
||||
|
||||
/**
|
||||
* Weaver provides secure storage of secret values that may only be read if the
|
||||
* corresponding key has been presented.
|
||||
* Weaver provides secure persistent storage of secret values that may only be
|
||||
* read if the corresponding key has been presented.
|
||||
*
|
||||
* The storage must be secure as the device's user authentication and encryption
|
||||
* relies on the security of these values. The cardinality of the domains of the
|
||||
@@ -76,7 +76,8 @@ interface IWeaver {
|
||||
WeaverReadResponse read(in int slotId, in byte[] key);
|
||||
|
||||
/**
|
||||
* Overwrites the identified slot with the provided key and value.
|
||||
* Overwrites the identified slot with the provided key and value, rendering
|
||||
* the previous contents of the slot permanently unrecoverable.
|
||||
*
|
||||
* The new values are written regardless of the current state of the slot in
|
||||
* order to remain idempotent.
|
||||
|
||||
Reference in New Issue
Block a user