Add a common header file, xcrypt.h, for the various extended crypt
routines (md5, sha256, sha512).
--- /dev/null
+#ifndef _LIBUTIL_XCRYPT_H
+#define _LIBUTIL_XCRYPT_H
+
+/* Extended crypt() implementations */
+
+char *crypt_md5(const char *, const char *);
+char *sha256_crypt (const char *, const char *);
+char *sha512_crypt (const char *, const char *);
+
+#endif
#include <sys/param.h>
#include <sys/types.h>
+#include "xcrypt.h"
/* Structure to save state of computation between the single steps. */
struct sha256_ctx
#include <sys/param.h>
#include <sys/types.h>
+#include "xcrypt.h"
/* Structure to save state of computation between the single steps. */
struct sha512_ctx