| /freebsd-src/crypto/openssl/crypto/x509/ |
| H A D | x509_meth.c | 22 X509_LOOKUP_METHOD *method = OPENSSL_zalloc(sizeof(X509_LOOKUP_METHOD)); in X509_LOOKUP_meth_new() local 24 if (method != NULL) { in X509_LOOKUP_meth_new() 25 method->name = OPENSSL_strdup(name); in X509_LOOKUP_meth_new() 26 if (method->name == NULL) { in X509_LOOKUP_meth_new() 32 return method; in X509_LOOKUP_meth_new() 35 OPENSSL_free(method); in X509_LOOKUP_meth_new() 39 void X509_LOOKUP_meth_free(X509_LOOKUP_METHOD *method) in X509_LOOKUP_meth_free() argument 41 if (method != NULL) in X509_LOOKUP_meth_free() 42 OPENSSL_free(method->name); in X509_LOOKUP_meth_free() 43 OPENSSL_free(method); in X509_LOOKUP_meth_free() [all …]
|
| H A D | v3_prn.c | 78 const X509V3_EXT_METHOD *method; in X509V3_EXT_print() local 86 if ((method = X509V3_EXT_get(ext)) == NULL) in X509V3_EXT_print() 88 if (method->it) in X509V3_EXT_print() 89 ext_str = ASN1_item_d2i(NULL, &p, extlen, ASN1_ITEM_ptr(method->it)); in X509V3_EXT_print() 91 ext_str = method->d2i(NULL, &p, extlen); in X509V3_EXT_print() 96 if (method->i2s) { in X509V3_EXT_print() 97 if ((value = method->i2s(method, ext_str)) == NULL) { in X509V3_EXT_print() 116 } else if (method->i2v) { in X509V3_EXT_print() 117 if ((nval = method->i2v(method, ext_str, NULL)) == NULL) { in X509V3_EXT_print() 122 method->ext_flags & X509V3_EXT_MULTILINE); in X509V3_EXT_print() [all …]
|
| /freebsd-src/contrib/wpa/src/eap_server/ |
| H A D | eap_server_methods.c | 26 enum eap_type method) in eap_server_get_eap_method() argument 30 if (m->vendor == vendor && m->method == method) in eap_server_get_eap_method() 52 return m->method; in eap_server_get_type() 73 enum eap_type method, in eap_server_method_alloc() argument 82 eap->method = method; in eap_server_method_alloc() 92 static void eap_server_method_free(struct eap_method *method) in eap_server_method_free() argument 94 os_free(method); in eap_server_method_free() 108 int eap_server_method_register(struct eap_method *method) in eap_server_method_register() argument 112 if (method == NULL || method->name == NULL || in eap_server_method_register() 113 method->version != EAP_SERVER_METHOD_INTERFACE_VERSION) { in eap_server_method_register() [all …]
|
| /freebsd-src/tools/regression/geom/ConfCmp/ |
| H A D | a1.conf | 3 <method> 5 <name>DEV-method</name> 8 <method><ref>0x80712c0</ref></method> 20 <method><ref>0x80712c0</ref></method> 32 <method><ref>0x80712c0</ref></method> 44 <method><ref>0x80712c0</ref></method> 56 <method><ref>0x80712c0</ref></method> 68 <method><ref>0x80712c0</ref></method> 80 <method><ref>0x80712c0</ref></method> 92 <method><ref>0x80712c0</ref></method> [all …]
|
| H A D | a1a.conf | 3 <method> 5 <name>DEV-method</name> 8 <method><ref>0x90712c0</ref></method> 20 <method><ref>0x90712c0</ref></method> 32 <method><ref>0x90712c0</ref></method> 44 <method><ref>0x90712c0</ref></method> 56 <method><ref>0x90712c0</ref></method> 68 <method><ref>0x90712c0</ref></method> 80 <method><ref>0x90712c0</ref></method> 92 <method><ref>0x90712c0</ref></method> [all …]
|
| H A D | a1d.conf | 3 <method> 5 <name>DEV-method</name> 8 <method><ref>0x80712c0</ref></method> 20 <method><ref>0x80712c0</ref></method> 32 <method><ref>0x80712c0</ref></method> 44 <method><ref>0x80712c0</ref></method> 56 <method><ref>0x80712c0</ref></method> 68 <method><ref>0x80712c0</ref></method> 80 <method><ref>0x80712c0</ref></method> 92 <method><ref>0x80712c0</ref></method> [all …]
|
| H A D | a1b.conf | 3 <method> 5 <name>DEV-method</name> 8 <method><ref>0x80712c0</ref></method> 20 <method><ref>0x80712c0</ref></method> 32 <method><ref>0x80712c0</ref></method> 44 <method><ref>0x80712c0</ref></method> 56 <method><ref>0x80712c0</ref></method> 68 <method><ref>0x80712c0</ref></method> 80 <method><ref>0x80712c0</ref></method> 92 <method><ref>0x80712c0</ref></method> [all …]
|
| H A D | a1c.conf | 3 <method> 5 <name>DEV-method</name> 8 <method><ref>0x80712c0</ref></method> 20 <method><ref>0x80712c0</ref></method> 32 <method><ref>0x80712c0</ref></method> 44 <method><ref>0x80712c0</ref></method> 56 <method><ref>0x80712c0</ref></method> 68 <method><ref>0x80712c0</ref></method> 80 <method><ref>0x80712c0</ref></method> 92 <method><ref>0x80712c0</ref></method> [all …]
|
| /freebsd-src/sys/vm/ |
| H A D | vm_pager.h | 202 pgo_pageunswapped_t *method; in vm_pager_page_unswapped() local 204 method = pagertab[m->object->type]->pgo_pageunswapped; in vm_pager_page_unswapped() 205 if (method != NULL) in vm_pager_page_unswapped() 206 method(m); in vm_pager_page_unswapped() 213 pgo_writecount_t *method; in vm_pager_update_writecount() local 215 method = pagertab[object->type]->pgo_update_writecount; in vm_pager_update_writecount() 216 if (method != NULL) in vm_pager_update_writecount() 217 method(object, start, end); in vm_pager_update_writecount() 224 pgo_writecount_t *method; in vm_pager_release_writecount() local 226 method in vm_pager_release_writecount() 234 pgo_getvp_t *method; vm_pager_getvp() local 248 pgo_freespace_t *method; vm_pager_freespace() local 258 pgo_page_inserted_t *method; vm_pager_page_inserted() local 268 pgo_page_removed_t *method; vm_pager_page_removed() local 278 pgo_can_alloc_page_t *method; vm_pager_can_alloc_page() local [all...] |
| /freebsd-src/contrib/wpa/src/eap_peer/ |
| H A D | eap_methods.c | 21 static void eap_peer_method_free(struct eap_method *method); 31 enum eap_type method) in eap_peer_get_eap_method() argument 35 if (m->vendor == vendor && m->method == method) in eap_peer_get_eap_method() 57 return m->method; in eap_peer_get_type() 80 if (m->vendor == vendor && m->method == type) in eap_get_name() 234 int eap_peer_method_unload(struct eap_method *method) in eap_peer_method_unload() argument 242 if (m == method) in eap_peer_method_unload() 283 enum eap_type method, in eap_peer_method_alloc() argument 292 eap->method = method; in eap_peer_method_alloc() 302 static void eap_peer_method_free(struct eap_method *method) in eap_peer_method_free() argument [all …]
|
| /freebsd-src/sys/contrib/device-tree/src/arm64/cavium/ |
| H A D | thunder-88xx.dtsi | 58 method = "smc"; 69 enable-method = "psci"; 75 enable-method = "psci"; 81 enable-method = "psci"; 87 enable-method = "psci"; 93 enable-method = "psci"; 99 enable-method = "psci"; 105 enable-method = "psci"; 111 enable-method = "psci"; 117 enable-method [all...] |
| /freebsd-src/crypto/openssl/crypto/ui/ |
| H A D | ui_lib.c | 23 UI *UI_new_method(const UI_METHOD *method) in UI_new_method() argument 39 if (method == NULL) in UI_new_method() 40 method = UI_get_default_method(); in UI_new_method() 41 if (method == NULL) in UI_new_method() 42 method = UI_null(); in UI_new_method() 43 ret->meth = method; in UI_new_method() 631 int UI_method_set_opener(UI_METHOD *method, int (*opener) (UI *ui)) in UI_method_set_opener() argument 633 if (method != NULL) { in UI_method_set_opener() 634 method->ui_open_session = opener; in UI_method_set_opener() 640 int UI_method_set_writer(UI_METHOD *method, in UI_method_set_writer() argument [all …]
|
| /freebsd-src/crypto/openssl/crypto/property/ |
| H A D | property.c | 35 void *method; member 43 METHOD method; member 51 METHOD method; member 169 static int ossl_method_up_ref(METHOD *method) in ossl_method_up_ref() 171 return (*method->up_ref)(method->method); 174 static void ossl_method_free(METHOD *method) in ossl_method_free() 176 (*method->free)(method in ossl_method_free() 167 ossl_method_up_ref(METHOD * method) ossl_method_up_ref() argument 172 ossl_method_free(METHOD * method) ossl_method_free() argument 298 ossl_method_store_add(OSSL_METHOD_STORE * store,const OSSL_PROVIDER * prov,int nid,const char * properties,void * method,int (* method_up_ref)(void *),void (* method_destruct)(void *)) ossl_method_store_add() argument 380 ossl_method_store_remove(OSSL_METHOD_STORE * store,int nid,const void * method) ossl_method_store_remove() argument 466 alg_do_one(ALGORITHM * alg,IMPLEMENTATION * impl,void (* fn)(int id,void * method,void * fnarg),void * fnarg) alg_do_one() argument 490 ossl_method_store_do_all(OSSL_METHOD_STORE * store,void (* fn)(int id,void * method,void * fnarg),void * fnarg) ossl_method_store_do_all() argument 503 ossl_method_store_fetch(OSSL_METHOD_STORE * store,int nid,const char * prop_query,const OSSL_PROVIDER ** prov_rw,void ** method) ossl_method_store_fetch() argument 681 ossl_method_store_cache_get(OSSL_METHOD_STORE * store,OSSL_PROVIDER * prov,int nid,const char * prop_query,void ** method) ossl_method_store_cache_get() argument 711 ossl_method_store_cache_set(OSSL_METHOD_STORE * store,OSSL_PROVIDER * prov,int nid,const char * prop_query,void * method,int (* method_up_ref)(void *),void (* method_destruct)(void *)) ossl_method_store_cache_set() argument [all...] |
| /freebsd-src/crypto/openssh/ |
| H A D | auth2.c | 274 char *user = NULL, *service = NULL, *method = NULL, *style = NULL; in input_userauth_request() local 283 (r = sshpkt_get_cstring(ssh, &method, NULL)) != 0) in input_userauth_request() 285 debug("userauth-request for user %s service %s method %s", user, service, method); in input_userauth_request() 346 m = authmethod_lookup(authctxt, method); in input_userauth_request() 348 debug2("input_userauth_request: try method %s", method); in input_userauth_request() 349 authenticated = m->userauth(ssh, method); in input_userauth_request() 351 if (!authctxt->authenticated && strcmp(method, "none") != 0) in input_userauth_request() 354 userauth_finish(ssh, authenticated, method, NULL); in input_userauth_request() 359 free(method); in input_userauth_request() 369 const char *method = packet_method; in userauth_finish() local [all …]
|
| H A D | audit.c | 47 audit_classify_auth(const char *method) in audit_classify_auth() argument 49 if (strcmp(method, "none") == 0) in audit_classify_auth() 51 else if (strcmp(method, "password") == 0) in audit_classify_auth() 53 else if (strcmp(method, "publickey") == 0 || in audit_classify_auth() 54 strcmp(method, "rsa") == 0) in audit_classify_auth() 56 else if (strncmp(method, "keyboard-interactive", 20) == 0 || in audit_classify_auth() 57 strcmp(method, "challenge-response") == 0) in audit_classify_auth() 59 else if (strcmp(method, "hostbased") == 0 || in audit_classify_auth() 60 strcmp(method, "rhosts-rsa") == 0) in audit_classify_auth() 62 else if (strcmp(method, "gssapi-with-mic") == 0) in audit_classify_auth()
|
| /freebsd-src/crypto/openssl/crypto/store/ |
| H A D | store_meth.c | 61 static int up_ref_loader(void *method) in up_ref_loader() argument 63 return OSSL_STORE_LOADER_up_ref(method); in up_ref_loader() 66 static void free_loader(void *method) in free_loader() argument 68 OSSL_STORE_LOADER_free(method); in free_loader() 157 void *method = NULL; in get_loader_from_store() local 170 if (!ossl_method_store_fetch(store, id, methdata->propquery, prov, &method)) in get_loader_from_store() 172 return method; in get_loader_from_store() 175 static int put_loader_in_store(void *store, void *method, in put_loader_in_store() argument 191 return ossl_method_store_add(store, prov, id, propdef, method, in put_loader_in_store() 276 void *method = NULL; in construct_loader() local [all …]
|
| /freebsd-src/crypto/openssl/crypto/evp/ |
| H A D | evp_fetch.c | 58 int (*refcnt_up_method)(void *method); 59 void (*destruct_method)(void *method); 144 void *method = NULL; in get_evp_method_from_store() local 173 &method)) in get_evp_method_from_store() 175 return method; in get_evp_method_from_store() 178 static int put_evp_method_in_store(void *store, void *method, in put_evp_method_in_store() argument 210 return ossl_method_store_add(store, prov, meth_id, propdef, method, in put_evp_method_in_store() 234 void *method; in construct_evp_method() local 239 method = methdata->method_from_algorithm(name_id, algodef, prov); in construct_evp_method() 246 if (method == NULL) in construct_evp_method() [all …]
|
| /freebsd-src/crypto/openssl/crypto/ocsp/ |
| H A D | v3_ocsp.c | 23 static int i2r_ocsp_crlid(const X509V3_EXT_METHOD *method, void *nonce, 25 static int i2r_ocsp_acutoff(const X509V3_EXT_METHOD *method, void *nonce, 27 static int i2r_object(const X509V3_EXT_METHOD *method, void *obj, BIO *out, 34 static int i2r_ocsp_nonce(const X509V3_EXT_METHOD *method, void *nonce, 37 static int i2r_ocsp_nocheck(const X509V3_EXT_METHOD *method, 39 static void *s2i_ocsp_nocheck(const X509V3_EXT_METHOD *method, 41 static int i2r_ocsp_serviceloc(const X509V3_EXT_METHOD *method, void *in, 110 static int i2r_ocsp_crlid(const X509V3_EXT_METHOD *method, void *in, BIO *bp, in i2r_ocsp_crlid() argument 143 static int i2r_ocsp_acutoff(const X509V3_EXT_METHOD *method, void *cutoff, in i2r_ocsp_acutoff() argument 153 static int i2r_object(const X509V3_EXT_METHOD *method, void *oid, BIO *bp, in i2r_object() argument [all …]
|
| /freebsd-src/crypto/openssl/doc/internal/man3/ |
| H A D | ossl_method_construct.pod | 6 - generic method constructor 15 /* Get an already existing method from a store */ 17 /* Store a method in a store */ 18 int (*put)(void *store, void *method, const OSSL_PROVIDER *prov, 20 /* Construct a new method */ 23 /* Destruct a method */ 24 void (*destruct)(void *method, void *data); 40 It's important to keep in mind that a method is identified by three things: 54 ossl_method_construct() creates a method by asking all available 57 method creator through I<mcm> and the data in I<mcm_data> (which is [all …]
|
| /freebsd-src/crypto/openssl/doc/man3/ |
| H A D | UI_create_method.pod | 14 interface method creation and destruction 24 int UI_method_set_opener(UI_METHOD *method, int (*opener) (UI *ui)); 25 int UI_method_set_writer(UI_METHOD *method, 27 int UI_method_set_flusher(UI_METHOD *method, int (*flusher) (UI *ui)); 28 int UI_method_set_reader(UI_METHOD *method, 30 int UI_method_set_closer(UI_METHOD *method, int (*closer) (UI *ui)); 31 int UI_method_set_data_duplicator(UI_METHOD *method, 34 int UI_method_set_prompt_constructor(UI_METHOD *method, 40 int UI_method_set_ex_data(UI_METHOD *method, int idx, void *data); 41 int (*UI_method_get_opener(const UI_METHOD *method)) (UI *); [all …]
|
| /freebsd-src/sys/contrib/device-tree/src/arm64/amd/ |
| H A D | elba-16core.dtsi | 47 enable-method = "psci"; 55 enable-method = "psci"; 63 enable-method = "psci"; 71 enable-method = "psci"; 86 enable-method = "psci"; 94 enable-method = "psci"; 102 enable-method = "psci"; 110 enable-method = "psci"; 125 enable-method = "psci"; 133 enable-method [all...] |
| /freebsd-src/lib/libc/tests/resolv/ |
| H A D | resolv_test.c | 53 enum method { enum 65 static void resolvone(long, int, enum method); 67 static pthread_t run(int, enum method, long); 174 resolvone(long threadnum, int n, enum method method) in resolvone() argument 182 switch (method) { in resolvone() 210 enum method method; member 226 resolvone(args->threadnum, nhosts, args->method); in resolvloop() 233 run(int nhosts, enum method method, long i) in run() argument 244 args->method = method; in run() 252 run_tests(const char *hostlist_file, enum method method) in run_tests() argument [all …]
|
| /freebsd-src/crypto/openssl/crypto/encode_decode/ |
| H A D | encoder_meth.c | 154 void *method = NULL; in get_encoder_from_store() local 180 if (!ossl_method_store_fetch(store, id, methdata->propquery, prov, &method)) in get_encoder_from_store() 182 return method; in get_encoder_from_store() 185 static int put_encoder_in_store(void *store, void *method, in put_encoder_in_store() argument 214 return ossl_method_store_add(store, prov, id, propdef, method, in put_encoder_in_store() 338 void *method = NULL; in construct_encoder() local 341 method = encoder_from_algorithm(id, algodef, prov); in construct_encoder() 348 if (method == NULL) in construct_encoder() 351 return method; in construct_encoder() 355 static void destruct_encoder(void *method, void *data) in destruct_encoder() argument [all …]
|
| H A D | decoder_meth.c | 154 void *method = NULL; in get_decoder_from_store() local 180 if (!ossl_method_store_fetch(store, id, methdata->propquery, prov, &method)) in get_decoder_from_store() 182 return method; in get_decoder_from_store() 185 static int put_decoder_in_store(void *store, void *method, in put_decoder_in_store() argument 214 return ossl_method_store_add(store, prov, id, propdef, method, in put_decoder_in_store() 328 void *method = NULL; in construct_decoder() local 331 method = ossl_decoder_from_algorithm(id, algodef, prov); in construct_decoder() 338 if (method == NULL) in construct_decoder() 341 return method; in construct_decoder() 345 static void destruct_decoder(void *method, void *data) in destruct_decoder() argument [all …]
|
| /freebsd-src/crypto/openssl/crypto/bio/ |
| H A D | bio_cb.c | 41 BIO_snprintf(p, left, "Free - %s\n", bio->method->name); in BIO_debug_callback_ex() 44 if (bio->method->type & BIO_TYPE_DESCRIPTOR) in BIO_debug_callback_ex() 47 bio->method->name, bio->num); in BIO_debug_callback_ex() 50 bio->num, len, bio->method->name); in BIO_debug_callback_ex() 53 if (bio->method->type & BIO_TYPE_DESCRIPTOR) in BIO_debug_callback_ex() 56 bio->method->name, bio->num); in BIO_debug_callback_ex() 59 bio->num, len, bio->method->name); in BIO_debug_callback_ex() 62 BIO_snprintf(p, left, "puts() - %s\n", bio->method->name); in BIO_debug_callback_ex() 66 bio->method->name); in BIO_debug_callback_ex() 70 bio->method->name); in BIO_debug_callback_ex()
|