blob: b74fe5f88f8cb409bc56da64d2cb796f76e9f4be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/*
* crypt() for uClibc
* Copyright (C) 2008 by Erik Andersen <andersen@uclibc.org>
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
#include <crypt.h>
#include <unistd.h>
#include "libcrypt.h"
#include <syscall.h>
char *crypt(const char *key attribute_unused, const char *salt attribute_unused)
{
__set_errno(ENOSYS);
return NULL;
}
void
setkey(const char *key attribute_unused)
{
__set_errno(ENOSYS);
}
void
encrypt(char *block attribute_unused, int flag attribute_unused)
{
__set_errno(ENOSYS);
}
|