tpm2-software / tpm2-tss-engine

OpenSSL Engine for TPM2 devices
https://tpm2-software.github.io
BSD 3-Clause "New" or "Revised" License
149 stars 99 forks source link

Handle ECDSA signature truncation #139

Closed dwmw2 closed 5 years ago

dwmw2 commented 5 years ago

The TPM has no business knowing what the hash is. Just lie to it.

Signed-off-by: David Woodhouse dwmw2@infradead.org

codecov[bot] commented 5 years ago

Codecov Report

Merging #139 into master will decrease coverage by 0.2%. The diff coverage is 47.22%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #139      +/-   ##
==========================================
- Coverage   67.54%   67.34%   -0.21%     
==========================================
  Files           9        9              
  Lines        1211     1228      +17     
==========================================
+ Hits          818      827       +9     
- Misses        393      401       +8
Impacted Files Coverage Δ
src/tpm2-tss-engine-ecc.c 61.86% <47.22%> (-0.7%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update cfa069c...01231be. Read the comment docs.