Botan 3.6.0
Crypto and TLS for C&
Botan::TPM2::CryptoCallbackState Struct Reference

#include <tpm2_crypto_backend.h>

Public Member Functions

 CryptoCallbackState (std::shared_ptr< Botan::RandomNumberGenerator > rng_in)
 

Public Attributes

std::shared_ptr< Botan::RandomNumberGeneratorrng
 

Detailed Description

This state object is available to all crypto callbacks. Its lifetime is managed by the TPM2::Context.

Definition at line 26 of file tpm2_crypto_backend.h.

Constructor & Destructor Documentation

◆ CryptoCallbackState()

Botan::TPM2::CryptoCallbackState::CryptoCallbackState ( std::shared_ptr< Botan::RandomNumberGenerator > rng_in)
inline

Definition at line 27 of file tpm2_crypto_backend.h.

27: rng(std::move(rng_in)) {}
std::shared_ptr< Botan::RandomNumberGenerator > rng

Member Data Documentation

◆ rng

std::shared_ptr<Botan::RandomNumberGenerator> Botan::TPM2::CryptoCallbackState::rng

Definition at line 29 of file tpm2_crypto_backend.h.


The documentation for this struct was generated from the following file: