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

stefanberger / libtpms
76%
master: 77%

Build:
Build:
LAST BUILD BRANCH: HEAD
DEFAULT BRANCH: master
Repo Added 23 Oct 2018 06:58PM UTC
Files 458
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

LAST BUILD ON BRANCH master.next.rsa
branch: master.next.rsa
CHANGE BRANCH
x
Reset
  • master.next.rsa
  • HEAD
  • ac_link_ifelse
  • autoconf_check_defines
  • cflags_wmissing_prototypes
  • configure_with_tpm2_default
  • constant_time
  • coverity-fixes
  • coverity_scan
  • cpp_coveralls
  • cpp_coveralls.dashb
  • cppcheck
  • dcache
  • dynamic_hlk_compliance
  • ecc_consttime
  • ecc_fixes
  • extend_context_gap
  • fix_304
  • fix_fortify_source
  • fix_issue_195
  • fix_json
  • fix_nistp521_parameter_reporting
  • fix_readme
  • fix_rsa_decrypt_stack_smash
  • fix_s390x
  • fix_tpm2_contextsave
  • fuzzer-data
  • hlk_compliant
  • libtpms_added
  • man_page_cleanup
  • master
  • master.autoupdate
  • master.coverity
  • master.fixes
  • master.fuzzer
  • master.next
  • master.next,rhel6
  • master.ossl3
  • master.sm4-getsymtestdata
  • move-to-buildsys
  • nvmarshal_typos
  • pure_openssl
  • pure_openssl_rsa_crt
  • pure_openssl_seeds
  • rev155
  • rev159
  • rev162
  • rev164
  • rsa_3072
  • rsa_pkcs1_returnvalue
  • silent_rules
  • stable-0.6.0
  • stable-0.6.0-compile-fixes
  • stable-0.6.0-fix_issue_195
  • stable-0.6.0.next
  • stable-0.7.0
  • stable-0.7.0-constanttime
  • stable-0.7.0-ecc_consttime
  • stable-0.7.0-fix_issue_195
  • stable-0.7.0-fix_nistp521_parameter_reporting
  • stable-0.7.0.next
  • stable-0.7.0_fix_iv
  • stable-0.8
  • stable-0.8-erroneous-gitignore
  • stable-0.8-fix_issue_195
  • stable-0.8.next
  • stable-0.8.next.ossl3
  • stable-0.8_fix_iv
  • stable-0.9
  • stable-0.9.next
  • stefanberger/add_sm4_to_json
  • stefanberger/coverity_fixes
  • stefanberger/do_not_write_permanent_state_if_only_clock_changed
  • stefanberger/enable_camellia
  • stefanberger/extend_context_gap
  • stefanberger/openssl3-helpers-part1
  • stefanberger/openssl3-helpers-part2
  • stefanberger/prepare-0.9-release
  • stefanberger/tpm12_coverity
  • travis
  • ubsan
  • v0.6.1
  • v0.6.2
  • v0.6.3
  • v0.6.4
  • v0.6.5
  • v0.6.6
  • v0.7.0
  • v0.7.1
  • v0.7.10
  • v0.7.2
  • v0.7.3
  • v0.7.4
  • v0.7.5
  • v0.7.6
  • v0.7.7
  • v0.7.8
  • v0.7.9
  • v0.8.0
  • v0.8.1
  • v0.8.2
  • v0.8.3
  • v0.8.4
  • v0.8.5
  • v0.8.6
  • v0.8.7
  • v0.9.0
  • v0.9.1
  • v0.9.2
  • v0.9.3
  • v0.9.4

pending completion
833

Pull #65

travis-ci

web-flow
tpm2: Use OpenSSL functions for encrypting and signing using RSA keys

Use the CRT (Chinese Remainder Theorem) method for doing the RSA
operations. Unfortunately it is not sufficient to just pass the
precalculated dP, dQ, and qInv parameters to OpenSSL private key
crypto functions but it also needs D, which is a bit more involved
to calculate.

We are not caching D (private exponent) as part of the OBJECT since
the OBJECT lives in size-limited NVRAM and we would need to add
'D' to the privateExponent_t, which would make it bigger and which
would allow less keys to fit into memory, which in turn could be-
come an issue if we wanted to resume a TPM that filled up the NVRAM
with keys and now less keys would fit into the NVRAM.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Pull Request #65: Convert to OpenSSL RSA functions for encrypting and signing

