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