Searched refs:mech_type (Results 1 - 25 of 56) sorted by relevance

123

/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
H A Ddh_common.h42 gss_OID_desc mech_type, dh_keyopts_t keyopts);
/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_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_compare_name.c90 if (union_name1->mech_type == 0) {
98 if (union_name1->mech_type) {
99 mech = __gss_get_mechanism(union_name1->mech_type);
111 if (union_name1->mech_type && union_name2->mech_type) {
112 if (!g_OID_equal(union_name1->mech_type,
113 union_name2->mech_type))
143 if (!union_name1->mech_type && !union_name2->mech_type) {
148 * Not knowing a mech_type w
[all...]
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_imp_sec_context.c98 ctx->mech_type = (gss_OID) malloc(sizeof (gss_OID_desc));
99 if (!ctx->mech_type) {
118 ctx->mech_type->length = length;
119 ctx->mech_type->elements = malloc(length);
120 if (!ctx->mech_type->elements) {
123 (void) memcpy(ctx->mech_type->elements, p, length);
134 mech = __gss_get_mechanism(ctx->mech_type);
156 if (ctx->mech_type) {
157 if (ctx->mech_type->elements)
158 free(ctx->mech_type
[all...]
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...]
H A Dg_rel_name.c70 if (union_name->mech_type) {
72 union_name->mech_type,
74 (void) gss_release_oid(minor_status, &union_name->mech_type);
H A Dg_glue.c300 OM_uint32 gssint_import_internal_name(minor_status, mech_type, union_name,
303 gss_OID mech_type;
310 mech = gssint_get_mechanism(mech_type);
330 gssint_export_internal_name(minor_status, mech_type,
333 const gss_OID mech_type;
348 mech = gssint_get_mechanism(mech_type);
400 mechOidDERLen = gssint_der_length_size(mech_type->length);
403 mech_type->length +
419 mechOidLen = mechOidDERLen + mechOidTagLen + mech_type->length;
428 if (gssint_put_der_length(mech_type
[all...]
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_dup_name.c98 dest_union->mech_type = 0;
121 if (src_union->mech_type) {
123 src_union->mech_type,
124 &dest_union->mech_type);
131 dest_union->mech_type,
155 dest_union->mech_type,
157 if (dest_union->mech_type)
159 &dest_union->mech_type);
H A Dg_exp_sec_context.c97 mech = __gss_get_mechanism(ctx->mech_type);
110 length = token.length + 4 + ctx->mech_type->length;
118 length = ctx->mech_type->length;
126 (void) memcpy(buf+4, ctx->mech_type->elements,
127 (size_t)ctx->mech_type->length);
128 (void) memcpy(buf+4+ctx->mech_type->length, token.value, token.length);
132 free(ctx->mech_type->elements);
133 free(ctx->mech_type);
H A Dg_export_name.c71 if (!union_name->mech_type)
74 return __gss_export_internal_name(minor_status, union_name->mech_type,
H A Dg_delete_sec_context.c93 ctx->mech_type,
100 free(ctx->mech_type->elements);
101 free(ctx->mech_type);
H A Dg_context_time.c61 mech = __gss_get_mechanism(ctx->mech_type);
H A Dg_inq_context_oid.c60 mech = gssint_get_mechanism (ctx->mech_type);
H A Dg_inquire_cred.c215 gss_inquire_cred_by_mech(minor_status, cred_handle, mech_type, name,
219 const gss_OID mech_type;
240 mech = __gss_get_mechanism(mech_type);
247 mech_cred = __gss_get_mechanism_cred(union_cred, mech_type);
254 mech_cred, mech_type,
H A Dg_acquire_cred_with_pw.c144 default_OID.length = mech->mech_type.length;
145 default_OID.elements = mech->mech_type.elements;
300 if (union_name->mech_type &&
301 g_OID_equal(union_name->mech_type,
302 &mech->mech_type))
306 &mech->mech_type, union_name,
374 malloc(mech->mech_type.length)) == NULL)
378 &mech->mech_type);
411 &mech->mech_type,
427 &mech->mech_type,
[all...]
/osnet-11/usr/src/lib/libsoftcrypto/common/
H A Dlibsoftcrypto.h96 ucrypto_mech_t mech_type, uchar_t *key_str, size_t key_len,
106 extern int ucrypto_encrypt(ucrypto_mech_t mech_type, uchar_t *key_str,
112 ucrypto_mech_t mech_type, uchar_t *key_str, size_t key_len,
122 extern int ucrypto_decrypt(ucrypto_mech_t mech_type, uchar_t *key_str,
127 extern int ucrypto_sign_init(crypto_ctx_t *context, ucrypto_mech_t mech_type,
137 extern int ucrypto_sign(ucrypto_mech_t mech_type,
142 extern int ucrypto_verify_init(crypto_ctx_t *context, ucrypto_mech_t mech_type,
152 extern int ucrypto_verify(ucrypto_mech_t mech_type,
175 extern const char *ucrypto_id2mech(ucrypto_mech_t 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...]
H A Dmechstr.c74 ucrypto_id2mech(ucrypto_mech_t mech_type) argument
79 target.num = mech_type;
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Ddisp_status.c171 mech_type, message_context, status_string)
175 gss_OID mech_type;
182 if ((mech_type != GSS_C_NULL_OID) &&
183 !g_OID_equal(gss_mech_krb5, mech_type) &&
184 !g_OID_equal(gss_mech_krb5_old, mech_type)) {
222 mech_type, message_context, status_string)
226 gss_OID mech_type;
231 status_type, mech_type, message_context,
H A Dinq_cred.c222 mech_type, name, initiator_lifetime,
226 gss_OID mech_type;
239 if ((mech_type != GSS_C_NULL_OID) &&
240 !g_OID_equal(gss_mech_krb5_old, mech_type) &&
241 !g_OID_equal(gss_mech_krb5, mech_type)) {
/osnet-11/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSlot.h38 int mech_type; member in struct:cipher_mechs_threshold

Completed in 46 milliseconds

123