/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/ |
H A D | pkcs11slot.c | 128 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 D | enctype_compare.c | 38 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 D | enctype_to_string.c | 40 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 D | state.c | 50 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 D | keyed_checksum_types.c | 36 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 D | keylengths.c | 49 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 D | string_to_key.c | 65 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 D | string_to_enctype.c | 36 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 D | random_to_key.c | 55 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 D | make_random_key.c | 48 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 D | valid_enctype.c | 42 if (krb5_enctypes_list[i].etype == etype) in krb5_c_valid_enctype()
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/ |
H A D | decrypt.c | 45 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 D | encrypt_length.c | 38 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 D | etypes.c | 58 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 D | encrypt.c | 184 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 D | make_checksum.c | 78 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 D | mandatory_sumtype.c | 41 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 D | block_size.c | 38 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 D | combine_keys.c | 102 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 D | k_hmac_md5.c | 66 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 D | checksum.c | 129 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 D | etypes.h | 29 extern struct krb5_keytypes krb5_enctypes_list[];
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/ |
H A D | mapfile-vers | 481 krb5_enctypes_list {
|