Lines Matching refs:prop
37 OSSL_PROPERTY_TYPE ossl_property_get_type(const OSSL_PROPERTY_DEFINITION *prop) in ossl_property_get_type() argument
39 return prop->type; in ossl_property_get_type()
43 const OSSL_PROPERTY_DEFINITION *prop) in ossl_property_get_string_value() argument
47 if (prop != NULL && prop->type == OSSL_PROPERTY_TYPE_STRING) in ossl_property_get_string_value()
48 value = ossl_property_value_str(libctx, prop->v.str_val); in ossl_property_get_string_value()
52 int64_t ossl_property_get_number_value(const OSSL_PROPERTY_DEFINITION *prop) in ossl_property_get_number_value() argument
56 if (prop != NULL && prop->type == OSSL_PROPERTY_TYPE_NUMBER) in ossl_property_get_number_value()
57 value = prop->v.int_val; in ossl_property_get_number_value()
70 const OSSL_PROPERTY_DEFINITION *prop; in ossl_property_is_enabled() local
72 prop = ossl_property_find_property(prop_list, ctx, property_name); in ossl_property_is_enabled()
74 if (prop == NULL || prop->optional || prop->oper == OSSL_PROPERTY_OVERRIDE) in ossl_property_is_enabled()
76 return (prop->type == OSSL_PROPERTY_TYPE_STRING in ossl_property_is_enabled()
77 && ((prop->oper == OSSL_PROPERTY_OPER_EQ in ossl_property_is_enabled()
78 && prop->v.str_val == OSSL_PROPERTY_TRUE) in ossl_property_is_enabled()
79 || (prop->oper == OSSL_PROPERTY_OPER_NE in ossl_property_is_enabled()
80 && prop->v.str_val != OSSL_PROPERTY_TRUE))); in ossl_property_is_enabled()