00001 /* 00002 * UFC-crypt: ultra fast crypt(3) implementation 00003 * 00004 * Copyright (C) 1991, 1992, 1993, 1996, 1997 Free Software Foundation, Inc. 00005 * 00006 * This library is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU Library General Public 00008 * License as published by the Free Software Foundation; either 00009 * version 2 of the License, or (at your option) any later version. 00010 * 00011 * This library is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * Library General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU Library General Public 00017 * License along with this library; see the file COPYING.LIB. If not, 00018 * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00019 * Boston, MA 02111-1307, USA. 00020 * 00021 * @(#)crypt-private.h 1.4 12/20/96 00022 */ 00023 00024 /* Prototypes for local functions in libcrypt.h. */ 00025 00026 extern void _ufc_doit_r (ufc_long itr, struct crypt_data *__data, 00027 ufc_long *res); 00028 00029 00030 /* crypt_util.c */ 00031 extern void __init_des_r (struct crypt_data *__data); 00032 extern void __init_des (void); 00033 extern char *fcrypt (const char *key, const char *salt); 00034 00035 extern void _ufc_setup_salt_r (const char *s, struct crypt_data *__data); 00036 extern void _ufc_mk_keytab_r (char *key, struct crypt_data *__data); 00037 extern void _ufc_dofinalperm_r (ufc_long *res, struct crypt_data *__data); 00038 extern void _ufc_output_conversion_r (ufc_long v1, ufc_long v2, 00039 const char *salt, 00040 struct crypt_data *__data);