Lines Matching refs:salt
27 /* Added more values to handle illegal salt values the way normal
64 char *DES_crypt(const char *buf, const char *salt)
69 return(DES_fcrypt(buf,salt,buff));
75 /* Copy at most 2 chars of salt */
76 if ((e_salt[0] = salt[0]) != '\0')
77 e_salt[1] = salt[1];
102 char *DES_fcrypt(const char *buf, const char *salt, char *ret)
122 x=ret[0]=((salt[0] == '\0')?'A':salt[0]);
124 x=ret[1]=((salt[1] == '\0')?'A':salt[1]);
127 x=ret[0]=((salt[0] == '\0')?os_toascii['A']:salt[0]);
129 x=ret[1]=((salt[1] == '\0')?os_toascii['A']:salt[1]);