CommonRandomPriv.h [plain text]
#ifndef CommonCrypto_CommonRandomPriv_h
#define CommonCrypto_CommonRandomPriv_h
#include <corecrypto/ccdrbg.h>
typedef union {
struct ccdrbg_nistctr_custom nistctr_custom;
struct ccdrbg_nisthmac_custom nisthmac_custom;
} drbg_custom;
typedef struct drbgrng_t {
struct ccdrbg_info *info;
struct ccdrbg_state *drbg_state;
} drbg_context;
typedef struct __CCRandom {
uint32_t rngtype;
uint32_t drbgtype;
struct ccrng_state *rng; drbg_custom custom; drbg_context drbg; int status;
} ccInternalRandom, *ccInternalRandomRef;
#endif