Lines Matching refs:EVP_RAND_CTX
94 int EVP_RAND_enable_locking(EVP_RAND_CTX *rand) in EVP_RAND_enable_locking()
103 static int evp_rand_lock(EVP_RAND_CTX *rand) in evp_rand_lock()
111 static void evp_rand_unlock(EVP_RAND_CTX *rand) in evp_rand_unlock()
335 int EVP_RAND_CTX_up_ref(EVP_RAND_CTX *ctx) in EVP_RAND_CTX_up_ref()
342 EVP_RAND_CTX *EVP_RAND_CTX_new(EVP_RAND *rand, EVP_RAND_CTX *parent) in EVP_RAND_CTX_new()
344 EVP_RAND_CTX *ctx; in EVP_RAND_CTX_new()
385 void EVP_RAND_CTX_free(EVP_RAND_CTX *ctx) in EVP_RAND_CTX_free()
388 EVP_RAND_CTX *parent; in EVP_RAND_CTX_free()
405 EVP_RAND *EVP_RAND_CTX_get0_rand(EVP_RAND_CTX *ctx) in EVP_RAND_CTX_get0_rand()
410 static int evp_rand_get_ctx_params_locked(EVP_RAND_CTX *ctx, in evp_rand_get_ctx_params_locked()
416 int EVP_RAND_CTX_get_params(EVP_RAND_CTX *ctx, OSSL_PARAM params[]) in EVP_RAND_CTX_get_params()
427 static int evp_rand_set_ctx_params_locked(EVP_RAND_CTX *ctx, in evp_rand_set_ctx_params_locked()
435 int EVP_RAND_CTX_set_params(EVP_RAND_CTX *ctx, const OSSL_PARAM params[]) in EVP_RAND_CTX_set_params()
473 const OSSL_PARAM *EVP_RAND_CTX_gettable_params(EVP_RAND_CTX *ctx) in EVP_RAND_CTX_gettable_params()
483 const OSSL_PARAM *EVP_RAND_CTX_settable_params(EVP_RAND_CTX *ctx) in EVP_RAND_CTX_settable_params()
514 (EVP_RAND_CTX *ctx, unsigned int strength, int prediction_resistance, in evp_rand_instantiate_locked()
521 int EVP_RAND_instantiate(EVP_RAND_CTX *ctx, unsigned int strength, in EVP_RAND_instantiate()
536 static int evp_rand_uninstantiate_locked(EVP_RAND_CTX *ctx) in evp_rand_uninstantiate_locked()
541 int EVP_RAND_uninstantiate(EVP_RAND_CTX *ctx) in EVP_RAND_uninstantiate()
552 static int evp_rand_generate_locked(EVP_RAND_CTX *ctx, unsigned char *out, in evp_rand_generate_locked()
584 int EVP_RAND_generate(EVP_RAND_CTX *ctx, unsigned char *out, size_t outlen, in EVP_RAND_generate()
598 static int evp_rand_reseed_locked(EVP_RAND_CTX *ctx, int prediction_resistance, in evp_rand_reseed_locked()
608 int EVP_RAND_reseed(EVP_RAND_CTX *ctx, int prediction_resistance, in EVP_RAND_reseed()
622 static unsigned int evp_rand_strength_locked(EVP_RAND_CTX *ctx) in evp_rand_strength_locked()
633 unsigned int EVP_RAND_get_strength(EVP_RAND_CTX *ctx) in EVP_RAND_get_strength()
644 static int evp_rand_nonce_locked(EVP_RAND_CTX *ctx, unsigned char *out, in evp_rand_nonce_locked()
656 int EVP_RAND_nonce(EVP_RAND_CTX *ctx, unsigned char *out, size_t outlen) in EVP_RAND_nonce()
667 int EVP_RAND_get_state(EVP_RAND_CTX *ctx) in EVP_RAND_get_state()
678 static int evp_rand_verify_zeroization_locked(EVP_RAND_CTX *ctx) in evp_rand_verify_zeroization_locked()
685 int EVP_RAND_verify_zeroization(EVP_RAND_CTX *ctx) in EVP_RAND_verify_zeroization()
696 int evp_rand_can_seed(EVP_RAND_CTX *ctx) in evp_rand_can_seed()
701 static size_t evp_rand_get_seed_locked(EVP_RAND_CTX *ctx, in evp_rand_get_seed_locked()
717 size_t evp_rand_get_seed(EVP_RAND_CTX *ctx, in evp_rand_get_seed()
736 static void evp_rand_clear_seed_locked(EVP_RAND_CTX *ctx, in evp_rand_clear_seed_locked()
743 void evp_rand_clear_seed(EVP_RAND_CTX *ctx, in evp_rand_clear_seed()