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

Commit 520cf0be authored by Crystal Qin's avatar Crystal Qin
Browse files

Add the new key purpose to types.hal as well.

Test: There will be a cts test cl submitted together.
Change-Id: I8a84f10b8963001a24afe089ae79bedea00f8564
parent 6e3cb80c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -241,6 +241,7 @@ enum KeyPurpose : uint32_t {
    SIGN = 2,       /* Usable with RSA, EC and HMAC keys. */
    VERIFY = 3,     /* Usable with RSA, EC and HMAC keys. */
    DERIVE_KEY = 4, /* Usable with EC keys. */
    WRAP_KEY = 5,   /* Usable with wrapping keys. */
};

/**