Expand description
TPM 2.0 cryptographic for TPM 2.0 interactions.
Enums§
- Error
- Top-level error type for the crate.
Constants§
Functions§
- digest
- Computes a cryptographic digest over a series of data chunks.
- ecdh
- Performs ECDH and derives a seed using
KDFekey derivation function from TCG TPM 2.0 Architeture specification. The function is generic over the elliptic curve. - hash_
name - Returns
TpmAlgIdmatching the name. - hash_
size - Returns the size of the digest for a given hash algorithm.
- hmac
- Computes an HMAC digest over a series of data chunks.
- hmac_
verify - Verifies an HMAC signature over a series of data chunks.
- kdfa
- Implements the
KDFakey derivation function from the TPM specification. - kdfe
- Implements the
KDFekey derivation function from SP 800-56A for ECDH. - make_
name - Calculates the cryptographics name of a transient or persistent TPM object.