Searched defs:drbg (Results 1 – 6 of 6) sorted by relevance
/third_party/openssl/crypto/rand/ |
D | drbg_lib.c | 103 int RAND_DRBG_set(RAND_DRBG *drbg, int type, unsigned int flags) in RAND_DRBG_set() 191 RAND_DRBG *drbg = secure ? OPENSSL_secure_zalloc(sizeof(*drbg)) in rand_drbg_new() local 263 void RAND_DRBG_free(RAND_DRBG *drbg) in RAND_DRBG_free() 288 int RAND_DRBG_instantiate(RAND_DRBG *drbg, in RAND_DRBG_instantiate() 382 int RAND_DRBG_uninstantiate(RAND_DRBG *drbg) in RAND_DRBG_uninstantiate() 406 int RAND_DRBG_reseed(RAND_DRBG *drbg, in RAND_DRBG_reseed() 480 int rand_drbg_restart(RAND_DRBG *drbg, in rand_drbg_restart() 576 int RAND_DRBG_generate(RAND_DRBG *drbg, unsigned char *out, size_t outlen, in RAND_DRBG_generate() 656 int RAND_DRBG_bytes(RAND_DRBG *drbg, unsigned char *out, size_t outlen) in RAND_DRBG_bytes() 699 int RAND_DRBG_set_callbacks(RAND_DRBG *drbg, in RAND_DRBG_set_callbacks() [all …]
|
D | drbg_ctr.c | 224 __owur static int ctr_update(RAND_DRBG *drbg, in ctr_update() 270 __owur static int drbg_ctr_instantiate(RAND_DRBG *drbg, in drbg_ctr_instantiate() 291 __owur static int drbg_ctr_reseed(RAND_DRBG *drbg, in drbg_ctr_reseed() 318 __owur static int drbg_ctr_generate(RAND_DRBG *drbg, in drbg_ctr_generate() 392 static int drbg_ctr_uninstantiate(RAND_DRBG *drbg) in drbg_ctr_uninstantiate() 408 int drbg_ctr_init(RAND_DRBG *drbg) in drbg_ctr_init()
|
D | rand_lib.c | 129 size_t rand_drbg_get_entropy(RAND_DRBG *drbg, in rand_drbg_get_entropy() 214 void rand_drbg_cleanup_entropy(RAND_DRBG *drbg, in rand_drbg_cleanup_entropy() 230 size_t rand_drbg_get_nonce(RAND_DRBG *drbg, in rand_drbg_get_nonce() 269 void rand_drbg_cleanup_nonce(RAND_DRBG *drbg, in rand_drbg_cleanup_nonce() 392 RAND_DRBG *drbg = RAND_DRBG_get0_master(); in RAND_poll() local 924 RAND_DRBG *drbg; in RAND_priv_bytes() local
|
/third_party/openssl/test/ |
D | drbg_cavs_test.c | 34 static size_t kat_entropy(RAND_DRBG *drbg, unsigned char **pout, in kat_entropy() 45 static size_t kat_nonce(RAND_DRBG *drbg, unsigned char **pout, in kat_nonce() 68 RAND_DRBG *drbg = NULL; in single_kat_no_reseed() local 127 RAND_DRBG *drbg = NULL; in single_kat_pr_false() local 191 RAND_DRBG *drbg = NULL; in single_kat_pr_true() local
|
D | drbgtest.c | 132 static size_t kat_entropy(RAND_DRBG *drbg, unsigned char **pout, in kat_entropy() 143 static size_t kat_nonce(RAND_DRBG *drbg, unsigned char **pout, in kat_nonce() 153 static int uninstantiate(RAND_DRBG *drbg) in uninstantiate() 166 RAND_DRBG *drbg = NULL; in single_kat() local 255 static int init(RAND_DRBG *drbg, DRBG_SELFTEST_DATA *td, TEST_CTX *t) in init() 274 static int instantiate(RAND_DRBG *drbg, DRBG_SELFTEST_DATA *td, in instantiate() 289 RAND_DRBG *drbg = NULL; in error_check() local 497 RAND_DRBG *drbg; member 512 static HOOK_CTX *get_hook_ctx(RAND_DRBG *drbg) in get_hook_ctx() 518 static size_t get_entropy_hook(RAND_DRBG *drbg, unsigned char **pout, in get_entropy_hook() [all …]
|
/third_party/mbedtls/library/ |
D | psa_crypto_random_impl.h | 124 mbedtls_psa_drbg_context_t drbg; member
|