|
CCF
|
#include "ccf/pal/hardware_info.h"#include <cassert>#include <cstdint>#include <cstring>#include <memory>#include <stdexcept>#include <utility>#include <vector>Go to the source code of this file.
Classes | |
| class | ccf::crypto::Entropy |
| class | ccf::crypto::IntelDRNG |
Namespaces | |
| namespace | ccf |
| namespace | ccf::crypto |
Macros | |
| #define | DRNG_NO_SUPPORT 0x0 |
| #define | DRNG_HAS_RDRAND 0x1 |
| #define | DRNG_HAS_RDSEED 0x2 |
| #define | RDRAND_RETRIES 10 |
Typedefs | |
| using | ccf::crypto::rng_func_t = int(*)(void *ctx, unsigned char *output, size_t len) |
| using | ccf::crypto::EntropyPtr = std::shared_ptr< Entropy > |
Functions | |
| EntropyPtr | ccf::crypto::get_entropy () |
| #define DRNG_HAS_RDRAND 0x1 |
| #define DRNG_HAS_RDSEED 0x2 |
| #define DRNG_NO_SUPPORT 0x0 |
| #define RDRAND_RETRIES 10 |