/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/rand/ |
H A 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() 377 int RAND_DRBG_uninstantiate(RAND_DRBG *drbg) in RAND_DRBG_uninstantiate() 401 int RAND_DRBG_reseed(RAND_DRBG *drbg, in RAND_DRBG_reseed() 470 int rand_drbg_restart(RAND_DRBG *drbg, in rand_drbg_restart() 566 int RAND_DRBG_generate(RAND_DRBG *drbg, unsigned char *out, size_t outlen, in RAND_DRBG_generate() 646 int RAND_DRBG_bytes(RAND_DRBG *drbg, unsigned char *out, size_t outlen) in RAND_DRBG_bytes() 689 int RAND_DRBG_set_callbacks(RAND_DRBG *drbg, in RAND_DRBG_set_callbacks() [all …]
|
H A 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()
|
H A D | rand_lib.c | 129 size_t rand_drbg_get_entropy(RAND_DRBG *drbg, in rand_drbg_get_entropy() 218 void rand_drbg_cleanup_entropy(RAND_DRBG *drbg, in rand_drbg_cleanup_entropy() 234 size_t rand_drbg_get_nonce(RAND_DRBG *drbg, in rand_drbg_get_nonce() 273 void rand_drbg_cleanup_nonce(RAND_DRBG *drbg, in rand_drbg_cleanup_nonce() 396 RAND_DRBG *drbg = RAND_DRBG_get0_master(); in RAND_poll() local 928 RAND_DRBG *drbg; in RAND_priv_bytes() local
|
/netbsd-src/crypto/external/bsd/openssl/dist/providers/implementations/rands/ |
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A 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()
|
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/rand/ |
H A 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
|
H A 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()
|
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/ |
H A 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
|
H A 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 …]
|
/netbsd-src/crypto/external/bsd/openssl/dist/test/ |
H A 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
|
/netbsd-src/sys/kern/ |
H A D | sys_getrandom.c | 62 struct nist_hash_drbg drbg; in dogetrandom() local
|
/netbsd-src/sys/crypto/nist_hash_drbg/ |
H A D | nist_hash_drbg.c | 1059 struct nist_hash_drbg drbg, *D = &drbg; in nist_hash_drbg_initialize() local
|
/netbsd-src/crypto/external/bsd/openssl/dist/providers/fips/ |
H A D | self_test_kats.c | 256 EVP_RAND_CTX *test = NULL, *drbg = NULL; in self_test_drbg() local
|
/netbsd-src/crypto/external/bsd/openssl/dist/apps/ |
H A D | list.c | 429 static void display_random(const char *name, EVP_RAND_CTX *drbg) in display_random()
|
/netbsd-src/sys/arch/x86/x86/ |
H A D | pmap.c | 1659 struct nist_hash_drbg drbg; local
|