Lines Matching refs:salt
57 krb5_data password, salt;
67 if ((code = krb5_principal2salt(ctx, svc_princ, &salt)) != 0) {
71 if ((krb5_c_string_to_key(ctx, enctype, &password, &salt, &key)) != 0)
82 free(salt.data);
99 * constructing the salt in the string-to-key function.
112 * derive the key salt. If NULL is specified, this function will use the hostname
130 * Note: In Active Directory environments the salt is constructed by truncating
131 * the host name to 15 characters and only use the host svc princ as the salt,
136 * derive the salt by sending an initial authentication exchange.
147 krb5_principal princ = NULL, salt = NULL, f_princ = NULL;
188 * and only use the host svc princ as the salt, e.g.
200 if ((code = krb5_parse_name(ctx, t_host, &salt)) != 0)
231 code = k5_kt_add_entry(ctx, kt, princ, salt, *tenctype,
248 if (salt != NULL)
249 krb5_free_principal(ctx, salt);