Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
swtpm_cert: use hashAlgo as parameter for signing certificates
Ceritficates for a TPM 2 have to be signed using SHA256 and those for a TPM 1.2 have to be signed using SHA1 (following specs). We can use either of these algorithms when using the GnuTLS TPM support since it will create the hash and have the TPM 1.2 sign whatever it created. Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
- Loading branch information