mirror of
https://git.busybox.net/uClibc
synced 2025-10-14 18:52:11 +08:00

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
30 lines
565 B
C
30 lines
565 B
C
/* vi: set sw=4 ts=4: */
|
|
/*
|
|
* 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);
|
|
}
|