Home
last modified time | relevance | path

Searched refs:properties (Results 1 – 25 of 137) sorted by relevance

123456

/openssl/test/recipes/
H A D20-test_rand_config.t21 properties => '',
27 properties => '',
33 properties => '',
47 properties => '',
53 properties => '',
/openssl/crypto/evp/
H A Devp_local.h303 const char *name, const char *properties,
310 const char *name, const char *properties,
330 const char *properties);
333 const char *properties);
336 const char *properties);
339 const char *properties);
342 const char *properties);
345 const char *properties);
348 const char *properties);
351 const char *properties);
H A Devp_fetch.c253 const char *name, ossl_unused const char *properties, in inner_evp_generic_fetch() argument
271 const char *const propq = properties != NULL ? properties : ""; in inner_evp_generic_fetch()
379 properties == NULL ? "<null>" : properties); in inner_evp_generic_fetch()
384 properties == NULL ? "<null>" : properties); in inner_evp_generic_fetch()
391 const char *name, const char *properties, in evp_generic_fetch() argument
404 name, properties, in evp_generic_fetch()
417 const char *name, const char *properties, in evp_generic_fetch_from_prov() argument
430 name, properties, in evp_generic_fetch_from_prov()
H A Dmac_meth.c179 const char *properties) in EVP_MAC_fetch() argument
181 return evp_generic_fetch(libctx, OSSL_OP_MAC, algorithm, properties, in EVP_MAC_fetch()
259 const char *properties) in evp_mac_fetch_from_prov() argument
262 algorithm, properties, in evp_mac_fetch_from_prov()
H A Dskeymgmt_meth.c132 const char *properties) in evp_skeymgmt_fetch_from_prov() argument
136 name, properties, in evp_skeymgmt_fetch_from_prov()
143 const char *properties) in EVP_SKEYMGMT_fetch() argument
145 return evp_generic_fetch(ctx, OSSL_OP_SKEYMGMT, algorithm, properties, in EVP_SKEYMGMT_fetch()
/openssl/crypto/property/
H A Dproperty.c44 OSSL_PROPERTY_LIST *properties; member
330 if (properties == NULL) in ossl_method_store_add()
331 properties = ""; in ossl_method_store_add()
373 if ((impl->properties = ossl_prop_defn_get(store->ctx, properties)) == NULL) { in ossl_method_store_add()
374 impl->properties = ossl_parse_property(store->ctx, properties); in ossl_method_store_add()
375 if (impl->properties == NULL) in ossl_method_store_add()
377 if (!ossl_prop_defn_set(store->ctx, properties, &impl->properties)) { in ossl_method_store_add()
378 ossl_property_free(impl->properties); in ossl_method_store_add()
379 impl->properties = NULL; in ossl_method_store_add()
405 && tmpimpl->properties == impl->properties) in ossl_method_store_add()
[all …]
H A DREADME.md1 Selecting algorithm implementations by properties
14 * Providers will often give the same implementation properties to most or
38 values) of all properties and to reference these instead of duplicating
42 properties can be sorted by the string index which makes comparisons linear
46 properties are used and not algorithm properties, or at least these are
48 the property definition string, and algorithms with the same properties
55 properties are changed as doing so removes the need to index on both the
76 These convert ASCII strings into lists of properties. The resulting
82 contains the main APIs for defining and using properties.
93 parsed properties. It is used by property.c to improve performance when
H A Dproperty_parse.c321 + (n <= 0 ? 0 : n - 1) * sizeof(r->properties[0])); in stack_to_property_list()
327 r->properties[i] = *sk_OSSL_PROPERTY_DEFINITION_value(sk, i); in stack_to_property_list()
328 r->has_optional |= r->properties[i].optional; in stack_to_property_list()
331 if (i > 0 && r->properties[i].name_idx == prev_name_idx) { in stack_to_property_list()
338 prev_name_idx = r->properties[i].name_idx; in stack_to_property_list()
474 const OSSL_PROPERTY_DEFINITION *const q = query->properties; in ossl_property_match_count()
475 const OSSL_PROPERTY_DEFINITION *const d = defn->properties; in ossl_property_match_count()
541 const OSSL_PROPERTY_DEFINITION *const ap = a->properties; in ossl_property_merge()
542 const OSSL_PROPERTY_DEFINITION *const bp = b->properties; in ossl_property_merge()
566 memcpy(r->properties + n, copy, sizeof(r->properties[0])); in ossl_property_merge()
[all …]
H A Dproperty_query.c33 return ossl_bsearch(&name_idx, list->properties, list->num_properties, in ossl_property_find_property()
34 sizeof(*list->properties), &property_idx_cmp, 0); in ossl_property_find_property()
/openssl/providers/common/
H A Dprovider_util.c235 const char *properties, in ossl_prov_set_macctx() argument
275 if (properties != NULL) in ossl_prov_set_macctx()
277 (char *)properties, 0); in ossl_prov_set_macctx()
304 const char *properties = NULL; in ossl_prov_macctx_load_from_params() local
316 properties = p->data; in ossl_prov_macctx_load_from_params()
321 EVP_MAC *mac = EVP_MAC_fetch(libctx, macname, properties); in ossl_prov_macctx_load_from_params()
339 properties, NULL, 0)) in ossl_prov_macctx_load_from_params()
/openssl/doc/internal/man3/
H A Dossl_global_properties_no_mirrored.pod27 properties in it then the empty string will be stored in I<buf>.
30 properties from a parent library context is allowed for the current library
34 properties from a parent library context for the current library context.
40 ossl_global_properties_no_mirrored() returns 1 if mirroring of global properties
H A DOSSL_METHOD_STORE.pod24 int nid, const char *properties, void *method,
30 int nid, const char *properties,
45 OSSL_METHOD_STORE stores methods that can be queried using properties and a
73 I<nid> and the property definition I<properties>, unless the I<store> already
74 has a method from the same provider with the same I<nid> and I<properties>.
H A Devp_generic_fetch.pod14 const char *name, const char *properties,
24 int name_id, const char *properties,
36 I<libctx>, I<operation_id>, I<name>, and I<properties> and uses
201 const char *properties)
204 evp_generic_fetch(ctx, OSSL_OP_FOO, name, properties,
/openssl/doc/man3/
H A DEVP_set_default_properties.pod7 - manage default properties for future algorithm fetches
20 EVP_set_default_properties() sets the default properties for all
25 EVP_set_default_properties stores the properties given with the string
32 EVP_get1_default_properties() gets the default properties set for all future EVP
51 that the context reference is valid and default fetching properties are not
H A DOSSL_DECODER.pod27 const char *properties);
52 name given by I<name> and the properties given by I<properties>.
54 method is expected to be able to decode, and the properties are
56 For known properties and the values they may have, please have a look
57 in L<provider-encoder(7)/Names and properties>.
129 functions, using the same library context and properties.
H A DOSSL_ENCODER.pod27 const char *properties);
52 name given by I<name> and the properties given by I<properties>.
54 method is expected to be able to encode, and the properties are
56 For known properties and the values they may have, please have a look
57 in L<provider-encoder(7)/Names and properties>.
/openssl/crypto/store/
H A Dstore_meth.c292 const char *scheme, const char *properties) in inner_loader_fetch() argument
296 const char *const propq = properties != NULL ? properties : ""; in inner_loader_fetch()
368 properties == NULL ? "<null>" : properties); in inner_loader_fetch()
376 const char *properties) in OSSL_STORE_LOADER_fetch() argument
383 method = inner_loader_fetch(&methdata, scheme, properties); in OSSL_STORE_LOADER_fetch()
H A Dstore_local.h141 char *properties; member
171 const char *properties);
/openssl/doc/man7/
H A Dproperty.pod11 The method is centered around the concept of properties.
12 Each implementation defines a number of properties and when an algorithm
13 is being selected, filters based on these properties can be used to
43 A I<property definition> is a sequence of comma separated properties.
44 There can be any number of properties in a definition, however each name must
55 properties.
121 In order to permit a more concise expression of boolean properties, there
H A DEVP_MAC-GMAC.pod16 This implementation is identified with this name and properties, to be
47 =item "properties" (B<OSSL_MAC_PARAM_PROPERTIES>) <UTF8 string>
49 Sets the properties to be queried when trying to fetch the underlying cipher.
H A DEVP_RAND-CTR-DRBG.pod47 =item "properties" (B<OSSL_DRBG_PARAM_PROPERTIES>) <UTF8 string>
70 regardless of the properties provided. Should the provider not implement
71 the required algorithms then properties will be used to find a different
H A DEVP_MAC-CMAC.pod16 This implementation is identified with this name and properties, to be
44 =item "properties" (B<OSSL_MAC_PARAM_PROPERTIES>) <UTF8 string>
46 Sets the properties to be queried when trying to fetch the underlying cipher.
/openssl/crypto/encode_decode/
H A Ddecoder_meth.c352 const char *name, const char *properties) in inner_ossl_decoder_fetch() argument
356 const char *const propq = properties != NULL ? properties : ""; in inner_ossl_decoder_fetch()
422 properties == NULL ? "<null>" : properties); in inner_ossl_decoder_fetch()
429 const char *properties) in OSSL_DECODER_fetch() argument
436 method = inner_ossl_decoder_fetch(&methdata, name, properties); in OSSL_DECODER_fetch()
H A Dencoder_meth.c362 const char *name, const char *properties) in inner_ossl_encoder_fetch() argument
366 const char *const propq = properties != NULL ? properties : ""; in inner_ossl_encoder_fetch()
431 properties == NULL ? "<null>" : properties); in inner_ossl_encoder_fetch()
438 const char *properties) in OSSL_ENCODER_fetch() argument
445 method = inner_ossl_encoder_fetch(&methdata, name, properties); in OSSL_ENCODER_fetch()
/openssl/test/recipes/30-test_evp_data/
H A Devpkdf_hmac_drbg.txt16 Ctrl.properties = properties:provider=default

Completed in 52 milliseconds

123456