diff options
author | nagendra modadugu <ngm@google.com> | 2016-03-04 16:59:27 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-03-08 01:53:15 +0000 |
commit | 7709a63d45f6f782230326c16be7bfa149e9e497 (patch) | |
tree | e505ea29ea9a2bd9592abcb5c374b34e4a0d65c9 /tpm_types.h | |
parent | ddd74566acf751be7109b34ef1e5e52100c3e23a (diff) | |
download | tpm2-7709a63d45f6f782230326c16be7bfa149e9e497.tar.gz |
Disable algorithms ECDAA, ECSCHNORR, and SM2.
Disable optional algorithms that are currently
unimplemented. This will allow the TPM2 suite
to run the appropriate sub-set of tests.
TEST=compilation succeeds
BRANCH=none
BUG=chrome-os-partner:43025,chrome-os-partner:47524
Change-Id: I3165eba4eaeaeec0c9e9242b6cee33d3b0bca452
Signed-off-by: nagendra modadugu <ngm@google.com>
Reviewed-on: https://chromium-review.googlesource.com/330872
Commit-Ready: Nagendra Modadugu <ngm@google.com>
Tested-by: Nagendra Modadugu <ngm@google.com>
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'tpm_types.h')
-rw-r--r-- | tpm_types.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tpm_types.h b/tpm_types.h index eec5e48..63f8918 100644 --- a/tpm_types.h +++ b/tpm_types.h @@ -1119,9 +1119,12 @@ typedef union { #ifdef TPM_ALG_ECDSA TPMS_SIG_SCHEME_ECDSA ecdsa; #endif -#ifdef TPM_ALG_ECDAA +// TODO(ngm): ECDAA is not currently supported, +// but this field has unguarded references in +// CryptUtil.c, so allow its inclusion. +// #ifdef TPM_ALG_ECDAA TPMS_SIG_SCHEME_ECDAA ecdaa; -#endif +// #endif #ifdef TPM_ALG_SM2 TPMS_SIG_SCHEME_SM2 sm2; #endif |