aboutsummaryrefslogtreecommitdiff
path: root/Global.h
AgeCommit message (Collapse)Author
2016-12-15Add a build-time assert for sizeof(OBJECT)nagendra modadugu
Add a build assert that checks the sizeof the tpm2 OBJECT struct. This check indicates that NV_FORMAT_VERSION needs to be bumped, due to a change to tpm2 data structures. BRANCH=none BUG=none TEST=build succeeds Change-Id: Id6cddd7bec10ebf0aa78e2199826fb6e1ff4fd8c Signed-off-by: nagendra modadugu <ngm@google.com> Reviewed-on: https://chromium-review.googlesource.com/419120 Commit-Ready: Nagendra Modadugu <ngm@google.com> Tested-by: Nagendra Modadugu <ngm@google.com> Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
2016-01-29Don't use setjmp.h in EMBEDDED modeStefan Reinauer
The code calling setjmp is not enabled in EMBEDDED mode, so make sure we don't require setjmp.h either. Signed-off-by: Stefan Reinauer <reinauer@chromium.org> BRANCH=none BUG=chrome-of-partner:49517 TEST=compile tested Change-Id: I11d28c4d4f1d55a3b9dae3e1e6450e762403391b Reviewed-on: https://chromium-review.googlesource.com/324542 Commit-Ready: Stefan Reinauer <reinauer@chromium.org> Tested-by: Stefan Reinauer <reinauer@chromium.org> Reviewed-by: Bill Richardson <wfrichar@chromium.org>
2015-05-20Initial commit to seed TPM2.0 source code directoryVadim Bendebury
LICENSE file text copied from TCG library specification. README describes the procedure used to extract source code from parts 3 and 4 of the specification. The python scripts and part{34}.txt files will be removed in the following commits. Change-Id: Ie281e6e988481831f33483053455e8aff8f3f75f Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>