enable microblaze. at least toolchain creation is working without NPTL
[uclibc-ng.git] / libcrypt / crypt_stub.c
blob580df6c8b0658ed59b878f0b928a20ed325ac203
1 /* vi: set sw=4 ts=4: */
2 /*
3 * crypt() for uClibc
4 * Copyright (C) 2008 by Erik Andersen <andersen@uclibc.org>
5 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
6 */
8 #include <crypt.h>
9 #include <unistd.h>
10 #include "libcrypt.h"
11 #include <syscall.h>
13 char *crypt(const char *key attribute_unused, const char *salt attribute_unused)
15 __set_errno(ENOSYS);
16 return NULL;
19 void
20 setkey(const char *key attribute_unused)
22 __set_errno(ENOSYS);
25 void
26 encrypt(char *block attribute_unused, int flag attribute_unused)
28 __set_errno(ENOSYS);