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

tpm2-software / tpm2-tools / 1214
0%

Build:
DEFAULT BRANCH: master
Ran 28 Nov 2017 11:44PM UTC
Jobs 1
Files 758
Run time 30s
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
1214

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>

3850 of 5706 relevant lines covered (67.47%)

44.01 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1214.1 28 Nov 2017 11:44PM UTC 0
67.47
Travis Job 1214.1
Source Files on build 1214
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1214
  • faec469f on github
  • Prev Build on master (#1211)
  • Next Build on master (#1216)
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