Home
last modified time | relevance | path

Searched full:mechanism (Results 1 – 25 of 1784) sorted by relevance

12345678910>>...72

/freebsd/crypto/krb5/doc/html/_sources/plugindev/
H A Dgssapi.rst.txt1 GSSAPI mechanism interface
4 The GSSAPI library in MIT krb5 can load mechanism modules to augment
7 .. note: The GSSAPI loadable mechanism interface does not follow the
10 A mechanism module is a Unix shared object or Windows DLL, built
12 GSS mechanism config files described in :ref:`gssapi_plugin_config`.
14 For the most part, a GSSAPI mechanism module exports the same
16 function signatures. The mechanism selection layer within the GSSAPI
18 application to the module if the module's mechanism is requested. If
25 **gss_add_cred_with_password** function. A mechanism only needs to
30 the mechanism's status codes onto unique values, and then map them
[all …]
/freebsd/crypto/krb5/doc/plugindev/
H A Dgssapi.rst1 GSSAPI mechanism interface
4 The GSSAPI library in MIT krb5 can load mechanism modules to augment
7 .. note: The GSSAPI loadable mechanism interface does not follow the
10 A mechanism module is a Unix shared object or Windows DLL, built
12 GSS mechanism config files described in :ref:`gssapi_plugin_config`.
14 For the most part, a GSSAPI mechanism module exports the same
16 function signatures. The mechanism selection layer within the GSSAPI
18 application to the module if the module's mechanism is requested. If
25 **gss_add_cred_with_password** function. A mechanism only needs to
30 the mechanism's status codes onto unique values, and then map them
[all …]
/freebsd/sys/contrib/openzfs/module/icp/core/
H A Dkcf_mech_tabs.c41 * the mech_class identifies the table the mechanism belongs to.
42 * mech_index is the index for that mechanism in the table.
43 * A mechanism belongs to exactly 1 table.
67 * The number of providers for a particular mechanism is not expected to be
68 * long enough to justify the cost of using rwlocks, so the per-mechanism
122 * . The class of mechanism.
123 * . the name of the new mechanism.
126 * Creates a new mech_entry for a mechanism not yet known to the
129 * in turn invoked for each mechanism supported by a provider.
131 * in the registering provider's mech_info struct for this mechanism.
[all …]
/freebsd/sys/contrib/openzfs/module/icp/io/
H A Daes.c41 * Mechanism info structure passed to KCF during registration.
119 aes_check_mech_param(crypto_mechanism_t *mechanism, aes_ctx_t **ctx) in aes_check_mech_param() argument
127 switch (mechanism->cm_type) { in aes_check_mech_param()
139 if (param_required && mechanism->cm_param != NULL && in aes_check_mech_param()
140 mechanism->cm_param_len != param_len) { in aes_check_mech_param()
173 aes_encrypt_atomic(crypto_mechanism_t *mechanism, in aes_encrypt_atomic() argument
187 if ((ret = aes_check_mech_param(mechanism, NULL)) != CRYPTO_SUCCESS) in aes_encrypt_atomic()
190 ret = aes_common_init_ctx(&aes_ctx, template, mechanism, key, in aes_encrypt_atomic()
195 switch (mechanism->cm_type) { in aes_encrypt_atomic()
233 if (mechanism->cm_type == AES_CCM_MECH_INFO_TYPE) { in aes_encrypt_atomic()
[all …]
H A Dsha2_mod.c43 /* to extract the digest length passed as mechanism parameter */
61 * Mechanism info structure passed to KCF during registration.
368 sha2_mac_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, in sha2_mac_init() argument
377 * mechanism in sha2_mac_init()
379 switch (mechanism->cm_type) { in sha2_mac_init()
393 PROV_SHA2_HMAC_CTX(ctx)->hc_mech_type = mechanism->cm_type; in sha2_mac_init()
409 PROV_SHA2_DIGEST_KEY(mechanism->cm_type / 3, in sha2_mac_init()
466 /* Set the digest lengths to values appropriate to the mechanism */ in sha2_mac_final()
555 sha2_mac_atomic(crypto_mechanism_t *mechanism, in sha2_mac_atomic() argument
567 * mechanism in sha2_mac_atomic()
[all …]
/freebsd/lib/libgssapi/
H A Dmech.530 .Nd "GSS-API Mechanism and QOP files"
42 The name of this GSS-API mechanism.
44 The OID for this mechanism.
46 A shared library containing the implementation of this mechanism.
48 Optional kernel module containing the implementation of this mechanism (not
51 Optional parameters interpreted by the mechanism. Library options
56 The first mechanism listed in
58 is the default mechanism.
59 This mechanism will be used by
61 if the user doesn't specify a specific mechanism.
[all …]
H A Dgss_add_cred.362 mechanism-specific authentication data,
89 since implementations are likely to provide mechanism-specific ways of
106 If credential acquisition is time-consuming for a mechanism,
107 the mechanism may choose to delay the actual acquisition until the
112 Such mechanism-specific implementation decisions should be invisible
173 Mechanism specific status code.
189 Underlying security mechanism with which the credential may be used.
248 remain valid for initiating contexts using the specified mechanism.
249 If the implementation or mechanism does not support expiration of
260 mechanism.
[all …]
H A Dgss_inquire_cred_by_mech.333 .Nd Obtain per-mechanism information about a credential
49 Obtains per-mechanism information about a credential.
53 Mechanism specific status code.
60 The mechanism for which information should be returned.
71 initiating security contexts under the specified mechanism.
73 or if the credential usage for this mechanism is
86 accepting security contexts under the specified mechanism.
88 or if the credential usage for this mechanism is
100 How the credential may be used with the specified mechanism.
H A Dgss_canonicalize_name.346 Generate a canonical mechanism name (MN) from an arbitrary internal
48 The mechanism name is the name that would be returned to a context
61 as the authentication mechanism.
65 Mechanism specific status code.
69 The authentication mechanism for which the canonical form of the name
71 The desired mechanism must be specified explicitly;
84 The identified mechanism is not supported.
87 processed by the specified mechanism.
H A Dgss_inquire_names_for_mech.333 .Nd List the name-types supported by the specified mechanism
41 .Fa "const gss_OID mechanism"
45 Returns the set of name-types supported by the specified mechanism.
49 Mechanism specific status code.
50 .It mechanism
51 The mechanism to be interrogated.
53 Set of name-types supported by the specified mechanism.
/freebsd/crypto/krb5/src/lib/gssapi/generic/
H A Dgssapi_generic.c262 "Mechanism is neither a pseudo-mechanism nor a composite mechanism.",
268 "Mechanism is a pseudo-mechanism.",
274 "Mechanism is a composite of other mechanisms.",
280 "Mechanism negotiates other mechanisms.",
286 "OID is not a mechanism but the GSS-API itself.",
292 "Known OID but not a mechanism OID.",
298 "Mechanism is deprecated.",
304 "Mechanism must not be used as a default mechanism.",
310 "Mechanism's initial contexts are properly framed.",
316 "Mechanism supports authentication of initiator to acceptor.",
[all …]
/freebsd/crypto/krb5/doc/html/plugindev/
H A Dgssapi.html9 <title>GSSAPI mechanism interface &#8212; MIT Kerberos Documentation</title>
42 … <a href="mailto:krb5-bugs@mit.edu?subject=Documentation__GSSAPI mechanism interface">feedback</a>
55 <section id="gssapi-mechanism-interface">
56 <h1>GSSAPI mechanism interface<a class="headerlink" href="#gssapi-mechanism-interface" title="Perma…
57 <p>The GSSAPI library in MIT krb5 can load mechanism modules to augment
59 <p>A mechanism module is a Unix shared object or Windows DLL, built
61mechanism config files described in <a class="reference internal" href="../admin/host_config.html#…
62 <p>For the most part, a GSSAPI mechanism module exports the same
64 function signatures. The mechanism selection layer within the GSSAPI
66 application to the module if the module’s mechanism is requested. If
[all …]
/freebsd/crypto/heimdal/lib/hx509/
H A Dtest_soft_pkcs11.c154 CK_MECHANISM mechanism; in main() local
156 memset(&mechanism, 0, sizeof(mechanism)); in main()
157 mechanism.mechanism = CKM_RSA_PKCS; in main()
159 ret = (*func->C_SignInit)(session, &mechanism, private); in main()
171 ret = (*func->C_VerifyInit)(session, &mechanism, public); in main()
186 CK_MECHANISM mechanism; in main()
189 memset(&mechanism, 0, sizeof(mechanism)); in main()
190 mechanism.mechanism = CKM_RSA_PKCS; in main()
192 ret = (*func->C_EncryptInit)(session, &mechanism, public); in main()
204 ret = (*func->C_DecryptInit)(session, &mechanism, private); in main()
/freebsd/crypto/heimdal/lib/gssapi/mech/
H A Dmech.532 .Nd "GSS-API Mechanism and QOP files"
44 The name of this GSS-API mechanism.
46 The OID for this mechanism.
48 A shared library containing the implementation of this mechanism.
50 A kernel module containing the implementation of this mechanism (not
53 Optionsal parameters interpreted by the mechanism. Library options
71 .It Mechanism name
72 The GSS-API mechanism name that corresponds to this algorithm.
H A Dmech.cat55 mmeecchh, qqoopp -- GSS-API Mechanism and QOP files
15 Name The name of this GSS-API mechanism.
18 The OID for this mechanism.
21 mechanism.
28 Optionsal parameters interpreted by the mechanism. Library
42 Mechanism name
43 The GSS-API mechanism name that corresponds to this algo-
H A Dgss_init_sec_context.c60 * credential for the mechanism will be used.
67 * mechanism supports, check supported name types with
70 * @param input_mech_type mechanism type to use, if GSS_C_NO_OID is
72 * available mechanism are listed in the @ref gssapi_mechs_intro
144 * the mechanism switch table. If we have one already, make in gss_init_sec_context()
145 * sure we use the same mechanism switch as before. in gss_init_sec_context()
170 * Find the MN for this mechanism. in gss_init_sec_context()
180 * If we have a cred, find the cred for this mechanism. in gss_init_sec_context()
/freebsd/crypto/krb5/src/lib/gssapi/mechglue/
H A Dg_mechname.c2 * g_mechname.c --- registry of mechanism-specific name types
4 * This file contains a registry of mechanism-specific name types. It
36 * Given a name_type, if it is specific to a mechanism, return the
37 * mechanism OID. Otherwise, return NULL.
51 * This function adds a (name_type, mechanism) pair to the
52 * mechanism-specific name type registry. If an entry for the
53 * name_type already exists, then zero out the mechanism entry.
69 * a mechanism-specific name type.
H A Dg_compare_name.c86 * Try our hardest to make union_name1 be the mechanism-specific
88 * mechanism-specific.)
95 * If union_name1 is mechanism specific, then fetch its mechanism
109 * First case... both names are mechanism-specific
131 * Second case... both names are NOT mechanism specific.
137 * know what mechanism to use for calling the underlying
178 * Final case... one name is mechanism specific, the other isn't.
180 * We attempt to convert the general name to the mechanism type of
181 * the mechanism-specific name, and then do the compare. If we
186 /* We make union_name1 the mechanism specific name. */
/freebsd/crypto/krb5/src/lib/gssapi/krb5/
H A Dinq_names.c30 krb5_gss_inquire_names_for_mech(minor_status, mechanism, name_types) in krb5_gss_inquire_names_for_mech() argument
32 gss_OID mechanism;
38 * We only know how to handle our own mechanism.
40 if ((mechanism != GSS_C_NULL_OID) &&
41 !g_OID_equal(gss_mech_krb5, mechanism) &&
42 !g_OID_equal(gss_mech_krb5_old, mechanism) &&
43 !g_OID_equal(gss_mech_krb5_wrong, mechanism) &&
44 !g_OID_equal(gss_mech_iakerb, mechanism)) {
/freebsd/contrib/llvm-project/llvm/lib/Transforms/CFGuard/
H A DCFGuard.cpp38 /// address-taken function. X86_64 targets use the Mechanism::Dispatch
39 /// mechanism. X86, ARM, and AArch64 targets use the Mechanism::Check machanism.
42 using Mechanism = CFGuardPass::Mechanism; typedef in __anon51b3f2350111::CFGuardImpl
44 CFGuardImpl(Mechanism M) : GuardMechanism(M) { in CFGuardImpl()
47 case Mechanism::Check: in CFGuardImpl()
50 case Mechanism::Dispatch: in CFGuardImpl()
57 /// check mechanism. When the image is loaded, the loader puts the appropriate
102 /// dispatch mechanism. When the image is loaded, the loader puts the
149 Mechanism GuardMechanism = Mechanism::Check;
162 CFGuard(CFGuardImpl::Mechanism M) : FunctionPass(ID), Impl(M) { in CFGuard()
[all …]
/freebsd/lib/librpcsec_gss/
H A Drpc_gss_oid_to_mech.330 .Nd "Convert a mechanism name to a GSS-API oid"
38 This function looks up a mechanism by oid by reading the file
43 The mechanism oid to search for
45 If the mechanism is found, the corresponding mechanism name is returned
50 If the mechanism is found,
H A Drpc_gss_seccreate.339 .Fa "const char *mechanism"
57 .It mechanism
58 The desired mechanism for this security context.
59 The value of mechanism should be the name of one of the security
79 mechanism.
84 Various values returned by the underlying GSS-API mechanism.
/freebsd/crypto/heimdal/doc/doxyout/gssapi/man/man3/
H A Dinternalvsmechname.35 internalvsmechname \- Internal names and mechanism names
11 …ng form is the exported name object. The exported name defined for each mechanism, is something th…
18 … is the Mechanism Name (MN). In the mechanism name all the generic information is stripped of and …
H A Dgssapi.387 …calize_name takes a Internal Name (IN) and converts in into a mechanism specific Mechanism Name (M…
91 If the input_name if of the GSS_C_NT_USER_NAME, and the Kerberos mechanism is specified, the result…
114 Import a name internal or mechanism name
167 …e context, if GSS_C_NO_CREDENTIAL is passed, the default credential for the mechanism will be used.
171 …using \fBgss_import_name()\fP. The name is can be of any name types the mechanism supports, check …
173 …put_mech_type\fP mechanism type to use, if GSS_C_NO_OID is used, Kerberos (GSS_KRB5_MECHANISM) wil…
206 \fImech\fP given together with mech_attr will return the list of attributes for mechanism, can opti…
216 Returns different protocol names and description of the mechanism.
/freebsd/crypto/heimdal/lib/gssapi/
H A Dgss_acquire_cred.3283 .Fa "const gss_OID mechanism"
457 GSS-API have generic name types that all mechanism are supposed to
491 .Li Internal name and mechanism name
495 .Li Mechanism names
496 special form of internal names corresponds to one and only one mechanism.
516 mechanism itself and compatible between different GSS-API
546 The second will compare if a mechanism will authenticate them as the
553 the default syntax is used for all mechanism the GSS-API
557 it may match serveral mechanism names (MN).
634 mechanism.

12345678910>>...72