12 #include "mbedtls/ctr_drbg.h"
36 cCtrDrbgContext(
const std::shared_ptr<cEntropyContext> & a_EntropyContext);
41 int Initialize(
const void * a_Custom,
size_t a_CustomSize);
bool IsValid(void) const
Returns true if the object is valid (has been initialized properly)
bool m_IsValid
Set to true if the object is valid (has been initialized properly)
cCtrDrbgContext(void)
Constructs the context with a new entropy context.
mbedtls_ctr_drbg_context * GetInternal(void)
Returns the internal context ptr.
int Initialize(const void *a_Custom, size_t a_CustomSize)
Initializes the context.
mbedtls_ctr_drbg_context m_CtrDrbg
The random generator context.
std::shared_ptr< cEntropyContext > m_EntropyContext
The entropy source used for generating the random.
Encapsulates an RSA private key used in PKI cryptography.