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

stefanberger / libtpms / 1451
77%

Build:
DEFAULT BRANCH: master
Ran 27 May 2020 11:35AM UTC
Jobs 1
Files 450
Run time 1min
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
1451

push

travis-ci

Stefan Berger
tpm2: Set the PSS salt length to the digest length

Call EVP_PKEY_CTX_set_rsa_pss_saltlen(ctx, -1) when creating an RSA
signature to set the PSS salt length to the digest length. Without
this call we previously set the salt length to the maximum
permissible value, but this is not how TPM 2 implements it.

Per interoperability testing between signatures created previously
with the max. permissible value and the new code, which does not
modify the signature verification code, old signatures still verify.
New signatures also verify.

This patch may solve interoperability with hardware TPMs that signatures
created following this patch now verify on hardware TPMs as well.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>

28854 of 37223 relevant lines covered (77.52%)

84504.64 hits per line

Jobs
ID Job ID Ran Files Coverage
2 1451.2 (COVERITY_SCAN_TOKEN=[secure] CONFIG="--with-openssl --prefix=/usr --with-tpm2 --enable-test-coverage" TARGET="install" NPROC="nproc") 27 May 2020 11:35AM UTC 0
77.52
Travis Job 1451.2
Source Files on build 1451
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1451
  • ae710d38 on github
  • Prev Build on master (#1449)
  • Next Build on master (#1454)
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