Name Description Size
info.txt 460
tpm2_algo_mappings.h @returns a TPMI_ALG_HASH value if the @p hash_name is known, otherwise std::nullopt 12277
tpm2_context.cpp ABI version 18150
tpm2_context.h Central class for interacting with a TPM2. Additional to managing the connection to the TPM, this provides authorative information about the TPM's capabilities. Also, it allows to persist and evict keys generated by the TPM. 5978
tpm2_crypto_backend
tpm2_ecc
tpm2_error.cpp 8212
tpm2_error.h 1015
tpm2_hash.cpp 4909
tpm2_hash.h Exposes the hashing capability of a TPM 2.0 device as a Botan::HashFunction. Typically this is used to obtain a TPMT_TK_HASHCHECK ticket after the hash operation has been completed. Otherwise, the HashFunction behaves like any other Botan::HashFunction. 2196
tpm2_key.cpp 13461
tpm2_key.h This helper function transforms a @p public_blob in a TPM2B_PUBLIC* format into an ordinary Botan::RSA_PublicKey. Note that the resulting key is not bound to a TPM and can be used as any other RSA key. @param public_blob The public blob to load as an ordinary RSA key 11125
tpm2_object.cpp 5133
tpm2_object.h See TPM 2.0 Part 2, Section 8.3.2 4740
tpm2_pkops.cpp Signing with a restricted key requires a validation ticket that is provided when hashing the data to sign on the TPM. Otherwise, it is fine to hash the data in software. @param key_handle the key to create the signature with @param sessions the sessions to use for the TPM operations @param hash_name the name of the hash function to use @return a HashFunction that hashes in hardware if the key is restricted 5496
tpm2_pkops.h If the key is restricted, this will transparently use the TPM to hash the data to obtain a validation ticket. TPM Library, Part 1: Architecture", Section 11.4.6.3 (4) This ticket is used to indicate that a digest of external data is safe to sign using a restricted signing key. A restricted signing key may only sign a digest that was produced by the TPM. [...] This prevents forgeries of attestation data. 3473
tpm2_rng.cpp 1915
tpm2_rng.h This class implements a random number generator that uses the TPM 2.0 device as a source of randomness. 1150
tpm2_rsa
tpm2_session.cpp NonceCaller generated automatically 5521
tpm2_session.h See TPM 2.0 Part 2, Section 8.4 6918
tpm2_util.h Check the return code and throw an exception if some error occured. @throws TPM2::Error if an error occured. 10376