Lines Matching defs:crypt

27 #pragma	weak _crypt = crypt
50 #include <crypt.h>
59 #define CRYPT_CONFFILE "/etc/security/crypt.conf"
81 * Since it also has to fit in crypt.conf it is CRYPT_CONFLINELENGTH
84 * CRYPT_MAXCIPHERTEXTLEN is defined in crypt.h and is smaller than
126 * crypt - string encoding function
131 * If the first character of salt is "$" then we use crypt.conf(4) to
144 crypt(const char *plaintext, const char *salt)
169 * crypt.conf(4) to find out what shared object to use.
170 * If we can't find it in crypt.conf then getalgbyname would
205 * This function generates the salt string pased to crypt(3c).
273 * the implementation of crypt(3c) and crypt_gensalt(3c)
327 "crypt(3c): %s contains both %s and %s; only one may be "
333 "crypt(3c): %s contains multiple %s entries;"
475 * getalgbyname - read crypt.conf(4) looking for algname
480 * If crypt.conf(4) is okay but algname doesn't exist in it then
504 syslog(LOG_ALERT, "crypt: open(%s) failed: %s",
513 syslog(LOG_ALERT, "crypt: stat(%s) failed: %s",
523 "crypt: Owner of %s is not root", CRYPT_CONFFILE);
532 "crypt: %s writable by group", CRYPT_CONFFILE);
537 "crypt: %s writable by world", CRYPT_CONFFILE);
542 syslog(LOG_ALERT, "crypt: fdopen(%d) failed: %s",
548 * /etc/security/crypt.conf has 3 fields:
583 syslog(LOG_ALERT, "crypt(3c): %s may be corrupt at line %d",
614 syslog(LOG_ERR, "crypt(3c) unable to dlopen %s: %s",
624 syslog(LOG_ERR, "crypt(3c) unable to find cryp_genhash_impl"
633 syslog(LOG_ERR, "crypt(3c) unable to find crypt_gensalt_impl"
802 * The rest of the code below comes from the old crypt.c and is the