Home
last modified time | relevance | path

Searched refs:GSS_KRB5_MECHANISM (Results 1 – 25 of 33) sorted by relevance

12

/freebsd-12-stable/crypto/heimdal/lib/gssapi/krb5/
Dexport_name.c57 exported_name->length = 10 + len + GSS_KRB5_MECHANISM->length; in _gsskrb5_export_name()
70 buf[0] = ((GSS_KRB5_MECHANISM->length + 2) >> 8) & 0xff; in _gsskrb5_export_name()
71 buf[1] = (GSS_KRB5_MECHANISM->length + 2) & 0xff; in _gsskrb5_export_name()
74 buf[1] = (GSS_KRB5_MECHANISM->length) & 0xFF; in _gsskrb5_export_name()
77 memcpy(buf, GSS_KRB5_MECHANISM->elements, GSS_KRB5_MECHANISM->length); in _gsskrb5_export_name()
78 buf += GSS_KRB5_MECHANISM->length; in _gsskrb5_export_name()
Dimport_name.c181 if (input_name_buffer->length < 10 + GSS_KRB5_MECHANISM->length) in import_export_name()
189 p[3] != GSS_KRB5_MECHANISM->length + 2 || in import_export_name()
191 p[5] != GSS_KRB5_MECHANISM->length || in import_export_name()
192 memcmp(&p[6], GSS_KRB5_MECHANISM->elements, in import_export_name()
193 GSS_KRB5_MECHANISM->length) != 0) in import_export_name()
196 p += 6 + GSS_KRB5_MECHANISM->length; in import_export_name()
201 if (length > input_name_buffer->length - 10 - GSS_KRB5_MECHANISM->length) in import_export_name()
Darcfour.c178 _gsskrb5_encap_length (22, &len, &total_len, GSS_KRB5_MECHANISM); in _gssapi_get_mic_arcfour()
189 GSS_KRB5_MECHANISM); in _gssapi_get_mic_arcfour()
280 GSS_KRB5_MECHANISM); in _gssapi_verify_mic_arcfour()
378 _gssapi_encap_length(len, &len, &total_len, GSS_KRB5_MECHANISM); in _gssapi_wrap_arcfour()
383 _gssapi_encap_length(len, &len, &total_len, GSS_KRB5_MECHANISM); in _gssapi_wrap_arcfour()
395 GSS_KRB5_MECHANISM); in _gssapi_wrap_arcfour()
559 GSS_KRB5_MECHANISM); in _gssapi_unwrap_arcfour()
733 _gssapi_encap_length(len, &len, &total_len, GSS_KRB5_MECHANISM); in max_wrap_length_arcfour()
747 _gsskrb5_encap_length(len, &len, &total_len, GSS_KRB5_MECHANISM); in max_wrap_length_arcfour()
Dwrap.c125 _gsskrb5_encap_length(len, &len, &total_len, GSS_KRB5_MECHANISM); in sub_wrap_size()
225 _gsskrb5_encap_length (len, &len, &total_len, GSS_KRB5_MECHANISM); in wrap_des()
232 _gsskrb5_encap_length (len, &len, &total_len, GSS_KRB5_MECHANISM); in wrap_des()
246 GSS_KRB5_MECHANISM); in wrap_des()
371 _gsskrb5_encap_length (len, &len, &total_len, GSS_KRB5_MECHANISM); in wrap_des3()
378 _gsskrb5_encap_length (len, &len, &total_len, GSS_KRB5_MECHANISM); in wrap_des3()
392 GSS_KRB5_MECHANISM); in wrap_des3()
Dget_mic.c59 _gsskrb5_encap_length (22, &len, &total_len, GSS_KRB5_MECHANISM); in mic_des()
72 GSS_KRB5_MECHANISM); in mic_des()
166 _gsskrb5_encap_length (36, &len, &total_len, GSS_KRB5_MECHANISM); in mic_des3()
179 GSS_KRB5_MECHANISM); in mic_des3()
Dinit_sec_context.c405 *actual_mech_type = GSS_KRB5_MECHANISM; in init_auth()
679 GSS_KRB5_MECHANISM); in init_auth_restart()
765 *actual_mech_type = GSS_KRB5_MECHANISM; in repl_mutual()
780 GSS_KRB5_MECHANISM); in repl_mutual()
793 GSS_KRB5_MECHANISM); in repl_mutual()
800 GSS_KRB5_MECHANISM); in repl_mutual()
910 !gss_oid_equal(mech_type, GSS_KRB5_MECHANISM)) in _gsskrb5_init_sec_context()
Daccept_sec_context.c336 GSS_KRB5_MECHANISM); in send_error_token()
375 GSS_KRB5_MECHANISM); in gsskrb5_acceptor_start()
623 GSS_KRB5_MECHANISM); in gsskrb5_acceptor_start()
638 *mech_type = GSS_KRB5_MECHANISM; in gsskrb5_acceptor_start()
864 *mech_type = GSS_KRB5_MECHANISM; in _gsskrb5_accept_sec_context()
Dcreds.c125 mech.data = GSS_KRB5_MECHANISM->elements; in _gsskrb5_export_cred()
126 mech.length = GSS_KRB5_MECHANISM->length; in _gsskrb5_export_cred()
Dadd_cred.c60 if (gss_oid_equal(desired_mech, GSS_KRB5_MECHANISM) == 0) { in _gsskrb5_add_cred()
198 ret = gss_add_oid_set_member(minor_status, GSS_KRB5_MECHANISM, in _gsskrb5_add_cred()
Dinquire_mechs_for_name.c49 GSS_KRB5_MECHANISM, in _gsskrb5_inquire_mechs_for_name()
Dindicate_mechs.c47 ret = gss_add_oid_set_member(minor_status, GSS_KRB5_MECHANISM, mech_set); in _gsskrb5_indicate_mechs()
Dacquire_cred.c335 ret = gss_test_oid_set_member(minor_status, GSS_KRB5_MECHANISM, in _gsskrb5_acquire_cred()
350 GSS_KRB5_MECHANISM, in _gsskrb5_acquire_cred()
436 ret = gss_add_oid_set_member(minor_status, GSS_KRB5_MECHANISM, in _gsskrb5_acquire_cred_ext()
Dinquire_names_for_mech.c55 if (gss_oid_equal(mechanism, GSS_KRB5_MECHANISM) == 0 && in _gsskrb5_inquire_names_for_mech()
Dinquire_context.c86 *mech_type = GSS_KRB5_MECHANISM; in _gsskrb5_inquire_context()
Dverify_mic.c65 GSS_KRB5_MECHANISM); in verify_mic_des()
170 GSS_KRB5_MECHANISM); in verify_mic_des3()
Dstore_cred.c59 if (gss_oid_equal(desired_mech, GSS_KRB5_MECHANISM) == 0) in _gsskrb5_store_cred()
Ddisplay_status.c160 gss_oid_equal(mech_type, GSS_KRB5_MECHANISM) == 0) { in _gsskrb5_display_status()
/freebsd-12-stable/crypto/heimdal/lib/gssapi/spnego/
Dcompat.c270 ret = (*func)(target_name, GSS_KRB5_MECHANISM); in _gss_spnego_indicate_mechtypelist()
272 ret = add_mech_type(GSS_KRB5_MECHANISM, in _gss_spnego_indicate_mechtypelist()
276 first_mech = GSS_KRB5_MECHANISM; in _gss_spnego_indicate_mechtypelist()
284 if (gss_oid_equal(&supported_mechs->elements[i], GSS_KRB5_MECHANISM)) in _gss_spnego_indicate_mechtypelist()
/freebsd-12-stable/crypto/heimdal/lib/gssapi/
Dtest_acquire_cred.c74 GSS_KRB5_MECHANISM,
265 mechoid = GSS_KRB5_MECHANISM; in main()
272 maj_stat = gss_add_oid_set_member(&min_stat, GSS_KRB5_MECHANISM, &oidset); in main()
Dtest_cred.c130 GSS_KRB5_MECHANISM, in acquire_add_release_add()
149 GSS_KRB5_MECHANISM, in acquire_add_release_add()
Dtest_oid.c52 maj_stat = gss_oid_to_str(&minor_status, GSS_KRB5_MECHANISM, &data); in main()
/freebsd-12-stable/crypto/heimdal/lib/gssapi/gssapi/
Dgssapi_krb5.h64 #define GSS_KRB5_MECHANISM (&__gss_krb5_mechanism_oid_desc) macro
68 #define gss_mech_krb5 GSS_KRB5_MECHANISM
/freebsd-12-stable/crypto/heimdal/appl/test/
Dgssapi_server.c221 if (mech_oid->length == GSS_KRB5_MECHANISM->length in proto()
222 && memcmp(p, GSS_KRB5_MECHANISM->elements, mech_oid->length) == 0) in proto()
Dgss_common.c126 return GSS_KRB5_MECHANISM; in select_mech()
/freebsd-12-stable/crypto/heimdal/lib/gssapi/mech/
Dgss_init_sec_context.c149 mech_type = GSS_KRB5_MECHANISM; in gss_init_sec_context()

12