Home
last modified time | relevance | path

Searched refs:method (Results 1 – 25 of 1217) sorted by relevance

12345678910>>...49

/freebsd/crypto/openssl/crypto/x509/
H A Dx509_meth.c22 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 Dv3_prn.c78 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/contrib/wpa/src/eap_server/
H A Deap_server_methods.c26 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 Da1.conf3 <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 Da1a.conf3 <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 Da1d.conf3 <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 Da1b.conf3 <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 Da1c.conf3 <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/contrib/wpa/src/eap_peer/
H A Deap_methods.c21 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 Dvm_pager.h202 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 Dthunder-88xx.dtsi58 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 Dui_lib.c23 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/crypto/openssl/crypto/property/
H A Dproperty.c35 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() argument
171 return (*method->up_ref)(method->method); in ossl_method_up_ref()
174 static void ossl_method_free(METHOD *method) in ossl_method_free() argument
176 (*method->free)(method->method); in ossl_method_free()
213 ossl_method_free(&impl->method); in impl_free()
221 ossl_method_free(&elem->method); in impl_cache_free()
300 int nid, const char *properties, void *method, in ossl_method_store_add() argument
[all …]
/freebsd/crypto/openssl/crypto/store/
H A Dstore_meth.c61 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/crypto/openssl/crypto/evp/
H A Devp_fetch.c58 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/crypto/openssl/doc/internal/man3/
H A Dossl_method_construct.pod6 - 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 creato
[all...]
/freebsd/crypto/openssl/doc/man3/
H A DUI_create_method.pod14 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 …]
H A DX509_LOOKUP_meth_new.pod30 void X509_LOOKUP_meth_free(X509_LOOKUP_METHOD *method);
32 int X509_LOOKUP_meth_set_new_item(X509_LOOKUP_METHOD *method,
34 int (*X509_LOOKUP_meth_get_new_item(const X509_LOOKUP_METHOD* method))
37 int X509_LOOKUP_meth_set_free(X509_LOOKUP_METHOD *method,
39 void (*X509_LOOKUP_meth_get_free(const X509_LOOKUP_METHOD* method))
42 int X509_LOOKUP_meth_set_init(X509_LOOKUP_METHOD *method,
44 int (*X509_LOOKUP_meth_get_init(const X509_LOOKUP_METHOD* method))
47 int X509_LOOKUP_meth_set_shutdown(X509_LOOKUP_METHOD *method,
49 int (*X509_LOOKUP_meth_get_shutdown(const X509_LOOKUP_METHOD* method))
54 int X509_LOOKUP_meth_set_ctrl(X509_LOOKUP_METHOD *method,
[all …]
/freebsd/crypto/openssl/crypto/ocsp/
H A Dv3_ocsp.c23 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/crypto/openssh/
H A Dauth2.c274 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()
344 m = authmethod_lookup(authctxt, method); in input_userauth_request()
346 debug2("input_userauth_request: try method %s", method); in input_userauth_request()
347 authenticated = m->userauth(ssh, method); in input_userauth_request()
349 if (!authctxt->authenticated && strcmp(method, "none") != 0) in input_userauth_request()
352 userauth_finish(ssh, authenticated, method, NULL); in input_userauth_request()
357 free(method); in input_userauth_request()
367 const char *method = packet_method; in userauth_finish() local
[all …]
H A Daudit.c47 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/sys/contrib/device-tree/src/arm64/amd/
H A Delba-16core.dtsi47 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/lib/libc/tests/resolv/
H A Dresolv_test.c53 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/crypto/openssl/crypto/encode_decode/
H A Ddecoder_meth.c154 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 …]
H A Dencoder_meth.c154 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 …]

12345678910>>...49