Home
last modified time | relevance | path

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

12345678910>>...12

/openssl/crypto/x509/
H A Dx509_meth.c24 if (method != NULL) { in X509_LOOKUP_meth_new()
30 return method; in X509_LOOKUP_meth_new()
33 OPENSSL_free(method); in X509_LOOKUP_meth_new()
39 if (method != NULL) in X509_LOOKUP_meth_free()
41 OPENSSL_free(method); in X509_LOOKUP_meth_free()
61 method->free = free_fn; in X509_LOOKUP_meth_set_free()
68 return method->free; in X509_LOOKUP_meth_get_free()
74 method->init = init; in X509_LOOKUP_meth_set_init()
81 return method->init; in X509_LOOKUP_meth_get_init()
102 method->ctrl = ctrl; in X509_LOOKUP_meth_set_ctrl()
[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()
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()
123 } else if (method->i2r) { in X509V3_EXT_print()
124 if (!method->i2r(method, ext_str, out, indent)) in X509V3_EXT_print()
132 if (method->it) in X509V3_EXT_print()
[all …]
H A Dv3_ac_tgt.c22 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,
75 static int i2r_ISSUER_SERIAL(X509V3_EXT_METHOD *method,
159 static int i2r_TARGET_CERT(X509V3_EXT_METHOD *method, in i2r_TARGET_CERT() argument
181 static int i2r_TARGET(X509V3_EXT_METHOD *method, in i2r_TARGET() argument
204 static int i2r_TARGETS(X509V3_EXT_METHOD *method, in i2r_TARGETS() argument
214 i2r_TARGET(method, target, out, indent + 2); in i2r_TARGETS()
[all …]
H A Dv3_info.c19 *method, AUTHORITY_INFO_ACCESS
23 *method,
49 ASN1_SIMPLE(ACCESS_DESCRIPTION, method, ASN1_OBJECT),
62 X509V3_EXT_METHOD *method, AUTHORITY_INFO_ACCESS *ainfo,
75 tmp = i2v_GENERAL_NAME(method, desc->location, tret);
82 i2t_ASN1_OBJECT(objtmp, sizeof(objtmp), desc->method);
102 *method, in v2i_AUTHORITY_INFO_ACCESS() argument
132 if (!v2i_GENERAL_NAME_ex(acc->location, method, ctx, &ctmp, 0)) in v2i_AUTHORITY_INFO_ACCESS()
136 acc->method = OBJ_txt2obj(objtmp, 0); in v2i_AUTHORITY_INFO_ACCESS()
137 if (!acc->method) { in v2i_AUTHORITY_INFO_ACCESS()
[all …]
H A Dv3_conf.c82 const X509V3_EXT_METHOD *method; in do_ext_nconf() local
96 if (method->v2i) { in do_ext_nconf()
108 ext_struc = method->v2i(method, ctx, nval); in do_ext_nconf()
113 } else if (method->s2i) { in do_ext_nconf()
114 if ((ext_struc = method->s2i(method, ctx, value)) == NULL) in do_ext_nconf()
116 } else if (method->r2i) { in do_ext_nconf()
121 if ((ext_struc = method->r2i(method, ctx, value)) == NULL) in do_ext_nconf()
130 if (method->it) in do_ext_nconf()
133 method->ext_free(ext_struc); in do_ext_nconf()
147 if (method->it) { in do_ext_i2d()
[all …]
H A Dx509_lu.c25 ret->method = method; in X509_LOOKUP_new()
26 if (method->new_item != NULL && method->new_item(ret) == 0) { in X509_LOOKUP_new()
37 if ((ctx->method != NULL) && (ctx->method->free != NULL)) in X509_LOOKUP_free()
59 if (ctx->method == NULL) in X509_LOOKUP_init()
69 if (ctx->method == NULL) in X509_LOOKUP_shutdown()
80 if (ctx->method == NULL) in X509_LOOKUP_ctrl_ex()
100 || ctx->method == NULL in X509_LOOKUP_by_subject_ex()
122 if ((ctx->method == NULL) || (ctx->method->get_by_issuer_serial == NULL)) in X509_LOOKUP_by_issuer_serial()
131 if ((ctx->method == NULL) || (ctx->method->get_by_fingerprint == NULL)) in X509_LOOKUP_by_fingerprint()
139 if ((ctx->method == NULL) || (ctx->method->get_by_alias == NULL)) in X509_LOOKUP_by_alias()
[all …]
H A Dv3_group_ac.c17 static int i2r_GROUP_AC(X509V3_EXT_METHOD *method, in i2r_GROUP_AC() argument
24 static void *r2i_GROUP_AC(X509V3_EXT_METHOD *method, in r2i_GROUP_AC() argument
30 static char *i2s_GROUP_AC(const X509V3_EXT_METHOD *method, void *val) in i2s_GROUP_AC() argument
35 static void *s2i_GROUP_AC(const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, const char *str) in s2i_GROUP_AC() argument
/openssl/crypto/ui/
H A Dui_lib.c37 if (method == NULL) 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()
696 if (method != NULL) in UI_method_get_opener()
703 if (method != NULL) in UI_method_get_writer()
710 if (method != NULL) in UI_method_get_flusher()
717 if (method != NULL) in UI_method_get_reader()
724 if (method != NULL) in UI_method_get_closer()
732 if (method != NULL) in UI_method_get_prompt_constructor()
[all …]
/openssl/crypto/property/
H A Dproperty.c36 void *method; member
44 METHOD method; member
52 METHOD method; member
163 return (*method->up_ref)(method->method); in ossl_method_up_ref()
168 (*method->free)(method->method); in ossl_method_free()
313 impl->method.method = method; in ossl_method_store_add()
399 if (impl->method.method == method) { in ossl_method_store_remove()
463 fn(alg->nid, impl->method.method, fnarg); in alg_do_one()
579 *method = best_impl->method.method; in ossl_method_store_fetch()
711 *method = r->method.method; in ossl_method_store_cache_get()
[all …]
/openssl/crypto/store/
H A Dstore_meth.c66 static void free_loader(void *method) in free_loader() argument
68 OSSL_STORE_LOADER_free(method); in free_loader()
137 void *method = NULL; in get_loader_from_store() local
152 return method; in get_loader_from_store()
264 void *method = NULL; in construct_loader() local
274 if (method == NULL) in construct_loader()
277 return method; in construct_loader()
294 void *method = NULL; in inner_loader_fetch() local
368 return method; in inner_loader_fetch()
376 void *method; in OSSL_STORE_LOADER_fetch() local
[all …]
/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,
143 static int i2r_ocsp_acutoff(const X509V3_EXT_METHOD *method, void *cutoff, in i2r_ocsp_acutoff() argument
215 static int i2r_ocsp_nonce(const X509V3_EXT_METHOD *method, void *nonce, in i2r_ocsp_nonce() argument
233 static void *s2i_ocsp_nocheck(const X509V3_EXT_METHOD *method, in s2i_ocsp_nocheck() argument
[all …]
/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);
54 ossl_method_construct() creates a method by asking all available
60 useful in the case a method must be found in that particular
86 Look up an already existing method from a store by name.
[all …]
H A DOSSL_METHOD_STORE.pod11 - implementation method store and query
24 int nid, const char *properties, void *method,
28 int nid, const void *method);
31 void **method, const OSSL_PROVIDER **prov_rw);
66 ossl_method_store_new() create a new empty method store using the supplied
74 has a method from the same provider with the same I<nid> and I<properties>.
76 reference count of the method.
84 ossl_method_store_fetch() queries I<store> for a method identified by I<nid>
97 for a method identified by I<nid> that matches the property query
101 The result, if any, is returned in I<method>.
[all …]
H A Devp_keymgmt_newdata.pod42 evp_keymgmt_newdata() calls the method's new() function.
44 evp_keymgmt_freedata() calls the method's free() function.
50 evp_keymgmt_get_params() calls the method's get_params() function.
52 evp_keymgmt_has() calls the method's has() function.
54 evp_keymgmt_validate() calls the method's validate() function.
56 evp_keymgmt_import() calls the method's import() function.
58 evp_keymgmt_import_types() calls the method's import_types() function.
60 evp_keymgmt_export() calls the method's export() function.
62 evp_keymgmt_export_types() calls the method's export_types() function.
/openssl/doc/man3/
H A DUI_create_method.pod14 interface method creation and destruction
25 int UI_method_set_writer(UI_METHOD *method,
28 int UI_method_set_reader(UI_METHOD *method,
31 int UI_method_set_data_duplicator(UI_METHOD *method,
34 int UI_method_set_prompt_constructor(UI_METHOD *method,
41 int (*UI_method_get_opener(const UI_METHOD *method)) (UI *);
104 This depends on the needs of the method.
109 This is how the UI_OpenSSL() method does it.
173 return the different method functions.
187 return 0 on success, -1 if the given B<method> is NULL.
[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,
37 int X509_LOOKUP_meth_set_free(X509_LOOKUP_METHOD *method,
42 int X509_LOOKUP_meth_set_init(X509_LOOKUP_METHOD *method,
47 int X509_LOOKUP_meth_set_shutdown(X509_LOOKUP_METHOD *method,
54 int X509_LOOKUP_meth_set_ctrl(X509_LOOKUP_METHOD *method,
65 const X509_LOOKUP_METHOD *method);
75 const X509_LOOKUP_METHOD *method);
85 const X509_LOOKUP_METHOD *method);
95 const X509_LOOKUP_METHOD *method);
[all …]
H A Ds2i_ASN1_IA5STRING.pod21 char *i2s_ASN1_IA5STRING(X509V3_EXT_METHOD *method, ASN1_IA5STRING *ia5);
22 ASN1_IA5STRING *s2i_ASN1_IA5STRING(X509V3_EXT_METHOD *method,
24 char *i2s_ASN1_INTEGER(X509V3_EXT_METHOD *method, const ASN1_INTEGER *a);
25 ASN1_INTEGER *s2i_ASN1_INTEGER(X509V3_EXT_METHOD *method, const char *value);
26 char *i2s_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method,
28 ASN1_OCTET_STRING *s2i_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method,
30 char *i2s_ASN1_ENUMERATED(X509V3_EXT_METHOD *method, const ASN1_ENUMERATED *a);
31 char *i2s_ASN1_ENUMERATED_TABLE(X509V3_EXT_METHOD *method,
34 char *i2s_ASN1_UTF8STRING(X509V3_EXT_METHOD *method,
36 ASN1_UTF8STRING *s2i_ASN1_UTF8STRING(X509V3_EXT_METHOD *method,
H A DSSL_CTX_set_ssl_version.pod6 - choose a new TLS/SSL method
12 int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *method);
15 int SSL_set_ssl_method(SSL *s, const SSL_METHOD *method);
20 SSL_CTX_set_ssl_version() sets a new default TLS/SSL B<method> for SSL objects
30 SSL_set_ssl_method() sets a new TLS/SSL B<method> for a particular B<ssl>
33 SSL_get_ssl_method() returns a pointer to the TLS/SSL method
38 The available B<method> choices are described in
42 an SSL object, the method of the SSL object is reset to the method currently
51 SSL object or vice versa, or change a QUIC SSL object from one QUIC method to
/openssl/crypto/evp/
H A Devp_fetch.c125 void *method = NULL; in get_evp_method_from_store() local
156 return method; in get_evp_method_from_store()
215 void *method; in construct_evp_method() local
227 if (method == NULL) in construct_evp_method()
230 return method; in construct_evp_method()
254 void *method = NULL; in inner_evp_generic_fetch() local
362 return method; in inner_evp_generic_fetch()
374 void *method; in evp_generic_fetch() local
382 return method; in evp_generic_fetch()
400 void *method; in evp_generic_fetch_from_prov() local
[all …]
/openssl/crypto/bio/
H A Dbio_cb.c43 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()
68 bio->method->name); in BIO_debug_callback_ex()
72 bio->method->name); in BIO_debug_callback_ex()
77 args->num_msg, bio->method->name); in BIO_debug_callback_ex()
[all …]
H A Dbio_lib.c89 bio->method = method; in BIO_new_ex()
98 if (method->create != NULL && !method->create(bio)) { in BIO_new_ex()
140 if ((a->method != NULL) && (a->method->destroy != NULL)) in BIO_free()
270 if (b->method == NULL || b->method->bread == NULL) { in bio_read_intern()
341 if (b->method == NULL || b->method->bwrite == NULL) { in bio_write_intern()
407 if (b->method == NULL || b->method->bsendmmsg == NULL) { in BIO_sendmmsg()
454 if (b->method == NULL || b->method->brecvmmsg == NULL) { in BIO_recvmmsg()
507 if (b->method == NULL || b->method->bputs == NULL) { in BIO_puts()
556 if (b->method == NULL || b->method->bgets == NULL) { in BIO_gets()
666 if (b->method == NULL || b->method->ctrl == NULL) { in BIO_ctrl()
[all …]
/openssl/crypto/encode_decode/
H A Ddecoder_meth.c133 void *method = NULL; in get_decoder_from_store() local
161 return method; in get_decoder_from_store()
307 void *method = NULL; in construct_decoder() local
317 if (method == NULL) in construct_decoder()
320 return method; in construct_decoder()
326 OSSL_DECODER_free(method); in destruct_decoder()
336 OSSL_DECODER_free(method); in free_decoder()
347 void *method = NULL; in inner_ossl_decoder_fetch() local
415 return method; in inner_ossl_decoder_fetch()
422 void *method; in OSSL_DECODER_fetch() local
[all …]
H A Dencoder_meth.c133 void *method = NULL; in get_encoder_from_store() local
161 return method; in get_encoder_from_store()
317 void *method = NULL; in construct_encoder() local
327 if (method == NULL) in construct_encoder()
330 return method; in construct_encoder()
336 OSSL_ENCODER_free(method); in destruct_encoder()
346 OSSL_ENCODER_free(method); in free_encoder()
357 void *method = NULL; in inner_ossl_encoder_fetch() local
424 return method; in inner_ossl_encoder_fetch()
431 void *method; in OSSL_ENCODER_fetch() local
[all …]
/openssl/crypto/
H A Dcore_fetch.c107 void *method = NULL; in ossl_method_construct_this() local
109 if ((method = data->mcm->construct(algo, provider, data->mcm_data)) in ossl_method_construct_this()
123 data->mcm->put(data->store, method, provider, algo->algorithm_names, in ossl_method_construct_this()
127 data->mcm->destruct(method, data->mcm_data); in ossl_method_construct_this()
134 void *method = NULL; in ossl_method_construct() local
163 method = mcm->get(cbdata.store, (const OSSL_PROVIDER **)provider_rw, in ossl_method_construct()
167 if (method == NULL) in ossl_method_construct()
168 method = mcm->get(NULL, (const OSSL_PROVIDER **)provider_rw, mcm_data); in ossl_method_construct()
170 return method; in ossl_method_construct()
H A Dcomp_methods.c33 COMP_METHOD *method = COMP_zlib(); in STACK_OF() local
37 if (COMP_get_type(method) != NID_undef && comp_methods != NULL) { in STACK_OF()
40 comp->method = method; in STACK_OF()
42 comp->name = COMP_get_name(method); in STACK_OF()

Completed in 92 milliseconds

12345678910>>...12