Home
last modified time | relevance | path

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

12345678910>>...63

/freebsd-src/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-src/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-src/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)
126 switch (mechanism->cm_type) {
138 if (param_required && mechanism->cm_param != NULL &&
139 mechanism->cm_param_len != param_len) {
172 aes_encrypt_atomic(crypto_mechanism_t *mechanism, in aes_mod_fini()
186 if ((ret = aes_check_mech_param(mechanism, NULL)) != CRYPTO_SUCCESS) in aes_check_mech_param()
189 ret = aes_common_init_ctx(&aes_ctx, template, mechanism, key, in aes_check_mech_param()
194 switch (mechanism->cm_type) { in aes_check_mech_param()
232 if (mechanism in init_keysched()
175 aes_check_mech_param(crypto_mechanism_t * mechanism,aes_ctx_t ** ctx) aes_check_mech_param() argument
243 aes_encrypt_init(crypto_ctx_t * ctx,crypto_mechanism_t * mechanism,crypto_key_t * key,crypto_spi_ctx_template_t template) aes_encrypt_init() argument
250 aes_decrypt_init(crypto_ctx_t * ctx,crypto_mechanism_t * mechanism,crypto_key_t * key,crypto_spi_ctx_template_t template) aes_decrypt_init() argument
262 aes_common_init(crypto_ctx_t * ctx,crypto_mechanism_t * mechanism,crypto_key_t * key,crypto_spi_ctx_template_t template,boolean_t is_encrypt_init) aes_common_init() argument
831 aes_encrypt_atomic(crypto_mechanism_t * mechanism,crypto_key_t * key,crypto_data_t * plaintext,crypto_data_t * ciphertext,crypto_spi_ctx_template_t template) aes_encrypt_atomic() argument
957 aes_decrypt_atomic(crypto_mechanism_t * mechanism,crypto_key_t * key,crypto_data_t * ciphertext,crypto_data_t * plaintext,crypto_spi_ctx_template_t template) aes_decrypt_atomic() argument
1110 aes_create_ctx_template(crypto_mechanism_t * mechanism,crypto_key_t * key,crypto_spi_ctx_template_t * tmpl,size_t * tmpl_size) aes_create_ctx_template() argument
1169 aes_common_init_ctx(aes_ctx_t * aes_ctx,crypto_spi_ctx_template_t * template,crypto_mechanism_t * mechanism,crypto_key_t * key,int kmflag,boolean_t is_encrypt_init) aes_common_init_ctx() argument
1285 aes_mac_atomic(crypto_mechanism_t * mechanism,crypto_key_t * key,crypto_data_t * data,crypto_data_t * mac,crypto_spi_ctx_template_t template) aes_mac_atomic() argument
1306 aes_mac_verify_atomic(crypto_mechanism_t * mechanism,crypto_key_t * key,crypto_data_t * data,crypto_data_t * mac,crypto_spi_ctx_template_t template) aes_mac_verify_atomic() argument
[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_digest()
376 * mechanism in sha2_digest()
378 switch (mechanism->cm_type) { in sha2_digest()
392 PROV_SHA2_HMAC_CTX(ctx)->hc_mech_type = mechanism->cm_type; in sha2_digest()
408 PROV_SHA2_DIGEST_KEY(mechanism->cm_type / 3, in sha2_digest()
465 /* Set the digest lengths to values appropriate to the mechanism */ in sha2_digest_update()
554 sha2_mac_atomic(crypto_mechanism_t *mechanism, in sha2_digest_atomic()
566 * mechanism in sha2_digest_atomic()
192 sha2_digest_init(crypto_ctx_t * ctx,crypto_mechanism_t * mechanism) sha2_digest_init() argument
538 sha2_digest_atomic(crypto_mechanism_t * mechanism,crypto_data_t * data,crypto_data_t * digest) sha2_digest_atomic() argument
674 sha2_mac_init(crypto_ctx_t * ctx,crypto_mechanism_t * mechanism,crypto_key_t * key,crypto_spi_ctx_template_t ctx_template) sha2_mac_init() argument
900 sha2_mac_atomic(crypto_mechanism_t * mechanism,crypto_key_t * key,crypto_data_t * data,crypto_data_t * mac,crypto_spi_ctx_template_t ctx_template) sha2_mac_atomic() argument
1032 sha2_mac_verify_atomic(crypto_mechanism_t * mechanism,crypto_key_t * key,crypto_data_t * data,crypto_data_t * mac,crypto_spi_ctx_template_t ctx_template) sha2_mac_verify_atomic() argument
1206 sha2_create_ctx_template(crypto_mechanism_t * mechanism,crypto_key_t * key,crypto_spi_ctx_template_t * ctx_template,size_t * ctx_template_size) sha2_create_ctx_template() argument
[all...]
H A Dskein_mod.c
/freebsd-src/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-src/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-src/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_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 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 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-src/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;
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
41 using Mechanism = CFGuardPass::Mechanism; global() typedef in __anon473ae2870111::CFGuardImpl
[all...]
/freebsd-src/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-src/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-src/sys/contrib/openzfs/include/sys/crypto/
H A Dcommon.h49 crypto_mech_type_t cm_type; /* mechanism type */
54 /* CK_AES_CCM_PARAMS provides parameters to the CKM_AES_CCM mechanism */
64 /* CK_AES_GCM_PARAMS provides parameters to the CKM_AES_GCM mechanism */
75 * The measurement unit bit flag for a mechanism's minimum or maximum key size.
76 * The unit are mechanism dependent. It can be in bits or in bytes.
/freebsd-src/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 …

12345678910>>...63