Home
last modified time | relevance | path

Searched refs:ERR_LIB_RAND (Results 1 – 11 of 11) sorted by relevance

/freebsd/crypto/openssl/crypto/rand/
H A Drand_err.c18 {ERR_PACK(ERR_LIB_RAND, 0, RAND_R_ADDITIONAL_INPUT_TOO_LONG),
20 {ERR_PACK(ERR_LIB_RAND, 0, RAND_R_ALREADY_INSTANTIATED),
22 {ERR_PACK(ERR_LIB_RAND, 0, RAND_R_ARGUMENT_OUT_OF_RANGE),
24 {ERR_PACK(ERR_LIB_RAND, 0, RAND_R_CANNOT_OPEN_FILE), "Cannot open file"},
25 {ERR_PACK(ERR_LIB_RAND, 0, RAND_R_DRBG_ALREADY_INITIALIZED),
27 {ERR_PACK(ERR_LIB_RAND, 0, RAND_R_DRBG_NOT_INITIALISED),
29 {ERR_PACK(ERR_LIB_RAND, 0, RAND_R_ENTROPY_INPUT_TOO_LONG),
31 {ERR_PACK(ERR_LIB_RAND, 0, RAND_R_ENTROPY_OUT_OF_RANGE),
33 {ERR_PACK(ERR_LIB_RAND, 0, RAND_R_ERROR_ENTROPY_POOL_WAS_IGNORED),
35 {ERR_PACK(ERR_LIB_RAND, 0, RAND_R_ERROR_INITIALISING_DRBG),
[all …]
H A Drand_pool.c207 ERR_raise(ERR_LIB_RAND, ERR_R_INTERNAL_ERROR); in rand_pool_grow()
244 ERR_raise(ERR_LIB_RAND, RAND_R_ARGUMENT_OUT_OF_RANGE); in ossl_rand_pool_bytes_needed()
252 ERR_raise_data(ERR_LIB_RAND, RAND_R_RANDOM_POOL_OVERFLOW, in ossl_rand_pool_bytes_needed()
305 ERR_raise(ERR_LIB_RAND, RAND_R_ENTROPY_INPUT_TOO_LONG); in ossl_rand_pool_add()
310 ERR_raise(ERR_LIB_RAND, ERR_R_INTERNAL_ERROR); in ossl_rand_pool_add()
324 ERR_raise(ERR_LIB_RAND, ERR_R_INTERNAL_ERROR); in ossl_rand_pool_add()
362 ERR_raise(ERR_LIB_RAND, RAND_R_RANDOM_POOL_OVERFLOW); in ossl_rand_pool_add_begin()
367 ERR_raise(ERR_LIB_RAND, ERR_R_INTERNAL_ERROR); in ossl_rand_pool_add_begin()
398 ERR_raise(ERR_LIB_RAND, RAND_R_RANDOM_POOL_OVERFLOW); in ossl_rand_pool_add_end()
429 ERR_raise(ERR_LIB_RAND, ERR_R_INTERNAL_ERROR); in ossl_rand_pool_adin_mix_in()
[all …]
H A Drandfile.c107 ERR_raise_data(ERR_LIB_RAND, RAND_R_CANNOT_OPEN_FILE, in RAND_load_file()
114 ERR_raise_data(ERR_LIB_RAND, RAND_R_INTERNAL_ERROR, in RAND_load_file()
175 ERR_raise_data(ERR_LIB_RAND, RAND_R_RESEED_ERROR, "Filename=%s", file); in RAND_load_file()
191 ERR_raise_data(ERR_LIB_RAND, RAND_R_NOT_A_REGULAR_FILE, in RAND_write_file()
217 ERR_raise_data(ERR_LIB_RAND, RAND_R_CANNOT_OPEN_FILE, in RAND_write_file()
249 ERR_raise_data(ERR_LIB_RAND, RAND_R_CANNOT_OPEN_FILE, in RAND_write_file()
H A Drand_lib.c402 ERR_raise(ERR_LIB_RAND, RAND_R_FUNC_NOT_IMPLEMENTED); in RAND_pseudo_bytes()
447 ERR_raise(ERR_LIB_RAND, RAND_R_FUNC_NOT_IMPLEMENTED); in RAND_priv_bytes_ex()
486 ERR_raise(ERR_LIB_RAND, RAND_R_FUNC_NOT_IMPLEMENTED); in RAND_bytes_ex()
628 ERR_raise(ERR_LIB_RAND, RAND_R_UNABLE_TO_FETCH_DRBG); in rand_new_seed()
634 ERR_raise(ERR_LIB_RAND, RAND_R_UNABLE_TO_CREATE_DRBG); in rand_new_seed()
638 ERR_raise(ERR_LIB_RAND, RAND_R_ERROR_INSTANTIATING_DRBG); in rand_new_seed()
683 ERR_raise(ERR_LIB_RAND, RAND_R_UNABLE_TO_FETCH_DRBG); in rand_new_drbg()
690 ERR_raise(ERR_LIB_RAND, RAND_R_UNABLE_TO_CREATE_DRBG); in rand_new_drbg()
720 ERR_raise(ERR_LIB_RAND, RAND_R_ERROR_INSTANTIATING_DRBG); in rand_new_drbg()
735 ERR_raise(ERR_LIB_RAND, RAND_R_UNABLE_TO_FETCH_DRBG); in rand_new_crngt()
[all …]
H A Dprov_seed.c28 ERR_raise(ERR_LIB_RAND, ERR_R_RAND_LIB); in ossl_rand_get_entropy()
84 ERR_raise(ERR_LIB_RAND, ERR_R_RAND_LIB); in ossl_rand_get_nonce()
/freebsd/crypto/openssl/providers/implementations/rands/
H A Dseed_src_jitter.c117 ERR_raise_data(ERR_LIB_RAND, RAND_R_ERROR_RETRIEVING_ENTROPY, in get_jitter_random_value()
156 ERR_raise_data(ERR_LIB_RAND, RAND_R_ERROR_RETRIEVING_ENTROPY, in jitter_instantiate()
H A Ddrbg.c511 ERR_raise(ERR_LIB_RAND, RAND_R_ENTROPY_OUT_OF_RANGE); in ossl_prov_drbg_reseed_unlocked()
516 ERR_raise(ERR_LIB_RAND, RAND_R_ENTROPY_INPUT_TOO_LONG); in ossl_prov_drbg_reseed_unlocked()
/freebsd/crypto/openssl/include/openssl/
H A Derr.h97 # define ERR_LIB_RAND 36 macro
160 # define RANDerr(f, r) ERR_raise_data(ERR_LIB_RAND, (r), NULL)
334 # define ERR_R_RAND_LIB (ERR_LIB_RAND/* 36 */ | ERR_RFLAG_COMMON)
H A Derr.h.in99 # define ERR_LIB_RAND 36 macro
162 # define RANDerr(f, r) ERR_raise_data(ERR_LIB_RAND, (r), NULL)
336 # define ERR_R_RAND_LIB (ERR_LIB_RAND/* 36 */ | ERR_RFLAG_COMMON)
/freebsd/crypto/openssl/providers/implementations/rands/seeding/
H A Drand_vms.c460 ERR_raise_data(ERR_LIB_RAND, RAND_R_RANDOM_POOL_UNDERFLOW, in data_collect_method()
/freebsd/crypto/openssl/crypto/err/
H A Derr.c60 {ERR_PACK(ERR_LIB_RAND, 0, 0), "random number generator"},