Home
last modified time | relevance | path

Searched refs:mech_type (Results 1 – 25 of 86) sorted by relevance

1234

/illumos-gate/usr/src/lib/libgss/
H A Dg_canon_name.c50 const gss_OID mech_type, in val_canon_name_args() argument
76 mech_type, in gss_canonicalize_name() argument
80 const gss_OID mech_type;
90 mech_type,
104 g_OID_equal(in_union->mech_type, mech_type))
114 out_union->mech_type = 0;
140 if (in_union->mech_type) {
142 in_union->mech_type,
146 in_union->mech_type = 0;
194 dest_union->mech_type,
[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;
130 mech = __gss_get_mechanism(mech_type);
137 if (mech_type == GSS_C_NULL_OID)
138 mech_type = &mech->mech_type;
145 if (union_name->mech_type &&
146 g_OID_equal(union_name->mech_type, mech_type)) {
150 mech_type, union_name,
197 mech_type,
217 free(union_ctx_id->mech_type);
[all …]
H A Dg_glue.c305 gss_OID mech_type;
335 const gss_OID mech_type;
407 mech_type->length +
440 (void) memcpy(buf, mech_type->elements, mech_type->length);
441 buf += mech_type->length;
458 gss_OID mech_type;
488 gss_OID mech_type;
513 mech_type, in gssint_delete_internal_sec_context() argument
517 gss_OID mech_type;
611 if (union_name->mech_type)
[all …]
H A Dg_accept_sec_context.c45 gss_OID *mech_type, in val_acc_sec_ctx_args() argument
58 if (mech_type != NULL) in val_acc_sec_ctx_args()
59 *mech_type = GSS_C_NO_OID; in val_acc_sec_ctx_args()
93 mech_type, in gss_accept_sec_context() argument
105 gss_OID *mech_type;
128 mech_type,
162 &union_ctx_id->mech_type);
199 mech_type,
211 if (mech_type && (*mech_type != GSS_C_NULL_OID))
278 *mech_type,
[all …]
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) {
188 if (union_name2->mech_type) {
194 union_name1->mech_type,
210 (void) __gss_release_internal_name(&temp_minor, union_name1->mech_type,
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);
155 if (ctx->mech_type) {
156 if (ctx->mech_type->elements)
157 free(ctx->mech_type->elements);
[all …]
H A Dg_inquire_context.c39 gss_OID *mech_type) in val_inq_ctx_args() argument
53 if (mech_type != NULL) in val_inq_ctx_args()
54 *mech_type = GSS_C_NO_OID; in val_inq_ctx_args()
75 gss_OID *mech_type, in gss_inquire_context() argument
89 mech_type); in gss_inquire_context()
99 mech = __gss_get_mechanism(ctx->mech_type); in gss_inquire_context()
148 if (mech_type) in gss_inquire_context()
149 *mech_type = &mech->mech_type; in gss_inquire_context()
H A Dg_dup_name.c93 dest_union->mech_type = 0; in gss_duplicate_name()
115 if (src_union->mech_type) { in gss_duplicate_name()
117 src_union->mech_type, &dest_union->mech_type); in gss_duplicate_name()
124 dest_union->mech_type, dest_union, &dest_union->mech_name); in gss_duplicate_name()
145 dest_union->mech_type, &dest_union->mech_name); in gss_duplicate_name()
147 if (dest_union->mech_type) { in gss_duplicate_name()
149 &dest_union->mech_type); in gss_duplicate_name()
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_userok.c40 const gss_OID mech_type, in compare_names() argument
55 if (!gss_user.value || !name || !mech_type) in compare_names()
69 mech_type, in compare_names()
115 mech = __gss_get_mechanism(intName->mech_type); in __gss_userok()
120 if (intName->mech_type == NULL) { in __gss_userok()
129 major = compare_names(minor, intName->mech_type, in __gss_userok()
H A Dg_dsp_status.c63 gss_OID mech_type = (gss_OID) req_mech_type; local
126 mech_type = &m_oid;
130 mech = __gss_get_mechanism(mech_type);
135 if (mech_type == GSS_C_NULL_OID)
136 mech_type = &mech->mech_type;
139 status_value, status_type, mech_type,
H A Dg_acquire_cred_with_pw.c147 default_OID.length = mech->mech_type.length;
148 default_OID.elements = mech->mech_type.elements;
302 if (union_name->mech_type &&
303 g_OID_equal(union_name->mech_type,
304 &mech->mech_type))
308 &mech->mech_type, union_name,
373 malloc(mech->mech_type.length)) == NULL)
377 &mech->mech_type);
410 &mech->mech_type,
427 &mech->mech_type,
H A Dg_acquire_cred.c184 default_OID.length = mech->mech_type.length;
185 default_OID.elements = mech->mech_type.elements;
391 &mech->mech_type,
401 if (union_name->mech_type &&
402 g_OID_equal(union_name->mech_type,
403 &mech->mech_type))
407 &mech->mech_type, union_name,
485 malloc(mech->mech_type.length)) == NULL)
489 &mech->mech_type);
522 &mech->mech_type,
[all …]
H A Dgssd_pname_to_uid.c144 if (uintName->mech_type) in gsscred_expname_to_unix_cred_ext()
146 uintName->mech_type); in gsscred_expname_to_unix_cred_ext()
496 gss_pname_to_uid(minor, name, mech_type, uidOut) in gss_pname_to_uid() argument
499 const gss_OID mech_type;
520 if (mech_type != NULL)
521 mech = __gss_get_mechanism(mech_type);
527 mech = __gss_get_mechanism(intName->mech_type);
534 if (intName->mech_type == NULL) {
536 mech_type, intName,
548 (void) __gss_release_internal_name(&tmpMinor, &mech->mech_type,
H A Dg_rel_name.c73 if (union_name->mech_type) {
75 union_name->mech_type,
77 (void) gss_release_oid(minor_status, &union_name->mech_type);
H A Dg_imp_name.c105 union_name->mech_type = 0;
165 union_name->mech_type,
167 if (union_name->mech_type)
169 &union_name->mech_type);
263 &unionName->mech_type);
363 major = generic_gss_copy_oid(minor, &mechOid, &unionName->mech_type);
/illumos-gate/usr/src/uts/common/crypto/io/
H A Drsa.c82 rsa_mech_type_t mech_type; member
91 rsa_mech_type_t mech_type; member
945 rsa_mech_type_t mech_type; in rsa_digest_svrfy_common() local
950 mech_type = ctxp->mech_type; in rsa_digest_svrfy_common()
998 switch (mech_type) { in rsa_digest_svrfy_common()
1067 switch (mech_type) { in rsa_sign_common()
1088 switch (mech_type) { in rsa_sign_common()
1137 switch (ctxp->mech_type) { in rsaprov_sign()
1165 rsa_mech_type_t mech_type; in rsa_sign_update() local
1169 mech_type = ctxp->mech_type; in rsa_sign_update()
[all …]
H A Decc.c83 ecc_mech_type_t mech_type; member
501 switch (mech_type) { in ecc_sign_verify_common_init()
518 switch (mech_type) { in ecc_sign_verify_common_init()
529 ctxp->mech_type = mech_type; in ecc_sign_verify_common_init()
533 switch (mech_type) { in ecc_sign_verify_common_init()
605 mech_type = ctxp->mech_type; in ecc_digest_svrfy_common()
741 mech_type = ctxp->mech_type; in ecc_sign_update()
818 ctx.mech_type = mech_type; in ecc_sign_atomic()
826 dctx.mech_type = mech_type; in ecc_sign_atomic()
1015 ctx.mech_type = mech_type; in ecc_verify_atomic()
[all …]
/illumos-gate/usr/src/cmd/gss/gssd/
H A Dgssdtest.c406 if (mech_type == 0 || mech_type->length == 0) {
508 FREE(mech_type->elements, mech_type->length);
585 if (mech_type == 0 || mech_type->length == 0) {
692 mech_type,
701 FREE(mech_type->elements, mech_type->length);
707 mech_type,
726 FREE(mech_type->elements, mech_type->length);
860 if (mech_type == 0 || mech_type->length == 0) {
968 FREE(mech_type->elements, mech_type->length);
1212 FREE(mech_type->elements, mech_type->length);
[all …]
H A Dgssd_clnt_stubs.c561 mech_type, in kgss_init_sec_context_wrapped() argument
577 gss_OID mech_type;
639 arg.mech_type.GSS_OID_len = (uint_t)(mech_type != GSS_C_NULL_OID ?
641 arg.mech_type.GSS_OID_val = (char *)(mech_type != GSS_C_NULL_OID ?
835 mech_type, in kgss_accept_sec_context_wrapped() argument
990 *mech_type =
1662 mech_type, in kgss_display_status() argument
1691 arg.mech_type.GSS_OID_len = (uint_t)(mech_type != GSS_C_NULL_OID ?
1693 arg.mech_type.GSS_OID_val = (char *)(mech_type != GSS_C_NULL_OID ?
1987 mech_type, in kgss_inquire_cred_by_mech_wrapped() argument
[all …]
H A Dgssd_proc.c936 mech_type->length = (OM_uint32)argp->mech_type.GSS_OID_len;
937 mech_type->elements = (void *)argp->mech_type.GSS_OID_val;
1008 mech_type,
1115 gss_OID mech_type; local
1256 &mech_type,
1340 res->mech_type.GSS_OID_len = (uint_t)mech_type->length;
1354 memcpy(res->mech_type.GSS_OID_val, mech_type->elements,
2082 gss_OID mech_type; local
2126 mech_type,
2422 mech_type->length =
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Ddisp_status.c172 mech_type, message_context, status_string) in krb5_gss_display_status() argument
176 gss_OID mech_type;
183 if ((mech_type != GSS_C_NULL_OID) &&
184 !g_OID_equal(gss_mech_krb5, mech_type) &&
185 !g_OID_equal(gss_mech_krb5_old, mech_type)) {
222 mech_type, message_context, status_string) in krb5_gss_display_status2() argument
226 gss_OID mech_type;
231 status_type, mech_type, message_context,
H A Dkrb5_gss_glue.c555 gss_OID *mech_type;
567 mech_type,
701 gss_OID mech_type;
792 gss_OID mech_type;
812 lifetime_rec, mech_type, ret_flags, in k5glue_inquire_context() argument
820 gss_OID *mech_type;
853 gss_OID mech_type;
860 mech_type, name, initiator_lifetime,
1121 const gss_OID mech_type;
1125 mech_type, output_name);
[all …]
/illumos-gate/usr/src/uts/common/gssapi/
H A Dgssd_clnt_stubs.c685 arg.mech_type.GSS_OID_len = (uint_t)(mech_type != GSS_C_NULL_OID ? in kgss_init_sec_context_wrapped()
687 arg.mech_type.GSS_OID_val = (char *)(mech_type != GSS_C_NULL_OID ? in kgss_init_sec_context_wrapped()
929 gss_OID *mech_type, in kgss_accept_sec_context_wrapped() argument
1072 *mech_type = in kgss_accept_sec_context_wrapped()
1143 mech_type = &mt; in kgss_accept_sec_context()
2010 mech_type, in kgss_display_status() argument
2042 arg.mech_type.GSS_OID_len = (uint_t)(mech_type != GSS_C_NULL_OID ?
2044 arg.mech_type.GSS_OID_val = (char *)(mech_type != GSS_C_NULL_OID ?
2354 mech_type, in kgss_inquire_cred_by_mech_wrapped() argument
2359 gss_OID mech_type;
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/dh_common/
H A Ddh_common.c92 gss_OID_desc mech_type, /* OID of mechanism */ in __dh_generic_initialize() argument
121 mech->mech_type = mech_type; in __dh_generic_initialize()
130 context->mech = &mech->mech_type; in __dh_generic_initialize()

1234