Crate sequoia_tpm

Crate sequoia_tpm 

Source
Expand description

Declarative TPM.

This crate allows operating on TPM objects using declarative descriptions of keys and the associated artifacts.

See binaries in bin for examples on how are these functions defined.

Structs§

Description
Description of a key.
EcParameter
EC private key material.
EcPublic
EC public point.
PrivateRsaKeyMaterial
RSA private key material.
Provider
Cryptographic provider.
RsaPublic
RSA public key.
Specification
Key details specification.
TpmProvider
TPM cryptographic provider.
WrappedKey
Key that has been wrapped.

Enums§

AlgorithmSpec
Algorithm specification.
Capability
Key capability.
EcCurve
EC curve.
HashingAlgorithm
Enum containing the supported hash algorithms
PrivateKeyMaterial
Key private material.
PublicKeyBytes
Public key bits.

Functions§

convert_to_key_handle
Converts specification to raw key handle.
create
Create key given by the spec.
decrypt
Decrypt a buffer of data.
derive
Derives a common point.
read_key
Read public key.
sign
Sign a hash of data.
wrap
Wrap (encrypt) a key.