f1e310f6f1ca406c12410c57c3f22b54e3bea0e8
[musl] / src / misc / crypt.c
1 #include <unistd.h>
2 #include <crypt.h>
3
4 char *__crypt_r(const char *, const char *, struct crypt_data *);
5
6 char *crypt(const char *key, const char *salt)
7 {
8         /* Note: update this size when we add more hash types */
9         static char buf[128];
10         return __crypt_r(key, salt, (struct crypt_data *)buf);
11 }