Lines Matching defs:salt
27 /* Added more values to handle illegal salt values the way normal
61 char *DES_crypt(const char *buf, const char *salt)
66 return(DES_fcrypt(buf,salt,buff));
72 /* Copy at most 2 chars of salt */
73 if ((e_salt[0] = salt[0]) != '\0')
74 e_salt[1] = salt[1];
99 char *DES_fcrypt(const char *buf, const char *salt, char *ret)
119 x=ret[0]=((salt[0] == '\0')?'A':salt[0]);
121 x=ret[1]=((salt[1] == '\0')?'A':salt[1]);
124 x=ret[0]=((salt[0] == '\0')?os_toascii['A']:salt[0]);
126 x=ret[1]=((salt[1] == '\0')?os_toascii['A']:salt[1]);