diff options
author | Shawn Willden <swillden@google.com> | 2015-06-18 12:16:17 -0600 |
---|---|---|
committer | Shawn Willden <swillden@google.com> | 2015-06-18 21:20:47 -0600 |
commit | 396d6cbce987deac076ac1a636d3f7282ec9338d (patch) | |
tree | c98aba2b680aeabd9c28c7f483ab56a01435f5bd /include | |
parent | 7ac0c0f5ad1a7f5cc317b8f8d356edbb7f02ed24 (diff) | |
download | hardware_libhardware-396d6cbce987deac076ac1a636d3f7282ec9338d.zip hardware_libhardware-396d6cbce987deac076ac1a636d3f7282ec9338d.tar.gz hardware_libhardware-396d6cbce987deac076ac1a636d3f7282ec9338d.tar.bz2 |
Add new error codes for rate-limit and max-use failures.
Bug: 21607106
Change-Id: I2e5515efe51b84200ade8c4c4cc5db3800d4b658
Diffstat (limited to 'include')
-rw-r--r-- | include/hardware/keymaster_defs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hardware/keymaster_defs.h b/include/hardware/keymaster_defs.h index b21035c..04d1228 100644 --- a/include/hardware/keymaster_defs.h +++ b/include/hardware/keymaster_defs.h @@ -333,7 +333,9 @@ typedef enum { KM_ERROR_MISSING_NONCE = -51, KM_ERROR_INVALID_NONCE = -52, KM_ERROR_MISSING_MAC_LENGTH = -53, + KM_ERROR_KEY_RATE_LIMIT_EXCEEDED = -54, KM_ERROR_CALLER_NONCE_PROHIBITED = -55, + KM_ERROR_KEY_MAX_OPS_EXCEEDED = -56, KM_ERROR_UNIMPLEMENTED = -100, KM_ERROR_VERSION_MISMATCH = -101, |