123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- /*############################################################################
- /*!
- * \file
- * \brief SDK TPM API.
- */
- /// \cond
- typedef struct Tpm2Ctx Tpm2Ctx;
- /// \endcond
- /*!
- \addtogroup Tpm2Module tpm2
- \ingroup EpidMemberModule
- @{
- */
- /// Get random data
- /*!
- This command returns the next num_bits from the random number generator (RNG).
- \param[in,out] ctx
- TPM context.
- \param[in] num_bits
- Number of bits to return.
- \param[out] random_data
- Output random bits.
- \returns ::EpidStatus
- \see Tpm2CreateContext
- */
- EpidStatus Tpm2GetRandom(Tpm2Ctx* ctx, int const num_bits, void* random_data);
- /*! @} */
|