#include <entropy.h>
Inherits ccf::crypto::Entropy.
◆ Entropy_OpenSSL()
ccf::crypto::Entropy_OpenSSL::Entropy_OpenSSL |
( |
| ) |
|
|
default |
◆ random() [1/2]
std::vector< uint8_t > ccf::crypto::Entropy_OpenSSL::random |
( |
size_t |
len | ) |
|
|
inlineoverridevirtual |
Generate len
random bytes
- Parameters
-
len | Number of random bytes to generate |
- Returns
- vector random bytes
Implements ccf::crypto::Entropy.
◆ random() [2/2]
void ccf::crypto::Entropy_OpenSSL::random |
( |
unsigned char * |
data, |
|
|
size_t |
len |
|
) |
| |
|
inlineoverridevirtual |
Generate len
random bytes into data
- Parameters
-
len | Number of random bytes to generate |
data | Buffer to fill |
Implements ccf::crypto::Entropy.
◆ random64()
uint64_t ccf::crypto::Entropy_OpenSSL::random64 |
( |
| ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: