Lines Matching refs:state
32 switch (el->state) { in ossl_qrl_enc_level_set_get()
49 switch (el->state) { in ossl_qrl_enc_level_set_have_el()
90 if (!ossl_qrl_enc_level_set_has_keyslot(els, enc_level, el->state, keyslot)) in el_teardown_keyslot()
222 && el->state == QRL_EL_STATE_PROV_NORMAL) { in ossl_qrl_enc_level_set_provide_secret()
230 el->state = QRL_EL_STATE_UNPROV; in ossl_qrl_enc_level_set_provide_secret()
233 if (el->state != QRL_EL_STATE_UNPROV) { in ossl_qrl_enc_level_set_provide_secret()
327 el->state = QRL_EL_STATE_PROV_NORMAL; in ossl_qrl_enc_level_set_provide_secret()
357 if (el->state != QRL_EL_STATE_PROV_NORMAL) { in ossl_qrl_enc_level_set_key_update()
367 el->state = QRL_EL_STATE_PROV_UPDATING; in ossl_qrl_enc_level_set_key_update()
413 el->state = QRL_EL_STATE_PROV_COOLDOWN; in ossl_qrl_enc_level_set_key_update_done()
433 if (el->state == QRL_EL_STATE_PROV_UPDATING in ossl_qrl_enc_level_set_key_cooldown_done()
439 if (el->state != QRL_EL_STATE_PROV_COOLDOWN) { in ossl_qrl_enc_level_set_key_cooldown_done()
463 el->state = QRL_EL_STATE_PROV_NORMAL; in ossl_qrl_enc_level_set_key_cooldown_done()
476 if (el == NULL || el->state == QRL_EL_STATE_DISCARDED) in ossl_qrl_enc_level_set_discard()
488 el->state = QRL_EL_STATE_DISCARDED; in ossl_qrl_enc_level_set_discard()