Home
last modified time | relevance | path

Searched refs:scheme (Results 1 – 25 of 42) sorted by relevance

12

/openssl/crypto/store/
H A Dstore_register.c41 if (scheme == NULL) { in OSSL_STORE_LOADER_new()
50 res->scheme = scheme; in OSSL_STORE_LOADER_new()
61 return loader->scheme; in OSSL_STORE_LOADER_get0_scheme()
147 assert(a->scheme != NULL && b->scheme != NULL); in store_loader_cmp()
148 return strcmp(a->scheme, b->scheme); in store_loader_cmp()
163 const char *scheme = loader->scheme; in ossl_store_register_loader_int() local
172 if (ossl_isalpha(*scheme)) in ossl_store_register_loader_int()
177 scheme++; in ossl_store_register_loader_int()
178 if (*scheme != '\0') { in ossl_store_register_loader_int()
218 template.scheme = scheme; in ossl_store_get0_loader_int()
[all …]
H A Dstore_meth.c143 id = ossl_namemap_name2num(namemap, methdata->scheme); in get_loader_from_store()
165 || (id = ossl_namemap_name2num(namemap, scheme)) == 0) in put_loader_in_store()
262 const char *scheme = algodef->algorithm_names; in construct_loader() local
263 int id = ossl_namemap_add_name(namemap, 0, scheme); in construct_loader()
303 id = scheme != NULL ? ossl_namemap_name2num(namemap, scheme) : 0; in inner_loader_fetch()
325 methdata->scheme = scheme; in inner_loader_fetch()
337 id = ossl_namemap_name2num(namemap, scheme); in inner_loader_fetch()
349 if ((id != 0 || scheme != NULL) && method == NULL) { in inner_loader_fetch()
358 if (scheme == NULL) in inner_loader_fetch()
359 scheme = ossl_namemap_num2name(namemap, id, 0); in inner_loader_fetch()
[all …]
H A Dstore_local.h79 OSSL_STORE_LOADER *ossl_store_unregister_loader_int(const char *scheme);
85 const char *scheme; member
120 const OSSL_STORE_LOADER *ossl_store_get0_loader_int(const char *scheme);
170 const char *scheme,
H A Dstore_lib.c76 char scheme_copy[256], *p, *schemes[2], *scheme = NULL; in OSSL_STORE_open_ex() local
122 scheme = schemes[i]; in OSSL_STORE_open_ex()
123 OSSL_TRACE1(STORE, "Looking up scheme %s\n", scheme); in OSSL_STORE_open_ex()
178 OSSL_TRACE1(STORE, "Found loader for scheme %s\n", scheme); in OSSL_STORE_open_ex()
502 char scheme[256], *p; in OSSL_STORE_delete() local
506 OPENSSL_strlcpy(scheme, uri, sizeof(scheme)); in OSSL_STORE_delete()
507 if ((p = strchr(scheme, ':')) != NULL) in OSSL_STORE_delete()
519 OSSL_TRACE1(STORE, "Looking up scheme %s\n", scheme); in OSSL_STORE_delete()
1028 if (scheme == NULL) in OSSL_STORE_attach()
1029 scheme = "file"; in OSSL_STORE_attach()
[all …]
/openssl/crypto/http/
H A Dhttp_lib.c58 const char *scheme, *scheme_end; in OSSL_parse_url() local
82 scheme = scheme_end = url; in OSSL_parse_url()
88 if (scheme_end == scheme) in OSSL_parse_url()
164 if (!copy_substring(pscheme, scheme, scheme_end) in OSSL_parse_url()
203 char *scheme, *port; in OSSL_HTTP_parse_url() local
209 if (!OSSL_parse_url(url, &scheme, puser, phost, &port, pport_num, in OSSL_HTTP_parse_url()
214 if (strcmp(scheme, OSSL_HTTPS_NAME) == 0) { in OSSL_HTTP_parse_url()
218 } else if (*scheme != '\0' && strcmp(scheme, OSSL_HTTP_NAME) != 0) { in OSSL_HTTP_parse_url()
220 OPENSSL_free(scheme); in OSSL_HTTP_parse_url()
224 OPENSSL_free(scheme); in OSSL_HTTP_parse_url()
/openssl/include/crypto/
H A Ddso_conf.h.in21 my $scheme = $disabled{dso} ? undef : uc $target{dso_scheme};
22 if (!$scheme) {
23 $scheme = "NONE";
25 my @macros = ( "DSO_$scheme" );
26 if ($scheme eq 'DLFCN') {
28 } elsif ($scheme eq "DLFCN_NO_H") {
/openssl/providers/common/der/
H A DSM2.asn110 sm-scheme OBJECT IDENTIFIER ::= { oscca 1 }
14 sm2-with-SM3 OBJECT IDENTIFIER ::= { sm-scheme 501 }
18 curveSM2 OBJECT IDENTIFIER ::= { sm-scheme 301 }
/openssl/crypto/asn1/
H A Dp5_scrypt.c46 X509_ALGOR *scheme = NULL, *ret = NULL; in PKCS5_pbe2_set_scrypt() local
76 scheme = pbe2->encryption; in PKCS5_pbe2_set_scrypt()
78 scheme->algorithm = OBJ_nid2obj(alg_nid); in PKCS5_pbe2_set_scrypt()
79 scheme->parameter = ASN1_TYPE_new(); in PKCS5_pbe2_set_scrypt()
80 if (scheme->parameter == NULL) { in PKCS5_pbe2_set_scrypt()
102 if (EVP_CIPHER_param_to_asn1(ctx, scheme->parameter) <= 0) { in PKCS5_pbe2_set_scrypt()
H A Dp5_pbev2.c56 X509_ALGOR *scheme = NULL, *ret = NULL; variable
74 scheme = pbe2->encryption;
75 scheme->algorithm = OBJ_nid2obj(alg_nid);
76 if ((scheme->parameter = ASN1_TYPE_new()) == NULL) {
99 if (EVP_CIPHER_param_to_asn1(ctx, scheme->parameter) <= 0) {
/openssl/doc/man7/
H A Dossl_store-file.pod7 scheme it implements, in man section 7.
13 ossl_store-file - The store 'file' scheme loader
23 Support for the 'file' scheme is built into C<libcrypto>.
25 scheme has its own layer of functionality called "file handlers",
48 When needed, the 'file' scheme loader will require a pass phrase by
H A Dossl_store.pod30 Support for a URI scheme is called a STORE "loader", and can be added
33 Support for the 'file' scheme is built into C<libcrypto>.
H A DOSSL_STORE-winstore.pod10 C<ROOT> certificate store through URIs, using the URI scheme
H A DEVP_KDF-SS.pod11 during the execution of a key establishment scheme) and fixedinfo.
/openssl/include/openssl/
H A Dstore.h140 OSSL_STORE_CTX *OSSL_STORE_attach(BIO *bio, const char *scheme,
265 const char *scheme,
274 const char *scheme);
322 OSSL_STORE_LOADER *OSSL_STORE_LOADER_new(ENGINE *e, const char *scheme);
360 OSSL_STORE_LOADER *OSSL_STORE_unregister_loader(const char *scheme);
H A Dopensslv.h.in36 * These are also part of the new version scheme, but aren't part
/openssl/doc/man3/
H A DOSSL_HTTP_parse_url.pod53 C<[scheme://][userinfo@]host[:port][/path][?query][#fragment]> and splits it up
54 into scheme, userinfo, host, port, path, query, and fragment components.
68 For absent scheme, userinfo, port, query, and fragment components
72 where the scheme, if given, must be C<http> or C<https>.
74 and the scheme is C<https>, else 0.
75 The port component is optional and defaults to C<443> if the scheme is C<https>,
H A DOSSL_STORE_LOADER.pod37 const char *scheme,
46 const char *scheme);
59 OSSL_STORE_LOADER *OSSL_STORE_LOADER_new(ENGINE *e, const char *scheme);
110 OSSL_STORE_LOADER *OSSL_STORE_unregister_loader(const char *scheme);
137 of an algorithm that's identifiable with I<scheme>.
171 interpret it in the best manner possible according to the scheme the
267 It takes an B<ENGINE> I<e> and a string I<scheme>.
268 I<scheme> must I<always> be set.
269 Both I<e> and I<scheme> are used as is and must therefore be alive as
273 OSSL_STORE_LOADER_get0_scheme() returns the scheme of the I<store_loader>.
[all …]
H A DOSSL_STORE_attach.pod11 OSSL_STORE_CTX *OSSL_STORE_attach(BIO *bio, const char *scheme,
21 I<bio> instead of a I<uri>, along with a I<scheme> to determine what loader
H A DOSSL_STORE_open.pod127 A string without a scheme prefix (that is, a non-URI string) is
128 implicitly interpreted as using the F<file:> scheme.
133 failures); if the URI was parsable but the scheme unregistered, the
139 For example, the B<file:> scheme loader inherits the assumptions made by
H A DOSSL_STORE_INFO.pod60 supported objects from B<OSSL_STORE_INFO> objects and for scheme specific
148 For C<file:> URIs that are used without the explicit scheme, the
H A DSSL_CTX_set1_sigalgs.pod83 The TLS 1.3 signature scheme names (such as "rsa_pss_pss_sha256") can also
H A DX509_LOOKUP_hash_dir.pod129 because of the 'file:' scheme loader.
/openssl/crypto/objects/
H A Dobjects.txt44 oscca 1 : sm-scheme
1727 x9-63-scheme 2 : dhSinglePass-stdDH-sha1kdf-scheme
1728 secg-scheme 11 0 : dhSinglePass-stdDH-sha224kdf-scheme
1729 secg-scheme 11 1 : dhSinglePass-stdDH-sha256kdf-scheme
1730 secg-scheme 11 2 : dhSinglePass-stdDH-sha384kdf-scheme
1731 secg-scheme 11 3 : dhSinglePass-stdDH-sha512kdf-scheme
1733 x9-63-scheme 3 : dhSinglePass-cofactorDH-sha1kdf-scheme
1734 secg-scheme 14 0 : dhSinglePass-cofactorDH-sha224kdf-scheme
1735 secg-scheme 14 1 : dhSinglePass-cofactorDH-sha256kdf-scheme
1736 secg-scheme 14 2 : dhSinglePass-cofactorDH-sha384kdf-scheme
[all …]
/openssl/Configurations/
H A DREADME.md186 build_scheme => The scheme used to build up a Makefile.
188 with the name of the build scheme.
193 scheme.
194 Currently recognised build scheme is "unified".
195 For the "unified" build scheme, this item
/openssl/doc/internal/man7/
H A Ddeprecation.pod42 of the change in version scheme with OpenSSL 3.0, the B<I<version>> for

Completed in 60 milliseconds

12