/freebsd/usr.sbin/bluetooth/sdpd/ |
H A D | provider.c | 41 static TAILQ_HEAD(, provider) providers = TAILQ_HEAD_INITIALIZER(providers); 92 provider_p provider = calloc(1, sizeof(*provider)); in provider_register() local 94 if (provider != NULL) { in provider_register() 95 provider->data = malloc(datalen); in provider_register() 96 if (provider->data != NULL) { in provider_register() 97 provider->profile = profile; in provider_register() 98 memcpy(provider->data, data, datalen); in provider_register() 108 provider->handle = handle; in provider_register() 110 memcpy(&provider->bdaddr, bdaddr, in provider_register() 111 sizeof(provider->bdaddr)); in provider_register() [all …]
|
H A D | scr.c | 54 provider_t *provider = NULL; in server_prepare_service_change_response() local 71 provider = provider_by_handle(handle); in server_prepare_service_change_response() 72 if (provider == NULL || provider->fd != fd) in server_prepare_service_change_response() 76 if (req_end - req < provider->profile->dsize || in server_prepare_service_change_response() 77 provider->profile->valid == NULL || in server_prepare_service_change_response() 78 (provider->profile->valid)(req, req_end - req) == 0) in server_prepare_service_change_response() 82 if (provider_update(provider, req, req_end - req) < 0) in server_prepare_service_change_response()
|
H A D | ssar.c | 44 int32_t server_prepare_attr_list(provider_p const provider, 155 server_search_uuid(provider_p const provider, const uint128_t *uuid) in server_search_uuid() argument 161 for (attr = provider->profile->attrs; attr->create != NULL; attr++) { in server_search_uuid() 164 (const uint8_t *)provider->profile, sizeof(*provider->profile)); in server_search_uuid() 188 provider_t *provider = NULL; in server_prepare_service_search_attribute_response() local 341 for (provider = provider_get_first(); in server_prepare_service_search_attribute_response() 342 provider != NULL; in server_prepare_service_search_attribute_response() 343 provider = provider_get_next(provider)) { in server_prepare_service_search_attribute_response() 344 if (!provider_match_bdaddr(provider, &srv->req_sa.l2cap_bdaddr)) in server_prepare_service_search_attribute_response() 348 puuid.b[2] = provider->profile->uuid >> 8; in server_prepare_service_search_attribute_response() [all …]
|
H A D | provider.h | 42 struct provider struct 49 TAILQ_ENTRY(provider) provider_next; /* all providers */ argument 52 typedef struct provider provider_t; 53 typedef struct provider * provider_p; 67 void provider_unregister (provider_p provider); 68 int32_t provider_update (provider_p provider, 73 provider_p provider_get_next (provider_p provider);
|
H A D | nap.c | 104 provider_p provider = (provider_p) data; in nap_profile_create_protocol_descriptor_list() local 105 sdp_nap_profile_p nap = (sdp_nap_profile_p) provider->data; in nap_profile_create_protocol_descriptor_list() 117 provider_p provider = (provider_p) data; in nap_profile_create_security_description() local 118 sdp_nap_profile_p nap = (sdp_nap_profile_p) provider->data; in nap_profile_create_security_description() 130 provider_p provider = (provider_p) data; in nap_profile_create_net_access_type() local 131 sdp_nap_profile_p nap = (sdp_nap_profile_p) provider->data; in nap_profile_create_net_access_type() 147 provider_p provider = (provider_p) data; in nap_profile_create_max_net_access_rate() local 148 sdp_nap_profile_p nap = (sdp_nap_profile_p) provider->data; in nap_profile_create_max_net_access_rate() 164 provider_p provider = (provider_p) data; in nap_profile_create_service_availability() local 165 sdp_nap_profile_p nap = (sdp_nap_profile_p) provider->data; in nap_profile_create_service_availability()
|
/freebsd/tools/regression/geom/ConfCmp/ |
H A D | a1.conf | 14 <provider><ref>0x80bf880</ref></provider> 26 <provider><ref>0x80bf800</ref></provider> 38 <provider><ref>0x80bf780</ref></provider> 50 <provider><ref>0x80bf600</ref></provider> 62 <provider><ref>0x80bf480</ref></provider> 74 <provider><ref>0x80bf400</ref></provider> 86 <provider><ref>0x80bf380</ref></provider> 98 <provider><ref>0x80bf300</ref></provider> 110 <provider><ref>0x80bf280</ref></provider> 122 <provider><ref>0x80bf100</ref></provider> [all …]
|
H A D | a1a.conf | 14 <provider><ref>0x90bf880</ref></provider> 26 <provider><ref>0x90bf800</ref></provider> 38 <provider><ref>0x90bf780</ref></provider> 50 <provider><ref>0x90bf600</ref></provider> 62 <provider><ref>0x90bf480</ref></provider> 74 <provider><ref>0x90bf400</ref></provider> 86 <provider><ref>0x90bf380</ref></provider> 98 <provider><ref>0x90bf300</ref></provider> 110 <provider><ref>0x90bf280</ref></provider> 122 <provider><ref>0x90bf100</ref></provider> [all …]
|
H A D | a1d.conf | 14 <provider><ref>0x80bf880</ref></provider> 26 <provider><ref>0x80bf800</ref></provider> 38 <provider><ref>0x80bf780</ref></provider> 50 <provider><ref>0x80bf600</ref></provider> 62 <provider><ref>0x80bf480</ref></provider> 74 <provider><ref>0x80bf400</ref></provider> 86 <provider><ref>0x80bf380</ref></provider> 98 <provider><ref>0x80bf300</ref></provider> 110 <provider><ref>0x80bf280</ref></provider> 122 <provider><ref>0x80bf100</ref></provider> [all …]
|
H A D | a1b.conf | 14 <provider><ref>0x80bf880</ref></provider> 26 <provider><ref>0x80bf800</ref></provider> 38 <provider><ref>0x80bf780</ref></provider> 50 <provider><ref>0x80bf600</ref></provider> 62 <provider><ref>0x80bf480</ref></provider> 74 <provider><ref>0x80bf400</ref></provider> 86 <provider><ref>0x80bf380</ref></provider> 98 <provider><ref>0x80bf300</ref></provider> 110 <provider><ref>0x80bf280</ref></provider> 122 <provider><ref>0x80bf100</ref></provider> [all …]
|
H A D | a1c.conf | 14 <provider><ref>0x80bf880</ref></provider> 26 <provider><ref>0x80bf800</ref></provider> 38 <provider><ref>0x80bf780</ref></provider> 50 <provider><ref>0x80bf600</ref></provider> 62 <provider><ref>0x80bf480</ref></provider> 74 <provider><ref>0x80bf400</ref></provider> 86 <provider><ref>0x80bf380</ref></provider> 98 <provider><ref>0x80bf300</ref></provider> 110 <provider><ref>0x80bf280</ref></provider> 122 <provider><ref>0x80bf100</ref></provider> [all …]
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | OSSL_PROVIDER.pod | 13 - provider routines 17 #include <openssl/provider.h> 30 int (*cb)(OSSL_PROVIDER *provider, void *cbdata), 59 implementation providers (see L<provider(7)> for information on what a 60 provider is). 61 A provider can be built in to the application or the OpenSSL 75 OSSL_PROVIDER_add_builtin() is used to add a built in provider to 77 provider name with a provider initialization function. 80 OSSL_PROVIDER_load() loads and initializes a provider. 81 This may simply initialize a provider that was previously added with [all …]
|
/freebsd/crypto/openssl/ |
H A D | README-PROVIDERS.md | 5 - [The Default Provider](#the-default-provider) 6 - [The Legacy Provider](#the-legacy-provider) 7 - [The FIPS Provider](#the-fips-provider) 8 - [The Base Provider](#the-base-provider) 9 - [The Null Provider](#the-null-provider) 16 algorithm is used via the high level APIs a provider is selected. It is that 17 provider implementation that actually does the required work. There are five 20 Documentation about writing providers is available on the [provider(7)] 23 [provider(7)]: https://www.openssl.org/docs/man3.0/man7/provider.html 28 The default provider collects together all of the standard built-in OpenSSL [all …]
|
H A D | README-FIPS.md | 5 FIPS validated. The module is implemented as an OpenSSL provider. 6 A provider is essentially a dynamically loadable module which implements 13 If you need a FIPS validated module then you must ONLY generate a FIPS provider 22 legacy providers) without any restrictions, but the FIPS provider must be built 26 The OpenSSL FIPS provider is a shared library called `fips.so` (on Unix), or 27 resp. `fips.dll` (on Windows). The FIPS provider does not get built and 31 Installing the FIPS provider 39 If you want to use a validated FIPS provider, but also want to use the latest 45 If the FIPS provider is enabled, it gets installed automatically during the 61 the FIPS provider independently, without installing the rest of OpenSSL. [all …]
|
/freebsd/crypto/openssl/doc/internal/man3/ |
H A D | ossl_provider_new.pod | 23 - internal provider routines 27 #include "internal/provider.h" 61 /* Return pointer to the provider's context */ 68 int (*cb)(OSSL_PROVIDER *provider, 79 /* Thin wrappers around calls to the provider */ 94 int ossl_provider_set_operation_bit(OSSL_PROVIDER *provider, size_t bitnum); 95 int ossl_provider_test_operation_bit(OSSL_PROVIDER *provider, size_t bitnum, 106 to handle a provider, regardless of if it's built in to the 107 application or the OpenSSL libraries, or if it's a loadable provider 109 Instances of this type are commonly referred to as "provider object [all...] |
/freebsd/crypto/openssl/doc/man7/ |
H A D | provider.pod | 5 provider - OpenSSL operation implementation providers 11 #include <openssl/provider.h> 17 This page contains information useful to provider authors. 19 A I<provider>, in OpenSSL terms, is a unit of code that provides one 36 A I<provider> offers an initialization function, as a set of base 51 I<handle> is the OpenSSL library object for the provider, and works 53 the provider. 54 For the provider itself, it is passed to some of the functions given in the 59 L<provider-base(7)>. 62 provider offers to the OpenSSL libraries. [all …]
|
H A D | provider-kem.pod | 5 provider-kem - The kem library E<lt>-E<gt> provider functions 44 This documentation is primarily aimed at provider authors. See L<provider(7)> 53 F<libcrypto> and the provider in L<OSSL_DISPATCH(3)> arrays via 54 L<OSSL_ALGORITHM(3)> arrays that are returned by the provider's 56 (see L<provider-base(7)/Provider Functions>). 88 In order to be a consistent set of functions a provider must implement 100 See L<provider-keymgmt(7)> for further details. 104 OSSL_FUNC_kem_newctx() should create and return a pointer to a provider side 108 The parameter I<provctx> is the provider context generated during provider 109 initialisation (see L<provider(7)>). [all …]
|
H A D | provider-digest.pod | 5 provider-digest - The digest library E<lt>-E<gt> provider functions 50 This documentation is primarily aimed at provider authors. See L<provider(7)> 58 F<libcrypto> and the provider in L<OSSL_DISPATCH(3)> arrays via 59 L<OSSL_ALGORITHM(3)> arrays that are returned by the provider's 61 (see L<provider-base(7)/Provider Functions>). 100 OSSL_FUNC_digest_newctx() should create and return a pointer to a provider side 104 The parameter I<provctx> is the provider context generated during provider 105 initialisation (see L<provider(7)>). 107 OSSL_FUNC_digest_freectx() is passed a pointer to the provider side digest context in 111 OSSL_FUNC_digest_dupctx() should duplicate the provider side digest context in the [all …]
|
H A D | provider-base.pod | 5 provider-base 6 - The basic OpenSSL library E<lt>-E<gt> provider functions 89 int (*create_cb)(const OSSL_CORE_HANDLE *provider, 91 int (*remove_cb)(const OSSL_CORE_HANDLE *provider, 102 /* Functions offered by the provider to libcrypto */ 119 F<libcrypto> and the provider in L<OSSL_DISPATCH(3)> arrays, in the call 120 of the provider initialization function. See L<provider(7)/Provider> 138 provider): 185 For I<*out> (the L<OSSL_DISPATCH(3)> array passed from the provider to 206 The core_thread_start() function informs the core that the provider has stated [all …]
|
H A D | provider-mac.pod | 5 provider-mac - The mac library E<lt>-E<gt> provider functions 43 This documentation is primarily aimed at provider authors. See L<provider(7)> 51 F<libcrypto> and the provider in L<OSSL_DISPATCH(3)> arrays via 52 L<OSSL_ALGORITHM(3)> arrays that are returned by the provider's 54 (see L<provider-base(7)/Provider Functions>). 93 OSSL_FUNC_mac_newctx() should create and return a pointer to a provider side 97 The parameter I<provctx> is the provider context generated during provider 98 initialisation (see L<provider(7)>). 100 OSSL_FUNC_mac_freectx() is passed a pointer to the provider side mac context in 106 OSSL_FUNC_mac_dupctx() should duplicate the provider side mac context in the [all …]
|
/freebsd/libexec/rc/rc.d/ |
H A D | geli | 53 for provider in ${devices}; do 54 provider_=`ltr ${provider} '/-' '_'` 60 if [ -e "/dev/${provider}" -a ! -e "/dev/${provider}.eli" ]; then 61 echo "Configuring Disk Encryption for ${provider}." 64 geli attach ${flags} ${provider} 65 if [ -e "/dev/${provider}.eli" ]; then 115 for provider in ${devices}; do 116 if [ -e "/dev/${provider}.eli" ]; then 117 umount "/dev/${provider}.eli" 2>/dev/null 118 geli detach "${provider}"
|
/freebsd/crypto/openssl/crypto/ |
H A D | core_algorithm.c | 42 static int algorithm_do_map(OSSL_PROVIDER *provider, const OSSL_ALGORITHM *map, in algorithm_do_map() argument 56 } else if (!data->pre(provider, cur_operation, no_store, data->data, in algorithm_do_map() 77 data->fn(provider, thismap, no_store, data->data); in algorithm_do_map() 84 } else if (!data->post(provider, cur_operation, no_store, data->data, in algorithm_do_map() 102 static int algorithm_do_this(OSSL_PROVIDER *provider, void *cbdata) in algorithm_do_this() argument 120 map = ossl_provider_query_operation(provider, cur_operation, in algorithm_do_this() 122 ret = algorithm_do_map(provider, map, cur_operation, no_store, data); in algorithm_do_this() 123 ossl_provider_unquery_operation(provider, cur_operation, map); in algorithm_do_this() 138 OSSL_PROVIDER *provider, in ossl_algorithm_do_all() argument 142 void (*fn)(OSSL_PROVIDER *provider, in ossl_algorithm_do_all() argument [all …]
|
H A D | core_fetch.c | 59 static int ossl_method_construct_precondition(OSSL_PROVIDER *provider, in ossl_method_construct_precondition() argument 73 && !ossl_provider_test_operation_bit(provider, operation_id, result)) in ossl_method_construct_precondition() 86 static int ossl_method_construct_postcondition(OSSL_PROVIDER *provider, in ossl_method_construct_postcondition() argument 99 || ossl_provider_set_operation_bit(provider, operation_id); in ossl_method_construct_postcondition() 102 static void ossl_method_construct_this(OSSL_PROVIDER *provider, in ossl_method_construct_this() argument 109 if ((method = data->mcm->construct(algo, provider, data->mcm_data)) in ossl_method_construct_this() 124 method, provider, algo->algorithm_names, in ossl_method_construct_this() 136 OSSL_PROVIDER *provider = provider_rw != NULL ? *provider_rw : NULL; in ossl_method_construct() local 154 ossl_algorithm_do_all(libctx, operation_id, provider, in ossl_method_construct()
|
/freebsd/lib/libgeom/ |
H A D | geom_xml2tree.c | 54 struct gprovider *provider; member 146 if (!strcmp(name, "provider") && mt->provider == NULL) { in StartElement() 147 mt->provider = calloc(1, sizeof *mt->provider); in StartElement() 148 if (mt->provider == NULL) { in StartElement() 155 mt->provider->lg_id = id; in StartElement() 156 LIST_INSERT_HEAD(&mt->geom->lg_provider, mt->provider, in StartElement() 158 LIST_INIT(&mt->provider->lg_consumers); in StartElement() 159 LIST_INIT(&mt->provider->lg_config); in StartElement() 162 if (!strcmp(name, "geom") && mt->provider != NULL) { in StartElement() 163 mt->provider->lg_geom = ref; in StartElement() [all …]
|
/freebsd/crypto/openssl/doc/internal/man7/ |
H A D | EVP_PKEY.pod | 24 explained further down, in L</Export cache for provider operations>), 43 =item provider-native origin 46 key data (see L<provider-keymgmt(7)>). The internal key in the 47 B<EVP_PKEY> is a pointer to that key data held by the provider, and 69 internal key is a provider key then the return value from functions such as 71 copy are not reflected back in the provider key. 73 Internal provider native keys are also possible to be modified, if the 93 in L</Export cache for provider operations>. 95 For provider native origin keys, this doesn't require any help from 104 =head2 Export cache for provider operation [all...] |
/freebsd/secure/lib/libcrypto/man/man7/ |
H A D | Makefile | 108 MAN+= provider-asym_cipher.7 109 MAN+= provider-base.7 110 MAN+= provider-cipher.7 111 MAN+= provider-decoder.7 112 MAN+= provider-digest.7 113 MAN+= provider-encoder.7 114 MAN+= provider-kdf.7 115 MAN+= provider-kem.7 116 MAN+= provider-keyexch.7 117 MAN+= provider-keymgmt.7 [all …]
|