• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tpm2-software / tpm2-tools / 1190
100%
master: 0%

Build:
Build:
LAST BUILD BRANCH: 3.X
DEFAULT BRANCH: master
Ran 28 Nov 2017 06:59PM UTC
Jobs 1
Files 915
Run time 35s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1190

push

travis-ci

William Roberts
lib: mask TPM_RC to only get the bits set by the TPM

The TPM only uses the lower 12 bits from the 32 bits of TPM_RC, the other
layers uses some of the higher unused 20 bits to indicate from which layer
of the stack the error comes from.

So mask the low-order 12 bits of the TPM_RC variable instead comparing TPM
response codes directly. There's no need to mask when the check is against
TPM_RC_SUCCESS, since in this case the upper 20 bits are going to be zero.

Fixes: #646

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>

3822 of 5724 relevant lines covered (66.77%)

40.47 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1190.1 28 Nov 2017 06:59PM UTC 0
66.77
Travis Job 1190.1
Source Files on build 1190
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1190
  • 48ed8546 on github
  • Prev Build on 3.X (#1188)
  • Next Build on 3.X (#1194)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc