juanvallejo 258084d04e Add support for generating TPM2.0 challenges using AttestedCertifyInfo
Fixes: issues/320.

Adds support for generating an activation challenge using
CertificationParameters.
Achieves symmetry with challenge-generation in
AttestationParameters, in order to provide a challenge to a
TPM to activate a TPM-certified key.

`attest.Activation` currently supports verifying and
generating a challenge given attestationData, an EK, an AK,
and a signature. In the attestationData, the CreationInfo
field is used to further validate and create the resulting
challenge.
In this change, `attest.Certification` will now support
generating a challenge given attestationData, an EK, a
TPM-certified public key, and a signature, in addition to
an AK used to verify the certification of the provided
public key we are generating an activation challenge for.
2023-06-06 10:46:12 -07:00
..
2022-11-01 13:38:49 -07:00
2022-11-01 13:38:49 -07:00
2019-10-09 08:56:19 +11:00
2022-11-01 12:19:57 -07:00
2019-10-09 08:56:19 +11:00
2021-09-01 15:39:03 -07:00
2022-11-01 12:19:57 -07:00
2022-11-01 12:19:57 -07:00
2022-11-01 13:38:49 -07:00
2022-11-01 13:38:49 -07:00
2022-11-01 13:38:49 -07:00
2023-06-02 09:17:59 -07:00
2019-08-06 16:47:13 -07:00
2022-11-01 13:38:49 -07:00