Home
last modified time | relevance | path

Searched refs:prop (Results 1 – 12 of 12) sorted by relevance

/openssl/crypto/property/
H A Dproperty_query.c39 return prop->type; in ossl_property_get_type()
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()
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
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()
[all …]
H A Ddefn_cache.c27 const char *prop; member
36 return OPENSSL_LH_strhash(a->prop); in property_defn_hash()
42 return strcmp(a->prop, b->prop); in property_defn_cmp()
66 OSSL_PROPERTY_LIST *ossl_prop_defn_get(OSSL_LIB_CTX *ctx, const char *prop) in ossl_prop_defn_get() argument
76 elem.prop = prop; in ossl_prop_defn_get()
89 int ossl_prop_defn_set(OSSL_LIB_CTX *ctx, const char *prop, in ossl_prop_defn_set() argument
102 if (prop == NULL) in ossl_prop_defn_set()
107 elem.prop = prop; in ossl_prop_defn_set()
118 len = strlen(prop); in ossl_prop_defn_set()
121 p->prop = p->body; in ossl_prop_defn_set()
[all …]
H A Dproperty_parse.c361 prop = OPENSSL_malloc(sizeof(*prop)); in ossl_parse_property()
362 if (prop == NULL) in ossl_parse_property()
364 memset(&prop->v, 0, sizeof(prop->v)); in ossl_parse_property()
365 prop->optional = 0; in ossl_parse_property()
388 prop = NULL; in ossl_parse_property()
399 OPENSSL_free(prop); in ossl_parse_property()
418 prop = OPENSSL_malloc(sizeof(*prop)); in ossl_parse_query()
419 if (prop == NULL) in ossl_parse_query()
421 memset(&prop->v, 0, sizeof(prop->v)); in ossl_parse_query()
451 prop = NULL; in ossl_parse_query()
[all …]
H A Dproperty_local.h53 OSSL_PROPERTY_LIST *ossl_prop_defn_get(OSSL_LIB_CTX *ctx, const char *prop);
54 int ossl_prop_defn_set(OSSL_LIB_CTX *ctx, const char *prop,
H A Dproperty_string.c207 static void find_str_fn(PROPERTY_STRING *prop, void *vfindstr) in find_str_fn() argument
211 if (prop->idx == findstr->idx) in find_str_fn()
212 findstr->str = prop->s; in find_str_fn()
/openssl/test/
H A Dproperty_test.c244 const char *prop; member
271 OSSL_PROPERTY_LIST *q_combined = NULL, *prop = NULL; in test_property_merge() local
277 && TEST_ptr(prop = ossl_parse_property(NULL, merge_tests[n].prop)) in test_property_merge()
287 ossl_property_free(prop); in test_property_merge()
375 const char *prop; in test_register_deregister() member
429 const char *prop; in test_property() member
442 const char *prop; in test_property() member
502 queries[i].prop, in test_property()
513 queries[i].prop, in test_property()
534 queries[i].prop, in test_property()
[all …]
/openssl/include/internal/
H A Dproperty.h46 OSSL_PROPERTY_TYPE ossl_property_get_type(const OSSL_PROPERTY_DEFINITION *prop);
48 const OSSL_PROPERTY_DEFINITION *prop);
49 int64_t ossl_property_get_number_value(const OSSL_PROPERTY_DEFINITION *prop);
/openssl/crypto/encode_decode/
H A Dencoder_lib.c194 const OSSL_PROPERTY_DEFINITION *prop; in ossl_encoder_instance_new() local
220 prop = ossl_property_find_property(props, libctx, "output"); in ossl_encoder_instance_new()
221 encoder_inst->output_type = ossl_property_get_string_value(libctx, prop); in ossl_encoder_instance_new()
232 prop = ossl_property_find_property(props, libctx, "structure"); in ossl_encoder_instance_new()
233 if (prop != NULL) in ossl_encoder_instance_new()
235 = ossl_property_get_string_value(libctx, prop); in ossl_encoder_instance_new()
H A Ddecoder_lib.c220 const OSSL_PROPERTY_DEFINITION *prop; in ossl_decoder_instance_new() local
241 prop = ossl_property_find_property(props, libctx, "input"); in ossl_decoder_instance_new()
242 decoder_inst->input_type = ossl_property_get_string_value(libctx, prop); in ossl_decoder_instance_new()
254 prop = ossl_property_find_property(props, libctx, "structure"); in ossl_decoder_instance_new()
255 if (prop != NULL) { in ossl_decoder_instance_new()
257 = ossl_property_get_string_value(libctx, prop); in ossl_decoder_instance_new()
/openssl/doc/man3/
H A DPKCS12_SAFEBAG_get1_cert.pod55 I<prop> to NULL. This will use the default library context.
/openssl/doc/internal/man3/
H A DOSSL_METHOD_STORE.pod86 I<*prop> may be a pointer to a provider, which will narrow the search
/openssl/crypto/err/
H A Dopenssl.txt1216 unable to get parent reseed prop counter

Completed in 22 milliseconds