Home
last modified time | relevance | path

Searched refs:krb5_enctypes_list (Results 1 – 23 of 23) sorted by relevance

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dpkcs11slot.c128 tempenctype = krb5_enctypes_list[i].etype; in slot_supports_krb5()
136 krb5_enctypes_list[i].etype = -1; in slot_supports_krb5()
137 krb5_enctypes_list[i].in_string = "<unsupported>"; in slot_supports_krb5()
138 krb5_enctypes_list[i].out_string = "<unsupported>"; in slot_supports_krb5()
147 krb5_enctypes_list[i].in_string, in slot_supports_krb5()
156 keysize = krb5_enctypes_list[i].enc->keybytes; in slot_supports_krb5()
157 keylength = krb5_enctypes_list[i].enc->keylength; in slot_supports_krb5()
160 krb5_enctypes_list[i].etype = -1; in slot_supports_krb5()
161 krb5_enctypes_list[i].in_string = in slot_supports_krb5()
163 krb5_enctypes_list[i].out_string = in slot_supports_krb5()
[all …]
H A Denctype_compare.c38 if (krb5_enctypes_list[i].etype == e1) in krb5_c_enctype_compare()
45 if (krb5_enctypes_list[j].etype == e2) in krb5_c_enctype_compare()
52 ((krb5_enctypes_list[i].enc == krb5_enctypes_list[j].enc) && in krb5_c_enctype_compare()
53 (krb5_enctypes_list[i].str2key == krb5_enctypes_list[j].str2key)); in krb5_c_enctype_compare()
H A Denctype_to_string.c40 if (krb5_enctypes_list[i].etype == enctype) { in krb5_enctype_to_string()
41 if ((strlen(krb5_enctypes_list[i].out_string)+1) > buflen) in krb5_enctype_to_string()
44 strcpy(buffer, krb5_enctypes_list[i].out_string); in krb5_enctype_to_string()
59 if (krb5_enctypes_list[i].etype == enctype) { in krb5_enctype_to_istring()
60 if ((strlen(krb5_enctypes_list[i].in_string)+1) > buflen) in krb5_enctype_to_istring()
63 strlcpy(buffer, krb5_enctypes_list[i].in_string, buflen); in krb5_enctype_to_istring()
H A Dstate.c50 if (krb5_enctypes_list[i].etype == key->enctype) in krb5_c_init_state()
58 return (*(krb5_enctypes_list[i].enc->init_state)) in krb5_c_init_state()
69 if (krb5_enctypes_list[i].etype == key->enctype) in krb5_c_free_state()
77 return (*(krb5_enctypes_list[i].enc->free_state)) in krb5_c_free_state()
H A Dkeyed_checksum_types.c36 if (krb5_enctypes_list[i1].etype == e1) in etype_match()
40 if (krb5_enctypes_list[i2].etype == e2) in etype_match()
45 (krb5_enctypes_list[i1].enc == krb5_enctypes_list[i2].enc)); in etype_match()
H A Dkeylengths.c49 if (krb5_enctypes_list[i].etype == enctype) in krb5_c_keylengths()
57 *keybytes = krb5_enctypes_list[i].enc->keybytes; in krb5_c_keylengths()
59 *keylength = krb5_enctypes_list[i].enc->keylength; in krb5_c_keylengths()
H A Dstring_to_key.c65 if (krb5_enctypes_list[i].etype == enctype) in krb5_c_string_to_key_with_params()
72 enc = krb5_enctypes_list[i].enc; in krb5_c_string_to_key_with_params()
101 ret = (*krb5_enctypes_list[i].str2key)(context, enc, string, salt, in krb5_c_string_to_key_with_params()
H A Dstring_to_enctype.c36 if (strcasecmp(krb5_enctypes_list[i].in_string, string) == 0) { in krb5_string_to_enctype()
37 *enctypep = krb5_enctypes_list[i].etype; in krb5_string_to_enctype()
H A Drandom_to_key.c55 if (krb5_enctypes_list[i].etype == enctype) in krb5_c_random_to_key()
62 enc = krb5_enctypes_list[i].enc; in krb5_c_random_to_key()
H A Dmake_random_key.c48 if (krb5_enctypes_list[i].etype == enctype) in krb5_c_make_random_key()
61 enc = krb5_enctypes_list[i].enc; in krb5_c_make_random_key()
H A Dvalid_enctype.c42 if (krb5_enctypes_list[i].etype == etype) in krb5_c_valid_enctype()
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Ddecrypt.c45 if (krb5_enctypes_list[i].etype == key->enctype) in krb5_c_decrypt()
53 (krb5_enctypes_list[i].etype != input->enctype)) in krb5_c_decrypt()
58 context->kef_cipher_mt = krb5_enctypes_list[i].kef_cipher_mt; in krb5_c_decrypt()
59 context->kef_hash_mt = krb5_enctypes_list[i].kef_hash_mt; in krb5_c_decrypt()
72 return((*(krb5_enctypes_list[i].decrypt)) in krb5_c_decrypt()
73 (context, krb5_enctypes_list[i].enc, krb5_enctypes_list[i].hash, in krb5_c_decrypt()
H A Dencrypt_length.c38 if (krb5_enctypes_list[i].etype == enctype) in krb5_c_encrypt_length()
45 (*(krb5_enctypes_list[i].encrypt_len)) in krb5_c_encrypt_length()
46 (krb5_enctypes_list[i].enc, krb5_enctypes_list[i].hash, in krb5_c_encrypt_length()
H A Detypes.c58 struct krb5_keytypes krb5_enctypes_list[] = { variable
361 sizeof(krb5_enctypes_list)/sizeof(struct krb5_keytypes);
376 kt = (struct krb5_keytypes *)&krb5_enctypes_list[i]; in setup_kef_keytypes()
379 krb5_enctypes_list[i].kef_cipher_mt = in setup_kef_keytypes()
385 krb5_enctypes_list[i].kef_hash_mt = in setup_kef_keytypes()
390 (ulong_t) krb5_enctypes_list[i].kef_cipher_mt); in setup_kef_keytypes()
405 kt = (struct krb5_keytypes *)&krb5_enctypes_list[i]; in get_cipher_mech_type()
428 kt = (struct krb5_keytypes *)&krb5_enctypes_list[i]; in get_hash_mech_type()
H A Dencrypt.c184 if (krb5_enctypes_list[i].etype == key->enctype) in krb5_c_encrypt()
196 context->kef_cipher_mt = krb5_enctypes_list[i].kef_cipher_mt; in krb5_c_encrypt()
197 context->kef_hash_mt = krb5_enctypes_list[i].kef_hash_mt; in krb5_c_encrypt()
210 return((*(krb5_enctypes_list[i].encrypt)) in krb5_c_encrypt()
211 (context, krb5_enctypes_list[i].enc, krb5_enctypes_list[i].hash, in krb5_c_encrypt()
H A Dmake_checksum.c78 if (krb5_enctypes_list[e1].etype == in krb5_c_make_checksum()
83 if (krb5_enctypes_list[e2].etype == key->enctype) in krb5_c_make_checksum()
96 context->kef_cipher_mt = krb5_enctypes_list[e1].kef_cipher_mt; in krb5_c_make_checksum()
97 context->kef_hash_mt = krb5_enctypes_list[e1].kef_hash_mt; in krb5_c_make_checksum()
H A Dmandatory_sumtype.c41 if (krb5_enctypes_list[i].etype == etype) { in krb5int_c_mandatory_cksumtype()
42 *cksumtype = krb5_enctypes_list[i].required_ctype; in krb5int_c_mandatory_cksumtype()
H A Dblock_size.c38 if (krb5_enctypes_list[i].etype == enctype) in krb5_c_block_size()
45 *blocksize = krb5_enctypes_list[i].enc->block_size; in krb5_c_block_size()
H A Dcombine_keys.c102 if (krb5_enctypes_list[i].etype == key1->enctype) in krb5int_c_combine_keys()
109 enc = krb5_enctypes_list[i].enc; in krb5int_c_combine_keys()
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/keyhash_provider/
H A Dk_hmac_md5.c66 if (krb5_enctypes_list[i].etype == key->enctype) in k5_hmac_md5_hash()
91 ret = init_key_kef(krb5_enctypes_list[i].kef_cipher_mt, in k5_hmac_md5_hash()
97 ret = init_key_kef(krb5_enctypes_list[i].kef_cipher_mt, &ks); in k5_hmac_md5_hash()
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/dk/
H A Dchecksum.c129 if (krb5_enctypes_list[i].etype == key->enctype)
138 enc = (struct krb5_enc_provider *)krb5_enctypes_list[i].enc;
142 (ret = init_key_kef(krb5_enctypes_list[i].kef_cipher_mt,
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Detypes.h29 extern struct krb5_keytypes krb5_enctypes_list[];
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/
H A Dmapfile-vers481 krb5_enctypes_list {