/third_party/openssl/providers/implementations/rands/ |
D | drbg.c | 48 PROV_DRBG *drbg = vctx; in ossl_drbg_lock() local 57 PROV_DRBG *drbg = vctx; in ossl_drbg_unlock() local 63 static int ossl_drbg_lock_parent(PROV_DRBG *drbg) in ossl_drbg_lock_parent() 76 static void ossl_drbg_unlock_parent(PROV_DRBG *drbg) in ossl_drbg_unlock_parent() 84 static int get_parent_strength(PROV_DRBG *drbg, unsigned int *str) in get_parent_strength() 109 static unsigned int get_parent_reseed_count(PROV_DRBG *drbg) in get_parent_reseed_count() 149 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in ossl_drbg_get_seed() local 194 static size_t get_entropy(PROV_DRBG *drbg, unsigned char **pout, int entropy, in get_entropy() 248 static void cleanup_entropy(PROV_DRBG *drbg, unsigned char *out, size_t outlen) in cleanup_entropy() 312 static size_t prov_drbg_get_nonce(PROV_DRBG *drbg, unsigned char **pout, in prov_drbg_get_nonce() [all …]
|
D | drbg_hmac.c | 94 static int drbg_hmac_update(PROV_DRBG *drbg, in drbg_hmac_update() 122 static int drbg_hmac_instantiate(PROV_DRBG *drbg, in drbg_hmac_instantiate() 149 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hmac_instantiate_wrapper() local 167 static int drbg_hmac_reseed(PROV_DRBG *drbg, in drbg_hmac_reseed() 179 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hmac_reseed_wrapper() local 194 static int drbg_hmac_generate(PROV_DRBG *drbg, in drbg_hmac_generate() 244 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hmac_generate_wrapper() local 250 static int drbg_hmac_uninstantiate(PROV_DRBG *drbg) in drbg_hmac_uninstantiate() 266 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hmac_verify_zeroization() local 274 static int drbg_hmac_new(PROV_DRBG *drbg) in drbg_hmac_new() [all …]
|
D | drbg_hash.c | 67 static int hash_df(PROV_DRBG *drbg, unsigned char *out, in hash_df() 131 static int hash_df1(PROV_DRBG *drbg, unsigned char *out, in hash_df1() 144 static int add_bytes(PROV_DRBG *drbg, unsigned char *dst, in add_bytes() 175 static int add_hash_to_v(PROV_DRBG *drbg, unsigned char inbyte, in add_hash_to_v() 207 static int hash_gen(PROV_DRBG *drbg, unsigned char *out, size_t outlen) in hash_gen() 248 static int drbg_hash_instantiate(PROV_DRBG *drbg, in drbg_hash_instantiate() 272 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hash_instantiate_wrapper() local 288 static int drbg_hash_reseed(PROV_DRBG *drbg, in drbg_hash_reseed() 308 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hash_reseed_wrapper() local 323 static int drbg_hash_generate(PROV_DRBG *drbg, in drbg_hash_generate() [all …]
|
D | drbg_ctr.c | 259 __owur static int ctr_update(PROV_DRBG *drbg, in ctr_update() 305 static int drbg_ctr_instantiate(PROV_DRBG *drbg, in drbg_ctr_instantiate() 332 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_ctr_instantiate_wrapper() local 340 static int drbg_ctr_reseed(PROV_DRBG *drbg, in drbg_ctr_reseed() 359 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_ctr_reseed_wrapper() local 377 static int drbg_ctr_generate(PROV_DRBG *drbg, in drbg_ctr_generate() 456 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_ctr_generate_wrapper() local 462 static int drbg_ctr_uninstantiate(PROV_DRBG *drbg) in drbg_ctr_uninstantiate() 481 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_ctr_verify_zeroization() local 493 static int drbg_ctr_init_lengths(PROV_DRBG *drbg) in drbg_ctr_init_lengths() [all …]
|
D | crngt.c | 102 size_t ossl_crngt_get_entropy(PROV_DRBG *drbg, in ossl_crngt_get_entropy() 194 void ossl_crngt_cleanup_entropy(ossl_unused PROV_DRBG *drbg, in ossl_crngt_cleanup_entropy()
|
/third_party/node/deps/openssl/openssl/providers/implementations/rands/ |
D | drbg.c | 48 PROV_DRBG *drbg = vctx; in ossl_drbg_lock() local 57 PROV_DRBG *drbg = vctx; in ossl_drbg_unlock() local 63 static int ossl_drbg_lock_parent(PROV_DRBG *drbg) in ossl_drbg_lock_parent() 76 static void ossl_drbg_unlock_parent(PROV_DRBG *drbg) in ossl_drbg_unlock_parent() 84 static int get_parent_strength(PROV_DRBG *drbg, unsigned int *str) in get_parent_strength() 109 static unsigned int get_parent_reseed_count(PROV_DRBG *drbg) in get_parent_reseed_count() 149 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in ossl_drbg_get_seed() local 194 static size_t get_entropy(PROV_DRBG *drbg, unsigned char **pout, int entropy, in get_entropy() 248 static void cleanup_entropy(PROV_DRBG *drbg, unsigned char *out, size_t outlen) in cleanup_entropy() 312 static size_t prov_drbg_get_nonce(PROV_DRBG *drbg, unsigned char **pout, in prov_drbg_get_nonce() [all …]
|
D | drbg_hmac.c | 94 static int drbg_hmac_update(PROV_DRBG *drbg, in drbg_hmac_update() 122 static int drbg_hmac_instantiate(PROV_DRBG *drbg, in drbg_hmac_instantiate() 149 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hmac_instantiate_wrapper() local 167 static int drbg_hmac_reseed(PROV_DRBG *drbg, in drbg_hmac_reseed() 179 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hmac_reseed_wrapper() local 194 static int drbg_hmac_generate(PROV_DRBG *drbg, in drbg_hmac_generate() 244 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hmac_generate_wrapper() local 250 static int drbg_hmac_uninstantiate(PROV_DRBG *drbg) in drbg_hmac_uninstantiate() 266 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hmac_verify_zeroization() local 274 static int drbg_hmac_new(PROV_DRBG *drbg) in drbg_hmac_new() [all …]
|
D | drbg_hash.c | 67 static int hash_df(PROV_DRBG *drbg, unsigned char *out, in hash_df() 131 static int hash_df1(PROV_DRBG *drbg, unsigned char *out, in hash_df1() 144 static int add_bytes(PROV_DRBG *drbg, unsigned char *dst, in add_bytes() 175 static int add_hash_to_v(PROV_DRBG *drbg, unsigned char inbyte, in add_hash_to_v() 207 static int hash_gen(PROV_DRBG *drbg, unsigned char *out, size_t outlen) in hash_gen() 248 static int drbg_hash_instantiate(PROV_DRBG *drbg, in drbg_hash_instantiate() 272 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hash_instantiate_wrapper() local 288 static int drbg_hash_reseed(PROV_DRBG *drbg, in drbg_hash_reseed() 308 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hash_reseed_wrapper() local 323 static int drbg_hash_generate(PROV_DRBG *drbg, in drbg_hash_generate() [all …]
|
D | drbg_ctr.c | 259 __owur static int ctr_update(PROV_DRBG *drbg, in ctr_update() 305 static int drbg_ctr_instantiate(PROV_DRBG *drbg, in drbg_ctr_instantiate() 332 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_ctr_instantiate_wrapper() local 340 static int drbg_ctr_reseed(PROV_DRBG *drbg, in drbg_ctr_reseed() 359 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_ctr_reseed_wrapper() local 377 static int drbg_ctr_generate(PROV_DRBG *drbg, in drbg_ctr_generate() 456 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_ctr_generate_wrapper() local 462 static int drbg_ctr_uninstantiate(PROV_DRBG *drbg) in drbg_ctr_uninstantiate() 481 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_ctr_verify_zeroization() local 493 static int drbg_ctr_init_lengths(PROV_DRBG *drbg) in drbg_ctr_init_lengths() [all …]
|
D | crngt.c | 102 size_t ossl_crngt_get_entropy(PROV_DRBG *drbg, in ossl_crngt_get_entropy() 194 void ossl_crngt_cleanup_entropy(ossl_unused PROV_DRBG *drbg, in ossl_crngt_cleanup_entropy()
|
/third_party/openssl/crypto/rand/ |
D | rand_meth.c | 17 EVP_RAND_CTX *drbg = RAND_get0_primary(NULL); in drbg_add() local 34 EVP_RAND_CTX *drbg = RAND_get0_primary(NULL); in drbg_status() local 45 EVP_RAND_CTX *drbg = RAND_get0_public(NULL); in drbg_bytes() local
|
D | rand_lib.c | 247 EVP_RAND_CTX *drbg; in RAND_seed() local 264 EVP_RAND_CTX *drbg; in RAND_add() local 818 int RAND_set_DRBG_type(OSSL_LIB_CTX *ctx, const char *drbg, const char *propq, in RAND_set_DRBG_type()
|
/third_party/node/deps/openssl/openssl/crypto/rand/ |
D | rand_meth.c | 17 EVP_RAND_CTX *drbg = RAND_get0_primary(NULL); in drbg_add() local 34 EVP_RAND_CTX *drbg = RAND_get0_primary(NULL); in drbg_status() local 45 EVP_RAND_CTX *drbg = RAND_get0_public(NULL); in drbg_bytes() local
|
D | rand_lib.c | 247 EVP_RAND_CTX *drbg; in RAND_seed() local 264 EVP_RAND_CTX *drbg; in RAND_add() local 818 int RAND_set_DRBG_type(OSSL_LIB_CTX *ctx, const char *drbg, const char *propq, in RAND_set_DRBG_type()
|
/third_party/openssl/test/ |
D | drbgtest.c | 48 static int gen_bytes(EVP_RAND_CTX *drbg, unsigned char *buf, int num) in gen_bytes() 82 static int state(EVP_RAND_CTX *drbg) in state() 87 static unsigned int query_rand_uint(EVP_RAND_CTX *drbg, const char *name) in query_rand_uint() 110 static void set_reseed_counter(EVP_RAND_CTX *drbg, unsigned int n) in set_reseed_counter() 117 static void inc_reseed_counter(EVP_RAND_CTX *drbg) in inc_reseed_counter() 122 static time_t reseed_time(EVP_RAND_CTX *drbg) in reseed_time() 160 static int disable_crngt(EVP_RAND_CTX *drbg) in disable_crngt() 676 static int set_reseed_time_interval(EVP_RAND_CTX *drbg, int t) in set_reseed_time_interval() 792 EVP_RAND_CTX *drbg = NULL; in new_drbg() local
|
/third_party/mbedtls/library/ |
D | psa_crypto_random_impl.h | 123 mbedtls_psa_drbg_context_t drbg; member
|
/third_party/node/deps/openssl/openssl/providers/fips/ |
D | self_test_kats.c | 256 EVP_RAND_CTX *test = NULL, *drbg = NULL; in self_test_drbg() local
|
/third_party/openssl/providers/fips/ |
D | self_test_kats.c | 256 EVP_RAND_CTX *test = NULL, *drbg = NULL; in self_test_drbg() local
|
/third_party/node/deps/openssl/openssl/apps/ |
D | list.c | 429 static void display_random(const char *name, EVP_RAND_CTX *drbg) in display_random()
|
/third_party/openssl/apps/ |
D | list.c | 429 static void display_random(const char *name, EVP_RAND_CTX *drbg) in display_random()
|