Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12ee2832 authored by Eran Messeri's avatar Eran Messeri
Browse files

Annotate some TODOs

There are two tags that cannot be currently removed but should be
removed in KeyMint V2. Mark them as deprecated and point to the bug
for deletion.

Bug: 183737811
Test: That it compiles.
Change-Id: I98b96cc8c49eb339a998d0abed9216aa57f6b19f
Merged-In: I80ccaedeb777fdb249a8cb021db6628da32d6029
parent 4f53440f
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -293,6 +293,8 @@ enum Tag {
     * fails because the table is full, KeyMint returns ErrorCode::TOO_MANY_OPERATIONS.
     *
     * Must be hardware-enforced.
     *
     * TODO(b/191738660): Remove in KeyMint V2. Currently only used for FDE.
     */
    MIN_SECONDS_BETWEEN_OPS = (3 << 28) /* TagType:UINT */ | 403,

@@ -883,7 +885,8 @@ enum Tag {
    STORAGE_KEY = (7 << 28) /* TagType:BOOL */ | 722,

    /**
     * TODO: Delete when keystore1 is deleted.
     * OBSOLETE: Do not use. See IKeyMintOperation.updateAad instead.
     * TODO(b/191738660): Remove in KeyMint v2.
     */
    ASSOCIATED_DATA = (9 << 28) /* TagType:BYTES */ | 1000,