Lines Matching defs:mech
44 get_option_def(int def, gss_const_OID mech, gss_mo_desc *mo, gss_buffer_t value)
50 _gss_mo_get_option_1(gss_const_OID mech, gss_mo_desc *mo, gss_buffer_t value)
52 return get_option_def(1, mech, mo, value);
56 _gss_mo_get_option_0(gss_const_OID mech, gss_mo_desc *mo, gss_buffer_t value)
58 return get_option_def(0, mech, mo, value);
62 _gss_mo_get_ctx_as_string(gss_const_OID mech, gss_mo_desc *mo, gss_buffer_t value)
74 gss_mo_set(gss_const_OID mech, gss_const_OID option,
80 if ((m = __gss_get_mechanism(mech)) == NULL)
85 return m->gm_mo[n].set(mech, &m->gm_mo[n], enable, value);
91 gss_mo_get(gss_const_OID mech, gss_const_OID option, gss_buffer_t value)
98 if ((m = __gss_get_mechanism(mech)) == NULL)
103 return m->gm_mo[n].get(mech, &m->gm_mo[n], value);
120 gss_mo_list(gss_const_OID mech, gss_OID_set *options)
130 if ((m = __gss_get_mechanism(mech)) == NULL)
141 gss_mo_name(gss_const_OID mech, gss_const_OID option, gss_buffer_t name)
149 if ((m = __gss_get_mechanism(mech)) == NULL)
179 mo_value(const gss_const_OID mech, gss_const_OID option, gss_buffer_t name)
184 return gss_mo_get(mech, option, name);
191 make_sasl_name(OM_uint32 *minor, const gss_OID mech, char sasl_name[16])
197 if (mech->length > 127)
201 hdr[1] = mech->length;
206 EVP_DigestUpdate(ctx, mech->elements, mech->length);
267 * @param desired_mech mech list query
270 * @param mech_description description of gssapi mech
335 * Find a mech for a sasl name
502 * List support attributes for a mech and/or all mechanisms.
505 * @param mech given together with mech_attr will return the list of
507 * @param mech_attr see mech parameter, can optionally be NULL,
517 gss_const_OID mech,
526 if (mech_attr && mech) {
530 if ((m = __gss_get_mechanism(mech)) == NULL) {
539 mech,
574 * Return names and descriptions of mech attributes