Home
last modified time | relevance | path

Searched refs:krb5_enctype (Results 1 – 25 of 89) sorted by relevance

1234

/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dinit_ctx.c444 sizeof(krb5_enctype)); in init_common()
449 sizeof(krb5_enctype) * ctx->tgs_ktype_count); in init_common()
544 FREE(ctx->conf_tgs_ktypes, sizeof(krb5_enctype) *(ctx->conf_tgs_ktypes_count)); in krb5_free_context()
555 FREE(ctx->in_tkt_ktypes, sizeof(krb5_enctype) *(ctx->in_tkt_ktype_count+1) ); in krb5_free_context()
560 FREE(ctx->tgs_ktypes, sizeof(krb5_enctype) *(ctx->tgs_ktype_count+1)); in krb5_free_context()
585 krb5_set_default_in_tkt_ktypes(krb5_context context, const krb5_enctype *ktypes) in krb5_set_default_in_tkt_ktypes()
587 krb5_enctype * new_ktypes; in krb5_set_default_in_tkt_ktypes()
597 if ((new_ktypes = (krb5_enctype *)malloc(sizeof(krb5_enctype) * i))) in krb5_set_default_in_tkt_ktypes()
598 (void) memcpy(new_ktypes, ktypes, sizeof(krb5_enctype) * i); in krb5_set_default_in_tkt_ktypes()
615 get_profile_etype_list(krb5_context context, krb5_enctype **ktypes, char *profstr, in get_profile_etype_list()
[all …]
H A Dser_ctx.c388 context->in_tkt_ktypes = (krb5_enctype *) MALLOC(sizeof(krb5_enctype) * in krb5_context_internalize()
394 (void) memset(context->in_tkt_ktypes, 0, (sizeof(krb5_enctype) * in krb5_context_internalize()
400 context->in_tkt_ktypes[i] = (krb5_enctype) ibuf; in krb5_context_internalize()
408 context->tgs_ktypes = (krb5_enctype *) MALLOC(sizeof(krb5_enctype) * in krb5_context_internalize()
414 (void) memset(context->tgs_ktypes, 0, (sizeof(krb5_enctype) * in krb5_context_internalize()
419 context->tgs_ktypes[i] = (krb5_enctype) ibuf; in krb5_context_internalize()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dset_allowable_enctypes.c67 krb5_enctype *ktypes) in gss_krb5int_set_allowable_enctypes()
70 krb5_enctype * new_ktypes; in gss_krb5int_set_allowable_enctypes()
111 if ((new_ktypes = (krb5_enctype *)malloc(sizeof(krb5_enctype) * (i + 1)))) { in gss_krb5int_set_allowable_enctypes()
112 memcpy(new_ktypes, ktypes, sizeof(krb5_enctype) * i); in gss_krb5int_set_allowable_enctypes()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dvalid_enctype.c37 krb5_c_valid_enctype(krb5_enctype etype) in krb5_c_valid_enctype()
50 valid_enctype(krb5_enctype etype) in valid_enctype()
62 krb5_const krb5_enctype *keytype; in is_in_keytype()
64 krb5_enctype enctype;
H A Dkeyed_checksum_types.c31 static int etype_match(krb5_enctype e1, krb5_enctype e2) in etype_match()
50 krb5_c_keyed_checksum_types(krb5_context context, krb5_enctype enctype, in krb5_c_keyed_checksum_types()
H A Dstring_to_key.c37 krb5_enctype enctype,
45 krb5_c_string_to_key(krb5_context context, krb5_enctype enctype, in krb5_c_string_to_key()
54 krb5_c_string_to_key_with_params(krb5_context context, krb5_enctype enctype, in krb5_c_string_to_key_with_params()
H A Denctype_compare.c32 krb5_c_enctype_compare(krb5_context context, krb5_enctype e1, krb5_enctype e2, in krb5_c_enctype_compare()
H A Denctype_to_string.c36 krb5_enctype_to_string(krb5_enctype enctype, char *buffer, size_t buflen) in krb5_enctype_to_string()
55 krb5_enctype_to_istring(krb5_enctype enctype, char *buffer, size_t buflen) in krb5_enctype_to_istring()
H A Dpkcs11slot.c19 get_algo(krb5_enctype etype, KRB5_MECH_TO_PKCS *algos) in get_algo()
82 get_key_type(krb5_enctype etype, CK_KEY_TYPE *keyType) in get_key_type()
127 krb5_enctype tempenctype; in slot_supports_krb5()
H A Dstring_to_enctype.c31 krb5_string_to_enctype(char *string, krb5_enctype *enctypep) in krb5_string_to_enctype()
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dkrb5.h254 typedef krb5_int32 krb5_enctype; typedef
418 krb5_enctype enctype;
441 krb5_enctype crypto_entry; /* to call krb5_encrypt_size, you need
449 krb5_enctype enctype;
535 (krb5_context context, krb5_enctype enctype,
540 (krb5_context context, krb5_enctype enctype,
545 (krb5_context context, krb5_enctype enctype,
559 (krb5_context context, krb5_enctype enctype,
564 (krb5_context context, krb5_enctype enctype,
600 (krb5_context context, krb5_enctype enctype,
[all …]
H A Dk5-int.h406 krb5_enctype etype;
425 krb5_enctype *etypes;
532 krb5_enctype sam_etype;
862 krb5_enctype etype;
891 krb5_enctype keyed_etype;
925 krb5_enctype,
955 krb5_enctype,
1138 krb5_enctype *enctypes;
1222 const krb5_enctype,
1237 const krb5_enctype,
[all …]
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dauth_con.c347 …setpermetypes(krb5_context context, krb5_auth_context auth_context, const krb5_enctype *permetypes) in krb5_auth_con_setpermetypes()
349 krb5_enctype * newpe; in krb5_auth_con_setpermetypes()
356 if ((newpe = (krb5_enctype *) malloc(i*sizeof(krb5_enctype))) in krb5_auth_con_setpermetypes()
366 (void) memcpy(newpe, permetypes, i*sizeof(krb5_enctype)); in krb5_auth_con_setpermetypes()
373 krb5_auth_con_getpermetypes(krb5_context context, krb5_auth_context auth_context, krb5_enctype **pe… in krb5_auth_con_getpermetypes()
375 krb5_enctype * newpe; in krb5_auth_con_getpermetypes()
387 if ((newpe = (krb5_enctype *) malloc(i*sizeof(krb5_enctype))) in krb5_auth_con_getpermetypes()
393 memcpy(newpe, auth_context->permitted_etypes, i*sizeof(krb5_enctype)); in krb5_auth_con_getpermetypes()
H A Dget_set_keyblock.c32 krb5_enctype
51 krb5_set_key_enctype(krb5_keyblock *kb, krb5_enctype enctype) in krb5_set_key_enctype()
H A Dpreauth.c42 const krb5_enctype,
57 const krb5_enctype,
77 const krb5_enctype,
124 const krb5_enctype,
143 krb5_enctype enctype; in krb5_obtain_padata()
371 krb5_enctype enctype; in sam_get_pass_from_user()
H A Dpreauth2.c59 krb5_enctype *etype,
343 grow_ktypes(krb5_enctype **out_ktypes, int *out_nktypes, krb5_enctype ktype) in grow_ktypes()
346 krb5_enctype *ktypes; in grow_ktypes()
436 krb5_enctype *eptr; in client_data_proc()
442 data = malloc(sizeof(krb5_enctype)); in client_data_proc()
448 ret->length = sizeof(krb5_enctype); in client_data_proc()
449 eptr = (krb5_enctype *)data; in client_data_proc()
594 krb5_enctype *etype, in pa_salt()
622 krb5_enctype *etype, in pa_enc_timestamp()
766 krb5_enctype *etype, in pa_sam()
[all …]
H A Dsend_tgs.c134 const krb5_ticket_times *timestruct, const krb5_enctype *ktypes, in krb5_send_tgs()
156 const krb5_ticket_times *timestruct, const krb5_enctype *ktypes, in krb5_send_tgs2()
222 tgsreq.ktype = (krb5_enctype *)ktypes; in krb5_send_tgs2()
/titanic_41/usr/src/cmd/krb5/krb5kdc/
H A Dkdc_util.h94 krb5_enctype enctype);
99 krb5_enctype enctype);
101 krb5_enctype
105 krb5_enctype *ktypes);
114 ktypes2str(char *s, size_t len, int nktypes, krb5_enctype *ktype);
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dcc_retr.c132 pref (krb5_enctype my_ktype, int nktypes, krb5_enctype *ktypes) in pref()
205 krb5_creds *creds, int nktypes, krb5_enctype *ktypes) in krb5_cc_retrieve_cred_seq()
284 krb5_enctype *ktypes; in krb5_cc_retrieve_cred_default()
303 0, (krb5_enctype *)NULL); in krb5_cc_retrieve_cred_default()
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dwrap_size_limit.c82 size_t KRB5_CALLCONV krb5_encrypt_size(size_t, krb5_enctype);
87 krb5_encrypt_size(size_t length, krb5_enctype crypto) in krb5_encrypt_size()
/titanic_41/usr/src/cmd/krb5/kadmin/cli/
H A Dkeytab.c60 static char *etype_string(krb5_enctype enctype);
61 static char *etype_istring(krb5_enctype enctype);
287 krb5_enctype *ptr, *ktypes = NULL; in add_principal()
568 krb5_enctype enctype; in etype_string()
580 static char *etype_istring(krb5_enctype enctype) { in etype_istring()
/titanic_41/usr/src/lib/krb5/kdb/
H A Dkeytab.c38 krb5_kvno, krb5_enctype, krb5_keytab_entry *);
123 krb5_enctype enctype;
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Dmandatory_sumtype.c35 krb5int_c_mandatory_cksumtype (krb5_context ctx, krb5_enctype etype, in krb5int_c_mandatory_cksumtype()
H A Dblock_size.c32 krb5_c_block_size(krb5_context context, krb5_enctype enctype, in krb5_c_block_size()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/include/
H A Dpreauth_plugin.h114 krb5_enctype,
254 krb5_enctype *enctype_list;

1234