crypt_r
char *crypt_r(const char *, const char *, struct crypt_data *);
return (crypt_r(passwd, salt, &data));