| /freebsd/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() 30 return method; in X509_LOOKUP_meth_new() 33 OPENSSL_free(method); in X509_LOOKUP_meth_new() 37 void X509_LOOKUP_meth_free(X509_LOOKUP_METHOD *method) in X509_LOOKUP_meth_free() argument 39 if (method != NULL) in X509_LOOKUP_meth_free() 40 OPENSSL_free(method->name); in X509_LOOKUP_meth_free() 41 OPENSSL_free(method); in X509_LOOKUP_meth_free() [all …]
|
| H A D | v3_prn.c | 77 const X509V3_EXT_METHOD *method; in X509V3_EXT_print() local 85 if ((method = X509V3_EXT_get(ext)) == NULL) in X509V3_EXT_print() 87 if (method->it) in X509V3_EXT_print() 88 ext_str = ASN1_item_d2i(NULL, &p, extlen, ASN1_ITEM_ptr(method->it)); in X509V3_EXT_print() 90 ext_str = method->d2i(NULL, &p, extlen); in X509V3_EXT_print() 95 if (method->i2s) { in X509V3_EXT_print() 96 if ((value = method->i2s(method, ext_str)) == NULL) { in X509V3_EXT_print() 115 } else if (method->i2v) { in X509V3_EXT_print() 116 if ((nval = method->i2v(method, ext_str, NULL)) == NULL) { in X509V3_EXT_print() 121 method->ext_flags & X509V3_EXT_MULTILINE); in X509V3_EXT_print() [all …]
|
| H A D | v3_ac_tgt.c | 22 static int i2r_ISSUER_SERIAL(X509V3_EXT_METHOD *method, 25 static int i2r_OBJECT_DIGEST_INFO(X509V3_EXT_METHOD *method, 28 static int i2r_TARGET_CERT(X509V3_EXT_METHOD *method, 31 static int i2r_TARGET(X509V3_EXT_METHOD *method, 34 static int i2r_TARGETING_INFORMATION(X509V3_EXT_METHOD *method, 76 static int i2r_ISSUER_SERIAL(X509V3_EXT_METHOD *method, 102 static int i2r_OBJECT_DIGEST_INFO(X509V3_EXT_METHOD *method, in i2r_OBJECT_DIGEST_INFO() argument 160 static int i2r_TARGET_CERT(X509V3_EXT_METHOD *method, in i2r_TARGET_CERT() argument 167 i2r_ISSUER_SERIAL(method, tc->targetCertificate, out, indent + 2); in i2r_TARGET_CERT() 176 i2r_OBJECT_DIGEST_INFO(method, tc->certDigestInfo, out, indent + 2); in i2r_TARGET_CERT() [all …]
|
| /freebsd/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/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/sys/dev/acpi_support/ |
| H A D | acpi_system76.c | 203 acpi_system76_ctrl_map(struct acpi_system76_softc *sc, int method) in acpi_system76_ctrl_map() argument 206 switch (method) { in acpi_system76_ctrl_map() 222 acpi_system76_update(struct acpi_system76_softc *sc, int method, bool set) in acpi_system76_update() argument 233 if ((ctrl = acpi_system76_ctrl_map(sc, method)) == NULL) in acpi_system76_update() 236 switch (method) { in acpi_system76_update() 240 Arg[0].Integer.Value = method == S76_CTRL_BCTH ? 1 : 0; in acpi_system76_update() 251 s76_sysctl_table[method].set_method, &Args, &Buf); in acpi_system76_update() 254 s76_sysctl_table[method].get_method, &Args, &Buf); in acpi_system76_update() 263 status = acpi_SetInteger(sc->handle, s76_sysctl_table[method].set_method, in acpi_system76_update() 266 status = acpi_GetInteger(sc->handle, s76_sysctl_table[method].get_method, in acpi_system76_update() [all …]
|
| /freebsd/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/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 = pagertab[object->type]->pgo_release_writecount; in vm_pager_release_writecount() [all …]
|
| /freebsd/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 = "psci"; [all …]
|
| /freebsd/crypto/openssl/crypto/ui/ |
| H A D | ui_lib.c | 23 UI *UI_new_method(const UI_METHOD *method) in UI_new_method() argument 37 if (method == NULL) in UI_new_method() 38 method = UI_get_default_method(); in UI_new_method() 39 if (method == NULL) in UI_new_method() 40 method = UI_null(); in UI_new_method() 41 ret->meth = method; in UI_new_method() 642 int UI_method_set_opener(UI_METHOD *method, int (*opener)(UI *ui)) in UI_method_set_opener() argument 644 if (method != NULL) { in UI_method_set_opener() 645 method->ui_open_session = opener; in UI_method_set_opener() 651 int UI_method_set_writer(UI_METHOD *method, in UI_method_set_writer() argument [all …]
|
| /freebsd/crypto/openssl/crypto/property/ |
| H A D | property.c | 37 void *method; member 45 METHOD method; member 53 METHOD method; member 162 static int ossl_method_up_ref(METHOD *method) in ossl_method_up_ref() argument 164 return (*method->up_ref)(method->method); in ossl_method_up_ref() 167 static void ossl_method_free(METHOD *method) in ossl_method_free() argument 169 (*method->free)(method->method); in ossl_method_free() 206 ossl_method_free(&impl->method); in impl_free() 214 ossl_method_free(&elem->method); in impl_cache_free() 318 int nid, const char *properties, void *method, in ossl_method_store_add() argument [all …]
|
| /freebsd/crypto/openssl/crypto/store/ |
| H A D | store_meth.c | 64 static int up_ref_loader(void *method) in up_ref_loader() argument 66 return OSSL_STORE_LOADER_up_ref(method); in up_ref_loader() 69 static void free_loader(void *method) in free_loader() argument 71 OSSL_STORE_LOADER_free(method); in free_loader() 140 void *method = NULL; in get_loader_from_store() local 153 if (!ossl_method_store_fetch(store, id, methdata->propquery, prov, &method)) in get_loader_from_store() 155 return method; in get_loader_from_store() 158 static int put_loader_in_store(void *store, void *method, in put_loader_in_store() argument 174 return ossl_method_store_add(store, prov, id, propdef, method, in put_loader_in_store() 266 void *method = NULL; in construct_loader() local [all …]
|
| /freebsd/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/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/crypto/openssl/crypto/evp/ |
| H A D | evp_fetch.c | 40 int (*refcnt_up_method)(void *method); 41 void (*destruct_method)(void *method); 130 void *method = NULL; in get_evp_method_from_store() local 159 &method)) in get_evp_method_from_store() 161 return method; in get_evp_method_from_store() 164 static int put_evp_method_in_store(void *store, void *method, in put_evp_method_in_store() argument 201 return ossl_method_store_add(store, prov, meth_id, propdef, method, in put_evp_method_in_store() 225 void *method; in construct_evp_method() local 230 method = methdata->method_from_algorithm(name_id, algodef, prov); in construct_evp_method() 237 if (method == NULL) in construct_evp_method() [all …]
|
| /freebsd/crypto/openssh/ |
| 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()
|
| H A D | auth2.c | 99 #define MATCH_NONE 0 /* method or submethod mismatch */ 100 #define MATCH_METHOD 1 /* method matches (no submethod specified) */ 101 #define MATCH_BOTH 2 /* method and submethod match */ 102 #define MATCH_PARTIAL 3 /* method matches, submethod can't be checked */ 273 char *user = NULL, *service = NULL, *method = NULL, *style = NULL; in input_userauth_request() 282 (r = sshpkt_get_cstring(ssh, &method, NULL)) != 0) in input_userauth_request() 284 debug("userauth-request for user %s service %s method %s", user, service, method); in input_userauth_request() 343 m = authmethod_lookup(authctxt, method); in input_userauth_request() 345 debug2("input_userauth_request: try method in input_userauth_request() 274 char *user = NULL, *service = NULL, *method = NULL, *style = NULL; input_userauth_request() local 367 const char *method = packet_method; userauth_finish() local 475 auth2_method_allowed(Authctxt * authctxt,const char * method,const char * submethod) auth2_method_allowed() argument 542 Authmethod *method; authmethod_lookup() local 606 list_starts_with(const char * methods,const char * method,const char * submethod) list_starts_with() argument 638 remove_method(char ** methods,const char * method,const char * submethod) remove_method() argument 664 auth2_update_methods_lists(Authctxt * authctxt,const char * method,const char * submethod) auth2_update_methods_lists() argument 774 auth2_update_session_info(Authctxt * authctxt,const char * method,const char * submethod) auth2_update_session_info() argument [all...] |
| /freebsd/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 = "psci"; [all …]
|
| /freebsd/crypto/openssl/crypto/bio/ |
| H A D | bio_cb.c | 43 BIO_snprintf(p, left, "Free - %s\n", bio->method->name); in BIO_debug_callback_ex() 46 if (bio->method->type & BIO_TYPE_DESCRIPTOR) in BIO_debug_callback_ex() 49 bio->method->name, bio->num); in BIO_debug_callback_ex() 52 bio->num, len, bio->method->name); in BIO_debug_callback_ex() 55 if (bio->method->type & BIO_TYPE_DESCRIPTOR) in BIO_debug_callback_ex() 58 bio->method->name, bio->num); in BIO_debug_callback_ex() 61 bio->num, len, bio->method->name); in BIO_debug_callback_ex() 64 BIO_snprintf(p, left, "puts() - %s\n", bio->method->name); in BIO_debug_callback_ex() 68 bio->method->name); in BIO_debug_callback_ex() 72 bio->method->name); in BIO_debug_callback_ex() [all …]
|
| /freebsd/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, 32 static int i2r_ocsp_nonce(const X509V3_EXT_METHOD *method, void *nonce, 35 static int i2r_ocsp_nocheck(const X509V3_EXT_METHOD *method, 37 static void *s2i_ocsp_nocheck(const X509V3_EXT_METHOD *method, 39 static int i2r_ocsp_serviceloc(const X509V3_EXT_METHOD *method, void *in, 90 static int i2r_ocsp_crlid(const X509V3_EXT_METHOD *method, void *in, BIO *bp, in i2r_ocsp_crlid() argument 123 static int i2r_ocsp_acutoff(const X509V3_EXT_METHOD *method, void *cutoff, in i2r_ocsp_acutoff() argument 185 static int i2r_ocsp_nonce(const X509V3_EXT_METHOD *method, void *nonce, in i2r_ocsp_nonce() argument 197 static int i2r_ocsp_nocheck(const X509V3_EXT_METHOD *method, void *nocheck, in i2r_ocsp_nocheck() argument [all …]
|
| /freebsd/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 …]
|