diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2015-10-16 09:35:42 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-10-16 19:46:20 +0000 |
commit | 065e0d7552ad876e067e56dcd8cc2a8f84bd8cc4 (patch) | |
tree | 6e19781e4d2dc07a8e127a72c655499007ca963e /TPM_Types.h | |
parent | 06134407fe531c7c0169e8f90ae84a2bf1a546d4 (diff) | |
download | tpm2-065e0d7552ad876e067e56dcd8cc2a8f84bd8cc4.tar.gz |
Replace TPM_RCS_xxx with TPM_RC_xxx
The code scraped from the TPM2 library uses return code names prefixed
with TPM_RC_. But in a few places in the code the TPM_RCS_ prefix is
used. TPM_RCS_ prefixed values are not defined anywhere, form the code
logic they are equivalent to the corresponding TPM_RC_ prefixed
values.
This patch makes sure the consistent naming is used.
BUG=chrome-os-partner:44608
TEST=the tests still pass.
Change-Id: I342de9bdc6dd1e70e3c8268d38f02c9429980cfc
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/306650
Reviewed-by: Utkarsh Sanghi <usanghi@chromium.org>
Diffstat (limited to 'TPM_Types.h')
-rw-r--r-- | TPM_Types.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/TPM_Types.h b/TPM_Types.h index e931105..4861827 100644 --- a/TPM_Types.h +++ b/TPM_Types.h @@ -162,13 +162,4 @@ enum { RC_ZGen_2Phase_keyA = 0, }; -enum { - TPM_RCS_ATTRIBUTES = TPM_RC_ATTRIBUTES, - TPM_RCS_HANDLE = TPM_RC_HANDLE, - TPM_RCS_KEY = TPM_RC_KEY, - TPM_RCS_SIZE = TPM_RC_SIZE, - TPM_RCS_TYPE = TPM_RC_TYPE, - TPM_RCS_VALUE = TPM_RC_VALUE, -}; - #endif // __TPM2_TPM_TYPES_H |