tpm2-software / tpm2-tcti-uefi

TCTI module for use with TSS2 libraries in UEFI environment
BSD 2-Clause "Simplified" License
32 stars 17 forks source link

getcap chars vs wchars #19

Closed flihp closed 5 years ago

flihp commented 5 years ago

Some output from the tpm2-get-cap-fixed.efi example application produces weird output. This is most likely caused by the TPM2 returning chars while all of UEFI uses wchars. Probably something we can convert using mbstowcs.