Lines Matching refs:state

373     if (drbg->state != EVP_RAND_STATE_UNINITIALISED) {  in ossl_prov_drbg_instantiate()
374 if (drbg->state == EVP_RAND_STATE_ERROR) in ossl_prov_drbg_instantiate()
381 drbg->state = EVP_RAND_STATE_ERROR; in ossl_prov_drbg_instantiate()
455 drbg->state = EVP_RAND_STATE_READY; in ossl_prov_drbg_instantiate()
463 if (drbg->state == EVP_RAND_STATE_READY) in ossl_prov_drbg_instantiate()
477 drbg->state = EVP_RAND_STATE_UNINITIALISED; in ossl_prov_drbg_uninstantiate()
494 if (drbg->state != EVP_RAND_STATE_READY) { in ossl_prov_drbg_reseed_unlocked()
498 if (drbg->state == EVP_RAND_STATE_ERROR) { in ossl_prov_drbg_reseed_unlocked()
502 if (drbg->state == EVP_RAND_STATE_UNINITIALISED) { in ossl_prov_drbg_reseed_unlocked()
511 drbg->state = EVP_RAND_STATE_ERROR; in ossl_prov_drbg_reseed_unlocked()
516 drbg->state = EVP_RAND_STATE_ERROR; in ossl_prov_drbg_reseed_unlocked()
528 drbg->state = EVP_RAND_STATE_ERROR; in ossl_prov_drbg_reseed_unlocked()
574 drbg->state = EVP_RAND_STATE_READY; in ossl_prov_drbg_reseed_unlocked()
583 if (drbg->state == EVP_RAND_STATE_READY) in ossl_prov_drbg_reseed_unlocked()
637 if (drbg->state != EVP_RAND_STATE_READY) { in ossl_prov_drbg_generate()
641 if (drbg->state == EVP_RAND_STATE_ERROR) { in ossl_prov_drbg_generate()
645 if (drbg->state == EVP_RAND_STATE_UNINITIALISED) { in ossl_prov_drbg_generate()
696 drbg->state = EVP_RAND_STATE_ERROR; in ossl_prov_drbg_generate()
731 if (drbg->state == EVP_RAND_STATE_ERROR) in rand_drbg_restart()
735 if (drbg->state == EVP_RAND_STATE_UNINITIALISED) in rand_drbg_restart()
739 return drbg->state == EVP_RAND_STATE_READY; in rand_drbg_restart()
885 if (p != NULL && !OSSL_PARAM_set_int(p, drbg->state)) in ossl_drbg_get_ctx_params()