Apache Portable Runtime Utility Library

crypto/crypt_blowfish.h

00001 /*
00002  * Written by Solar Designer <solar at openwall.com> in 2000-2011.
00003  * No copyright is claimed, and the software is hereby placed in the public
00004  * domain.  In case this attempt to disclaim copyright and place the software
00005  * in the public domain is deemed null and void, then the software is
00006  * Copyright (c) 2000-2011 Solar Designer and it is hereby released to the
00007  * general public under the following terms:
00008  *
00009  * Redistribution and use in source and binary forms, with or without
00010  * modification, are permitted.
00011  *
00012  * There's ABSOLUTELY NO WARRANTY, express or implied.
00013  *
00014  * See crypt_blowfish.c for more information.
00015  */
00016 
00017 #ifndef _CRYPT_BLOWFISH_H
00018 #define _CRYPT_BLOWFISH_H
00019 
00020 extern int _crypt_output_magic(const char *setting, char *output, int size);
00021 extern char *_crypt_blowfish_rn(const char *key, const char *setting,
00022         char *output, int size);
00023 extern char *_crypt_gensalt_blowfish_rn(const char *prefix,
00024         unsigned long count,
00025         const char *input, int size, char *output, int output_size);
00026 
00027 #endif
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines