Lines Matching refs:salt
36 char *salt; in make_salt() local
51 salt = crypt_gensalt_ra(e, 0, NULL, 0); in make_salt()
52 if (!salt) in make_salt()
55 *ret = salt; in make_salt()
67 char *salt, *j; in make_salt()
83 salt = new(char, 3+sizeof(raw)+1+1); in make_salt()
84 if (!salt) in make_salt()
88 j = stpcpy(salt, "$6$"); in make_salt()
94 *ret = salt; in make_salt()
141 _cleanup_free_ char *salt = NULL; in hash_password_full() local
148 r = make_salt(&salt); in hash_password_full()
153 p = crypt_ra(password, salt, cd_data ?: &_cd_data, cd_size ?: &_cd_size); in hash_password_full()