Home
last modified time | relevance | path

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

12345678910>>...58

/freebsd/sys/contrib/openzfs/module/icp/core/
H A Dkcf_mech_tabs.c40 * the mech_class identifies the table the mechanism belongs to.
41 * mech_index is the index for that mechanism in the table.
42 * A mechanism belongs to exactly 1 table.
66 * The number of providers for a particular mechanism is not expected to be
67 * long enough to justify the cost of using rwlocks, so the per-mechanism
121 * . The class of mechanism.
122 * . the name of the new mechanism.
125 * Creates a new mech_entry for a mechanism not yet known to the
128 * in turn invoked for each mechanism supported by a provider.
130 * in the registering provider's mech_info struct for this mechanism.
[all …]
/freebsd/sys/contrib/openzfs/module/icp/io/
H A Daes.c40 * Mechanism info structure passed to KCF during registration.
118 aes_check_mech_param(crypto_mechanism_t *mechanism, aes_ctx_t **ctx) in aes_check_mech_param() argument
126 switch (mechanism->cm_type) { in aes_check_mech_param()
138 if (param_required && mechanism->cm_param != NULL && in aes_check_mech_param()
139 mechanism->cm_param_len != param_len) { in aes_check_mech_param()
172 aes_encrypt_atomic(crypto_mechanism_t *mechanism, in aes_encrypt_atomic() argument
186 if ((ret = aes_check_mech_param(mechanism, NULL)) != CRYPTO_SUCCESS) in aes_encrypt_atomic()
189 ret = aes_common_init_ctx(&aes_ctx, template, mechanism, key, in aes_encrypt_atomic()
194 switch (mechanism->cm_type) { in aes_encrypt_atomic()
232 if (mechanism->cm_type == AES_CCM_MECH_INFO_TYPE) { in aes_encrypt_atomic()
[all …]
H A Dsha2_mod.c42 /* to extract the digest length passed as mechanism parameter */
60 * Mechanism info structure passed to KCF during registration.
367 sha2_mac_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, in sha2_mac_init() argument
376 * mechanism in sha2_mac_init()
378 switch (mechanism->cm_type) { in sha2_mac_init()
392 PROV_SHA2_HMAC_CTX(ctx)->hc_mech_type = mechanism->cm_type; in sha2_mac_init()
408 PROV_SHA2_DIGEST_KEY(mechanism->cm_type / 3, in sha2_mac_init()
465 /* Set the digest lengths to values appropriate to the mechanism */ in sha2_mac_final()
554 sha2_mac_atomic(crypto_mechanism_t *mechanism, in sha2_mac_atomic() argument
566 * 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.
H A Dgss_inquire_mechs_for_name.348 Each mechanism returned will recognize at least one element within the
51 mechanism-independent GSS-API layer,
53 and based on registration information provided by individual mechanism
57 set may indicate that a particular mechanism will understand the name
67 subsequent mechanism-specific routine.
71 Mechanism specific status code.
/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/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.
H A Drpc_gss_get_mech_info.330 .Nd "Get extra information about a security mechanism"
38 This function looks up a mechanism by name by reading the file
43 The mechanism to search for
45 If the mechanism is found, the maximum supported service type is
50 If the mechanism is found,
H A Drpc_gss_mech_to_oid.330 .Nd "Convert a mechanism name to a GSS-API oid"
38 This function looks up a mechanism by name by reading the file
43 The mechanism name to search for
45 If the mechanism is found, the corresponding GSS-API oid is returned
50 If the mechanism is found,
H A Drpcsec_gss.337 is a security mechanism for the RPC protocol.
117 const char *mechanism; /* security mechanism */
186 Convert a mechanism name to the corresponding GSS-API oid.
188 Convert a GSS-API oid to a mechanism name
194 Return extra information about a security mechanism
200 Query for the presence of a particular security 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.
/freebsd/crypto/heimdal/doc/doxyout/gssapi/html/
H A Dinternalvsmechname.html3 <title>HeimdalGSS-APIlibrary: Internal names and mechanism names</title>
22 <h1><a class="anchor" name="internalVSmechname">Internal names and mechanism names </a></h1><h2><a …
26 …ng form is the exported name object. The exported name defined for each mechanism, is something th…
31 … is the Mechanism Name (MN). In the mechanism name all the generic information is stripped of and …
/freebsd/sys/contrib/openzfs/module/icp/spi/
H A Dkcf_spi.c189 * Process the mechanism info structures specified by the provider
207 * Copy the mechanism list from the provider info to the provider in init_prov_mechs()
210 * mechanism, SUN_RANDOM, in this case. in init_prov_mechs()
219 * For each mechanism support by the provider, add the provider in init_prov_mechs()
220 * to the corresponding KCF mechanism mech_entry chain. in init_prov_mechs()
230 /* The provider will be used for this mechanism */ in init_prov_mechs()
238 * per mechanism. in init_prov_mechs()
247 * An error occurred while adding the mechanism, cleanup in init_prov_mechs()
/freebsd/crypto/heimdal/lib/gssapi/spnego/
H A Dexternal.c38 * The security mechanism of the initial
40 * iso.org.dod.internet.security.mechanism.snego (1.3.6.1.5.5.2).
55 "Mechanism name",
63 "Mechanism description",
64 rk_UNCONST("Heimdal SPNEGO Mechanism"),

12345678910>>...58