Lines Matching refs:salt
31 * Added more values to handle illegal salt values the way normal crypt()
64 char *DES_crypt(const char *buf, const char *salt)
69 return DES_fcrypt(buf, salt, buff);
75 if (salt[0] == '\0' || salt[1] == '\0')
78 /* Copy salt, convert to ASCII. */
79 e_salt[0] = salt[0];
80 e_salt[1] = salt[1];
97 char *DES_fcrypt(const char *buf, const char *salt, char *ret)
108 x = ret[0] = salt[0];
112 x = ret[1] = salt[1];