tpm2-tss icon indicating copy to clipboard operation
tpm2-tss copied to clipboard

mu: Fill in missing TPMU variants

Open fergus-dall opened this issue 1 year ago • 1 comments

This introduces support (at the marshal/unmarshal level) for:

  • the SHA3 family of hash algorithms
  • the SHAKE256-derived family of hash algorithms
  • SHA256/192
  • the EDDSA and EDDSA_PH signing schemes, used by curve25519 and curve448
  • the tag TPM_ST_ATTEST_NV_DIGEST, for the new form of TPM2_NV_Certify that certifies a hash of the NV area
  • the legacy block cipher 3DES
  • the key derivation function KDF2

This also pulls in constants from the algorithm registry up to revision 01.33, except for the new hash-based signature schemes, TPM2_ALG_LMS and TPM2_ALG_XMSS, as these don't yet have defined structs for their scheme parameters and signatures.

fergus-dall avatar May 28 '23 18:05 fergus-dall

Codecov Report

Merging #2621 (92a3e24) into master (8699ab3) will decrease coverage by 0.01%. The diff coverage is 0.00%.

:exclamation: Current head 92a3e24 differs from pull request most recent head e03f279. Consider uploading reports for the commit e03f279 to get more accurate results

@@            Coverage Diff             @@
##           master    #2621      +/-   ##
==========================================
- Coverage   82.55%   82.54%   -0.01%     
==========================================
  Files         366      366              
  Lines       42475    42487      +12     
==========================================
+ Hits        35064    35070       +6     
- Misses       7411     7417       +6     
Impacted Files Coverage Δ
src/tss2-mu/tpmu-types.c 66.37% <0.00%> (-7.66%) :arrow_down:

... and 4 files with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

codecov[bot] avatar Jun 11 '23 17:06 codecov[bot]