Searched defs:mech_type (Results 1 - 23 of 23) sorted by relevance

/osnet-11/usr/src/lib/libcryptoutil/common/
H A Dmechkeygen.c34 pkcs11_mech2keygen(CK_MECHANISM_TYPE mech_type, CK_MECHANISM_TYPE *gen_mech) argument
36 switch (mech_type) {
H A Dmechkeytype.c36 pkcs11_mech2keytype(CK_MECHANISM_TYPE mech_type, CK_KEY_TYPE *ktype) argument
41 switch (mech_type) {
/osnet-11/usr/src/lib/gss_mechs/mech_dh/dh_common/
H A Ddh_common.c45 gss_OID_desc mech_type, /* OID of mechanism */
58 mech->mech_type = mech_type;
44 __dh_generic_initialize(gss_mechanism dhmech, gss_OID_desc mech_type, dh_keyopts_t keyopts ) argument
/osnet-11/usr/src/lib/libgss/
H A Dg_canon_name.c50 const gss_OID mech_type,
67 if (input_name == GSS_C_NO_NAME || mech_type == GSS_C_NULL_OID)
76 mech_type,
80 const gss_OID mech_type;
90 mech_type,
103 if (!output_name && in_union->mech_type &&
104 g_OID_equal(in_union->mech_type, mech_type))
114 out_union->mech_type = 0;
141 if (in_union->mech_type) {
47 val_canon_name_args( OM_uint32 *minor_status, const gss_name_t input_name, const gss_OID mech_type, gss_name_t *output_name) argument
[all...]
H A Dg_dsp_status.c63 gss_OID mech_type = (gss_OID) req_mech_type; local
128 mech_type = &m_oid;
132 mech = __gss_get_mechanism(mech_type);
137 if (mech_type == GSS_C_NULL_OID)
138 mech_type = &mech->mech_type;
141 status_value, status_type, mech_type,
H A Dg_init_sec_context.c108 gss_OID mech_type = GSS_C_NULL_OID; local
121 mech_type = (gss_OID)req_mech_type;
127 * mechanism. If mech_type is NULL, set it to the resultant
130 mech = __gss_get_mechanism(mech_type);
137 if (mech_type == GSS_C_NULL_OID)
138 mech_type = &mech->mech_type;
142 * mech_type that we're about to use. Otherwise, do an import on
145 if (union_name->mech_type &&
146 g_OID_equal(union_name->mech_type, mech_typ
[all...]
H A Dg_inquire_context.c39 gss_OID *mech_type)
53 if (mech_type != NULL)
54 *mech_type = GSS_C_NO_OID;
75 gss_OID *mech_type,
89 mech_type);
99 mech = __gss_get_mechanism(ctx->mech_type);
147 if (mech_type)
148 *mech_type = &mech->mech_type;
34 val_inq_ctx_args( OM_uint32 *minor_status, gss_ctx_id_t context_handle, gss_name_t *src_name, gss_name_t *targ_name, gss_OID *mech_type) argument
69 gss_inquire_context( OM_uint32 *minor_status, gss_ctx_id_t context_handle, gss_name_t *src_name, gss_name_t *targ_name, OM_uint32 *lifetime_rec, gss_OID *mech_type, OM_uint32 *ctx_flags, int *locally_initiated, int *opened) argument
H A Dg_userok.c37 const gss_OID mech_type,
52 if (!gss_user.value || !name || !mech_type)
66 mech_type,
112 mech = __gss_get_mechanism(intName->mech_type);
117 if (intName->mech_type == NULL) {
126 major = compare_names(minor, intName->mech_type,
36 compare_names(OM_uint32 *minor, const gss_OID mech_type, const gss_name_t name, const char *user, int *user_ok) argument
H A Dg_accept_sec_context.c46 gss_OID *mech_type,
59 if (mech_type != NULL)
60 *mech_type = GSS_C_NO_OID;
94 mech_type,
106 gss_OID *mech_type;
129 mech_type,
164 &union_ctx_id->mech_type);
174 token_mech_type = union_ctx_id->mech_type;
200 mech_type,
211 * attempt by Windows clients. Attempt to use mech_type
41 val_acc_sec_ctx_args( OM_uint32 *minor_status, gss_ctx_id_t *context_handle, gss_buffer_t input_token_buffer, gss_name_t *src_name, gss_OID *mech_type, gss_buffer_t output_token, gss_cred_id_t *d_cred) argument
[all...]
/osnet-11/usr/src/lib/libsoftcrypto/common/
H A Dmechstr.c74 ucrypto_id2mech(ucrypto_mech_t mech_type) argument
79 target.num = mech_type;
H A Dcrypt.c58 static int ucrypto_common_init(crypto_ctx_t *context, ucrypto_mech_t mech_type,
65 static int ucrypto_atomic(ucrypto_mech_t mech_type, uchar_t *key_str,
73 ucrypto_mech_t mech_type);
74 static int set_mechanism(crypto_mechanism_t *mech, ucrypto_mech_t mech_type,
180 ucrypto_mech_t mech_type)
182 switch (mech_type) {
224 set_mechanism(crypto_mechanism_t *mech, ucrypto_mech_t mech_type, argument
227 if (mech_type == CRYPTO_AES_ECB && iv_len != 0)
230 mech->cm_type = mech_type;
249 ucrypto_common_init(crypto_ctx_t *context, ucrypto_mech_t mech_type, argument
179 set_key(crypto_key_t *key, void *key_data, size_t key_len, ucrypto_mech_t mech_type) argument
462 ucrypto_atomic(ucrypto_mech_t mech_type, uchar_t *key_str, size_t key_len, void *iv, size_t iv_len, uchar_t *in, size_t in_len, uchar_t *out, size_t *out_len, ucrypto_op_t op_type) argument
614 ucrypto_encrypt_init(crypto_ctx_t *context, ucrypto_mech_t mech_type, uchar_t *key_str, size_t key_len, void *iv, size_t iv_len) argument
667 ucrypto_encrypt(ucrypto_mech_t mech_type, uchar_t *key_str, size_t key_len, void *iv, size_t iv_len, uchar_t *in, size_t in_len, uchar_t *out, size_t *out_len) argument
690 ucrypto_decrypt_init(crypto_ctx_t *context, ucrypto_mech_t mech_type, uchar_t *key_str, size_t key_len, void *iv, size_t iv_len) argument
728 ucrypto_decrypt(ucrypto_mech_t mech_type, uchar_t *key_str, size_t key_len, void *iv, size_t iv_len, uchar_t *in, size_t in_len, uchar_t *out, size_t *out_len) argument
750 ucrypto_sign_init(crypto_ctx_t *context, ucrypto_mech_t mech_type, uchar_t *key_str, size_t key_len, void *iv, size_t iv_len) argument
772 ucrypto_sign(ucrypto_mech_t mech_type, uchar_t *key_str, size_t key_len, void *iv, size_t iv_len, uchar_t *data_str, size_t data_len, uchar_t *sig_str, size_t *sig_len) argument
782 ucrypto_verify_init(crypto_ctx_t *context, ucrypto_mech_t mech_type, uchar_t *key_str, size_t key_len, void *iv, size_t iv_len) argument
804 ucrypto_verify(ucrypto_mech_t mech_type, uchar_t *key_str, size_t key_len, void *iv, size_t iv_len, uchar_t *data_str, size_t data_len, uchar_t *sig_str, size_t *sig_len) argument
[all...]
/osnet-11/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSlot.h38 int mech_type; member in struct:cipher_mechs_threshold
/osnet-11/usr/src/lib/gss_mechs/mech_spnego/mech/
H A DgssapiP_spnego.h78 gss_OID mech_type; member in struct:__anon1058
168 gss_OID, /* mech_type */
185 gss_OID, /* mech_type */
205 gss_OID *, /* mech_type */
220 gss_OID *, /* mech_type */
269 gss_OID, /* mech_type */
279 gss_OID, /* mech_type */
289 gss_OID, /* mech_type */
431 gss_OID *mech_type,
444 gss_OID *mech_type,
[all...]
H A Dspnego_mech.c336 mech_spnego.mech_type = GSS_C_NO_OID;
989 gss_OID mech_type,
1004 mech_type,
1022 gss_OID mech_type,
1792 gss_OID *mech_type, gss_buffer_t mechtok_out,
1821 mech_type,
1868 gss_OID *mech_type,
1881 mech_type,
1897 gss_OID *mech_type,
1935 if (mech_type !
984 glue_spnego_gss_init_sec_context( OM_uint32 *minor_status, gss_cred_id_t claimant_cred_handle, gss_ctx_id_t *context_handle, gss_name_t target_name, gss_OID mech_type, OM_uint32 req_flags, OM_uint32 time_req, gss_channel_bindings_t input_chan_bindings, gss_buffer_t input_token, gss_OID *actual_mech, gss_buffer_t output_token, OM_uint32 *ret_flags, OM_uint32 *time_rec) argument
1017 spnego_gss_init_sec_context( OM_uint32 *minor_status, gss_cred_id_t claimant_cred_handle, gss_ctx_id_t *context_handle, gss_name_t target_name, gss_OID mech_type, OM_uint32 req_flags, OM_uint32 time_req, gss_channel_bindings_t input_chan_bindings, gss_buffer_t input_token, gss_OID *actual_mech, gss_buffer_t output_token, OM_uint32 *ret_flags, OM_uint32 *time_rec) argument
1790 acc_ctx_call_acc(OM_uint32 *minor_status, spnego_gss_ctx_id_t sc, gss_cred_id_t cred, gss_buffer_t mechtok_in, gss_OID *mech_type, gss_buffer_t mechtok_out, OM_uint32 *ret_flags, OM_uint32 *time_rec, gss_cred_id_t *delegated_cred_handle, OM_uint32 *negState, send_token_flag *tokflag) argument
1861 glue_spnego_gss_accept_sec_context( OM_uint32 *minor_status, gss_ctx_id_t *context_handle, gss_cred_id_t verifier_cred_handle, gss_buffer_t input_token, gss_channel_bindings_t input_chan_bindings, gss_name_t *src_name, gss_OID *mech_type, gss_buffer_t output_token, OM_uint32 *ret_flags, OM_uint32 *time_rec, gss_cred_id_t *delegated_cred_handle) argument
1890 spnego_gss_accept_sec_context( OM_uint32 *minor_status, gss_ctx_id_t *context_handle, gss_cred_id_t verifier_cred_handle, gss_buffer_t input_token, gss_channel_bindings_t input_chan_bindings, gss_name_t *src_name, gss_OID *mech_type, gss_buffer_t output_token, OM_uint32 *ret_flags, OM_uint32 *time_rec, gss_cred_id_t *delegated_cred_handle) argument
2061 glue_spnego_gss_display_status( OM_uint32 *minor_status, OM_uint32 status_value, int status_type, gss_OID mech_type, OM_uint32 *message_context, gss_buffer_t status_string) argument
2079 spnego_gss_display_status( OM_uint32 *minor_status, OM_uint32 status_value, int status_type, gss_OID mech_type, OM_uint32 *message_context, gss_buffer_t status_string) argument
2484 glue_spnego_gss_inquire_context( OM_uint32 *minor_status, const gss_ctx_id_t context_handle, gss_name_t *src_name, gss_name_t *targ_name, OM_uint32 *lifetime_rec, gss_OID *mech_type, OM_uint32 *ctx_flags, int *locally_initiated, int *opened) argument
2508 spnego_gss_inquire_context( OM_uint32 *minor_status, const gss_ctx_id_t context_handle, gss_name_t *src_name, gss_name_t *targ_name, OM_uint32 *lifetime_rec, gss_OID *mech_type, OM_uint32 *ctx_flags, int *locally_initiated, int *opened) argument
[all...]
/osnet-11/usr/src/lib/libsmbfs/common/
H A Dsmbfs_gss.c609 gss_OID mech_oid, mech_type; local
667 &mech_type,
/osnet-11/usr/src/lib/rpcsec_gss/
H A Drpcsec_gss.c87 gss_OID mech_type; /* GSS mechanism */ member in struct:_rpc_gss_data
114 gss_OID mech_type; local
129 if (!__rpc_gss_mech_to_oid(mech, &mech_type)) {
180 ap->mech_type = mech_type;
187 &mech_type, &ret_flags, &time_rec)) {
220 if ((s = __rpc_gss_oid_to_mech(mech_type)) != NULL)
288 ap->mech_type,
437 if ((mech = __rpc_gss_oid_to_mech(ap->mech_type)) == NULL)
H A Dsvc_rpcsec_gss.c581 gss_OID mech_type = GSS_C_NULL_OID; local
744 &mech_type,
759 &mech_type,
797 = __rpc_gss_oid_to_mech(mech_type))
/osnet-11/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaUtil.c493 if (mechanism == meta_mechs_threshold[i].mech_type)
870 get_slotlist_for_mech(CK_MECHANISM_TYPE mech_type, argument
879 rv = meta_mechManager_slot_supports_mech(mech_type,
889 mech_support_info->mech = mech_type;
910 if ((mech_support_info->mech != mech_type) ||
912 mech_support_info->mech = mech_type;
H A DmetaObjectManager.c50 CK_MECHANISM_TYPE mech_type; /* mech used for wrap/unwrap */ member in struct:_wrap_info
1046 (wrap_info[i]).mech_type, src_slotnum,
1053 (wrap_info[i]).mech_type, dst_slotnum,
1102 if ((special_wrap_info[i]).mech_type
1111 (special_wrap_info[i]).mech_type, src_slotnum,
1118 (special_wrap_info[i]).mech_type, dst_slotnum,
1338 wrappingMech.mechanism = wrap_info.mech_type;
H A DmetaGlobal.h550 int mech_type; member in struct:cipher_mechs_threshold
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dinit_sec_context.c356 chan_bindings, mech_type, token)
363 gss_OID mech_type;
438 tlen = g_token_size((gss_OID) mech_type, ap_req.length);
448 g_make_token_header(mech_type, ap_req.length,
481 gss_OID mech_type,
590 mech_type = (gss_OID) gss_mech_krb5;
593 if (generic_gss_copy_oid(minor_status, mech_type, &ctx->mech_used)
609 mech_type, &token))) {
665 *actual_mech_type = mech_type;
711 gss_OID mech_type,
476 kg_new_connection( OM_uint32 *minor_status, krb5_gss_cred_id_t cred, gss_ctx_id_t *context_handle, gss_name_t target_name, gss_OID mech_type, OM_uint32 req_flags, OM_uint32 time_req, gss_channel_bindings_t input_chan_bindings, gss_buffer_t input_token, gss_OID *actual_mech_type, gss_buffer_t output_token, OM_uint32 *ret_flags, OM_uint32 *time_rec, krb5_context context, int default_mech) argument
707 mutual_auth( OM_uint32 *minor_status, gss_ctx_id_t *context_handle, gss_name_t target_name, gss_OID mech_type, OM_uint32 req_flags, OM_uint32 time_req, gss_channel_bindings_t input_chan_bindings, gss_buffer_t input_token, gss_OID *actual_mech_type, gss_buffer_t output_token, OM_uint32 *ret_flags, OM_uint32 *time_rec, krb5_context context) argument
[all...]
/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dtpmtok_int.h385 CK_MECHANISM_TYPE mech_type; member in struct:_MECH_LIST_ELEMENT
/osnet-11/usr/src/lib/sasl_plugins/digestmd5/
H A Ddigestmd5.c1257 CK_MECHANISM_TYPE mech_type,
1293 mechanism.mechanism = mech_type;
5274 getSlotID(const sasl_utils_t *utils, CK_MECHANISM_TYPE mech_type, argument
5338 if (pMechTypeList[m] == mech_type)
1255 init_uef(context_t *text, CK_KEY_TYPE keyType, CK_MECHANISM_TYPE mech_type, CK_SLOT_ID slot_id, char enckey[16], char deckey[16]) argument

Completed in 114 milliseconds