blob: 76645a0463fb61f5288ba2288d24a930207fff85 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001/* 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 */
7
8#define __FORCE_GLIBC
9#include <crypt.h>
10#include <unistd.h>
11#include "libcrypt.h"
12#include <syscall.h>
13
14char *crypt(const char *key attribute_unused, const char *salt attribute_unused)
15{
16 __set_errno(ENOSYS);
17 return NULL;
18}
19
20void
21setkey(const char *key attribute_unused)
22{
23 __set_errno(ENOSYS);
24}
25
26void
27encrypt(char *block attribute_unused, int flag attribute_unused)
28{
29 __set_errno(ENOSYS);
30}