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

stefanberger / libtpms / 1972
77%

Build:
DEFAULT BRANCH: master
Ran 26 Mar 2021 02:07PM UTC
Jobs 1
Files 457
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
1972

cron

travis-ci-com

stefanberger
tpm2: Implement a cache for the private exponent D and prime Q

Implement a cache for the private exponent 'D' and prime 'Q' so that we
do not have to recalculate 'Q' and 'D' every time an RSA key is used. For
a cache hit we now use ~34000 cycles and on a cache miss it needs around
130000 cycles. Previously it needed around 100000 cycles to calcuate 'Q'
and 'D'. Assuming that keys will be reused and the cache is big enough
for the number of keys being use (64 entries), it seems well worth it.

This solution is better than extending the OBJECT with 'D' since OBJECT is
kept in the TPM's NVRAM and we would then need more memory to store OBJECTs
there.

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

68 of 68 new or added lines in 3 files covered. (100.0%)

29012 of 37447 relevant lines covered (77.47%)

92972.75 hits per line

Jobs
ID Job ID Ran Files Coverage
2 1972.2 (COVERITY_SCAN_TOKEN=[secure] CONFIG="--with-openssl --prefix=/usr --with-tpm2 --enable-test-coverage" TARGET="install" NPROC="nproc") 26 Mar 2021 02:07PM UTC 0
77.47
Travis Job 1972.2
Source Files on build 1972
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #1972
  • fdb9ad3b on github
  • Prev Build on master (#1970)
  • Next Build on master (#1974)
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