27262 of 36007 relevant lines covered (75.71%)

80024.01 hits per line

Relevant lines Covered
Build:
Build:
36007 RELEVANT LINES 27262 COVERED LINES
80024.01 HITS PER LINE
Source Files on master.next.rsa
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
833 master.next.rsa tpm2: Use OpenSSL functions for encrypting and signing using RSA keys Use the CRT (Chinese Remainder Theorem) method for doing the RSA operations. Unfortunately it is not sufficient to just pass the precalculated dP, dQ, and qInv parameters to Op... Pull #65 19 Jun 2019 05:58PM UTC web-flow travis-ci pending completion  
832 master.next.rsa tpm2: Use OpenSSL functions for encrypting and signing using RSA keys Use the CRT (Chinese Remainder Theorem) method for doing the RSA operations. Unfortunately it is not sufficient to just pass the precalculated dP, dQ, and qInv parameters to Op... push 19 Jun 2019 05:54PM UTC Stefan Berger travis-ci pending completion  
831 master.next.rsa tpm2: Use OpenSSL functions for encrypting and signing using RSA keys Use the CRT (Chinese Remainder Theorem) method for doing the RSA operations. Unfortunately it is not sufficient to just pass the precalculated dP, dQ, and qInv parameters to Op... Pull #65 19 Jun 2019 05:15PM UTC web-flow travis-ci pending completion  
830 master.next.rsa tpm2: Use OpenSSL functions for encrypting and signing using RSA keys Use the CRT (Chinese Remainder Theorem) method for doing the RSA operations. Unfortunately it is not sufficient to just pass the precalculated dP, dQ, and qInv parameters to Op... push 19 Jun 2019 05:15PM UTC Stefan Berger travis-ci pending completion  
829 master.next.rsa tpm2: Use OpenSSL functions for encrypting and signing using RSA keys Use the CRT (Chinese Remainder Theorem) method for doing the RSA operations. Unfortunately it is not sufficient to just pass the precalculated dP, dQ, and qInv parameters to Op... Pull #65 19 Jun 2019 05:04PM UTC web-flow travis-ci pending completion  
827 master.next.rsa tpm2: Use OpenSSL functions for encrypting and signing using RSA keys Use the CRT (Chinese Remainder Theorem) method for doing the RSA operations. Unfortunately it is not sufficient to just pass the precalculated dP, dQ, and qInv parameters to Op... Pull #65 19 Jun 2019 05:00PM UTC web-flow travis-ci pending completion  
826 master.next.rsa tpm2: Use OpenSSL functions for encrypting and signing using RSA keys Use the CRT (Chinese Remainder Theorem) method for doing the RSA operations. Unfortunately it is not sufficient to just pass the precalculated dP, dQ, and qInv parameters to Op... push 19 Jun 2019 04:51PM UTC Stefan Berger travis-ci pending completion  
825 master.next.rsa tpm2: Use OpenSSL functions for encrypting and signing using RSA keys Use the CRT (Chinese Remainder Theorem) method for doing the RSA operations. Unfortunately it is not sufficient to just pass the precalculated dP, dQ, and qInv parameters to Op... Pull #65 19 Jun 2019 04:47PM UTC web-flow travis-ci pending completion  
823 master.next.rsa tpm2: Use OpenSSL functions for encrypting and signing using RSA keys Use the CRT (Chinese Remainder Theorem) method for doing the RSA operations. Unfortunately it is not sufficient to just pass the precalculated dP, dQ, and qInv parameters to Op... Pull #65 19 Jun 2019 04:39PM UTC web-flow travis-ci pending completion  
822 master.next.rsa tpm2: Use OpenSSL functions for encrypting and signing using RSA keys Use the CRT (Chinese Remainder Theorem) method for doing the RSA operations. Unfortunately it is not sufficient to just pass the precalculated dP, dQ, and qInv parameters to Op... push 19 Jun 2019 04:25PM UTC Stefan Berger travis-ci pending completion  
See All Builds (2509)
  • Repo on GitHub
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