Lines Matching refs:mech

216 	 * <mech OID bytes>
308 gss_mechanism mech;
310 mech = gssint_get_mechanism(mech_type);
311 if (mech) {
312 if (mech->gss_import_name) {
313 status = mech->gss_import_name(
319 map_error(minor_status, mech);
338 gss_mechanism mech;
348 mech = gssint_get_mechanism(mech_type);
349 if (!mech)
352 if (mech->gss_export_name) {
353 status = mech->gss_export_name(
358 map_error(minor_status, mech);
367 if (!mech->gss_display_name)
374 * and, for some (e.g., RFC1964, the Kerberos V mech), a
378 * (0x0401) + 2-octet network-byte order mech OID length + mech
387 * the mech and into libgss pays off.
389 if ((status = mech->gss_display_name(
395 map_error(minor_status, mech);
418 /* spec allows only 2 bytes for the mech oid length */
424 * DER Encoding of mech OID contains OID Tag (0x06), length and
425 * mech OID value
461 gss_mechanism mech;
463 mech = gssint_get_mechanism(mech_type);
464 if (mech) {
465 if (mech->gss_display_name) {
466 status = mech->gss_display_name(
472 map_error(minor_status, mech);
489 gss_mechanism mech;
491 mech = gssint_get_mechanism(mech_type);
492 if (mech) {
493 if (mech->gss_release_name) {
494 status = mech->gss_release_name(
498 map_error(minor_status, mech);
518 gss_mechanism mech;
520 mech = gssint_get_mechanism(mech_type);
521 if (mech) {
522 if (mech->gss_delete_sec_context)
523 status = mech->gss_delete_sec_context(
542 OM_uint32 gssint_convert_name_to_union_name(minor_status, mech,
545 gss_mechanism mech;
564 major_status = generic_gss_copy_oid(minor_status, &mech->mech_type,
582 major_status = mech->gss_display_name(
588 map_error(minor_status, mech);
614 (void) gssint_release_internal_name(&tmp, &mech->mech_type,