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

Commit df0b80e4 authored by Shawn Willden's avatar Shawn Willden Committed by Android (Google) Code Review
Browse files

Merge "Add new error codes for rate-limit and max-use failures." into mnc-dev

parents 43cf8d1e 91526c14
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -191,8 +191,9 @@ public final class KeymasterDefs {
    public static final int KM_ERROR_MISSING_NONCE = -51;
    public static final int KM_ERROR_INVALID_NONCE = -52;
    public static final int KM_ERROR_MISSING_MAC_LENGTH = -53;
    public static final int KM_ERROR_RESCOPABLE_KEY_NOT_USABLE = -54;
    public static final int KM_ERROR_KEY_RATE_LIMIT_EXCEEDED = -54;
    public static final int KM_ERROR_CALLER_NONCE_PROHIBITED = -55;
    public static final int KM_ERROR_KEY_MAX_OPS_EXCEEDED = -56;
    public static final int KM_ERROR_UNIMPLEMENTED = -100;
    public static final int KM_ERROR_VERSION_MISMATCH = -101;
    public static final int KM_ERROR_UNKNOWN_ERROR = -1000;