Lines Matching refs:ind
16 void ossl_FIPS_IND_init(OSSL_FIPS_IND *ind) in ossl_FIPS_IND_init() argument
20 ossl_FIPS_IND_set_approved(ind); /* Assume we are approved by default */ in ossl_FIPS_IND_init()
22 ind->settable[i] = OSSL_FIPS_IND_STATE_UNKNOWN; in ossl_FIPS_IND_init()
25 void ossl_FIPS_IND_set_approved(OSSL_FIPS_IND *ind) in ossl_FIPS_IND_set_approved() argument
27 ind->approved = 1; in ossl_FIPS_IND_set_approved()
35 void ossl_FIPS_IND_set_settable(OSSL_FIPS_IND *ind, int id, int state) in ossl_FIPS_IND_set_settable() argument
42 ind->settable[id] = state; in ossl_FIPS_IND_set_settable()
45 int ossl_FIPS_IND_get_settable(const OSSL_FIPS_IND *ind, int id) in ossl_FIPS_IND_get_settable() argument
49 return ind->settable[id]; in ossl_FIPS_IND_get_settable()
58 int ossl_FIPS_IND_on_unapproved(OSSL_FIPS_IND *ind, int id, in ossl_FIPS_IND_on_unapproved() argument
64 ind->approved = 0; in ossl_FIPS_IND_on_unapproved()
71 if (ossl_FIPS_IND_get_settable(ind, id) == OSSL_FIPS_IND_STATE_TOLERANT in ossl_FIPS_IND_on_unapproved()
80 int ossl_FIPS_IND_set_ctx_param(OSSL_FIPS_IND *ind, int id, in ossl_FIPS_IND_set_ctx_param() argument
89 ossl_FIPS_IND_set_settable(ind, id, in); in ossl_FIPS_IND_set_ctx_param()
94 int ossl_FIPS_IND_get_ctx_param(const OSSL_FIPS_IND *ind, OSSL_PARAM params[]) in ossl_FIPS_IND_get_ctx_param() argument
98 return p == NULL || OSSL_PARAM_set_int(p, ind->approved); in ossl_FIPS_IND_get_ctx_param()