Home
last modified time | relevance | path

Searched refs:ERR_LIB_RAND (Results 1 – 10 of 10) 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.c29 ERR_raise(ERR_LIB_RAND, ERR_R_MALLOC_FAILURE); in ossl_rand_pool_new()
46 ERR_raise(ERR_LIB_RAND, ERR_R_MALLOC_FAILURE); in ossl_rand_pool_new()
71 ERR_raise(ERR_LIB_RAND, ERR_R_MALLOC_FAILURE); in ossl_rand_pool_attach()
213 ERR_raise(ERR_LIB_RAND, ERR_R_INTERNAL_ERROR); in rand_pool_grow()
226 ERR_raise(ERR_LIB_RAND, ERR_R_MALLOC_FAILURE); in rand_pool_grow()
252 ERR_raise(ERR_LIB_RAND, RAND_R_ARGUMENT_OUT_OF_RANGE); in ossl_rand_pool_bytes_needed()
260 ERR_raise(ERR_LIB_RAND, RAND_R_RANDOM_POOL_OVERFLOW); in ossl_rand_pool_bytes_needed()
309 ERR_raise(ERR_LIB_RAND, RAND_R_ENTROPY_INPUT_TOO_LONG); in ossl_rand_pool_add()
314 ERR_raise(ERR_LIB_RAND, ERR_R_INTERNAL_ERROR); in ossl_rand_pool_add()
328 ERR_raise(ERR_LIB_RAND, ERR_R_INTERNAL_ERROR); in ossl_rand_pool_add()
[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.c291 ERR_raise(ERR_LIB_RAND, RAND_R_FUNC_NOT_IMPLEMENTED); in RAND_pseudo_bytes()
335 ERR_raise(ERR_LIB_RAND, RAND_R_FUNC_NOT_IMPLEMENTED); in RAND_priv_bytes_ex()
364 ERR_raise(ERR_LIB_RAND, RAND_R_FUNC_NOT_IMPLEMENTED); in RAND_bytes_ex()
544 ERR_raise(ERR_LIB_RAND, RAND_R_UNABLE_TO_FETCH_DRBG); in rand_new_seed()
550 ERR_raise(ERR_LIB_RAND, RAND_R_UNABLE_TO_CREATE_DRBG); in rand_new_seed()
554 ERR_raise(ERR_LIB_RAND, RAND_R_ERROR_INSTANTIATING_DRBG); in rand_new_seed()
577 ERR_raise(ERR_LIB_RAND, RAND_R_UNABLE_TO_FETCH_DRBG); in rand_new_drbg()
583 ERR_raise(ERR_LIB_RAND, RAND_R_UNABLE_TO_CREATE_DRBG); in rand_new_drbg()
607 ERR_raise(ERR_LIB_RAND, RAND_R_ERROR_INSTANTIATING_DRBG); in rand_new_drbg()
H A Dprov_seed.c25 ERR_raise(ERR_LIB_RAND, ERR_R_MALLOC_FAILURE); in ossl_rand_get_entropy()
56 ERR_raise(ERR_LIB_RAND, ERR_R_MALLOC_FAILURE); in ossl_rand_get_nonce()
/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/
H A Ddrbg.c532 ERR_raise(ERR_LIB_RAND, RAND_R_ENTROPY_OUT_OF_RANGE); in ossl_prov_drbg_reseed()
537 ERR_raise(ERR_LIB_RAND, RAND_R_ENTROPY_INPUT_TOO_LONG); in ossl_prov_drbg_reseed()
/freebsd/crypto/openssl/providers/implementations/rands/seeding/
H A Drand_vms.c459 ERR_raise_data(ERR_LIB_RAND, RAND_R_RANDOM_POOL_UNDERFLOW, in data_collect_method()
/freebsd/crypto/openssl/crypto/err/
H A Derr.c61 {ERR_PACK(ERR_LIB_RAND, 0, 0), "random number generator"},