Apache2
crypt_blowfish.h
Go to the documentation of this file.
1 /*
2  * Written by Solar Designer <solar at openwall.com> in 2000-2011.
3  * No copyright is claimed, and the software is hereby placed in the public
4  * domain. In case this attempt to disclaim copyright and place the software
5  * in the public domain is deemed null and void, then the software is
6  * Copyright (c) 2000-2011 Solar Designer and it is hereby released to the
7  * general public under the following terms:
8  *
9  * Redistribution and use in source and binary forms, with or without
10  * modification, are permitted.
11  *
12  * There's ABSOLUTELY NO WARRANTY, express or implied.
13  *
14  * See crypt_blowfish.c for more information.
15  */
16 
17 #ifndef _CRYPT_BLOWFISH_H
18 #define _CRYPT_BLOWFISH_H
19 
20 #include "apr.h" /* for apr_size_t */
21 
22 extern int _crypt_output_magic(const char *setting, char *output, apr_size_t size);
23 extern char *_crypt_blowfish_rn(const char *key, const char *setting,
24  char *output, apr_size_t size);
25 extern char *_crypt_gensalt_blowfish_rn(const char *prefix, unsigned long count,
26  const char *input, apr_size_t size,
27  char *output, apr_size_t output_size);
28 
29 #endif
APR Platform Definitions.
char * _crypt_gensalt_blowfish_rn(const char *prefix, unsigned long count, const char *input, apr_size_t size, char *output, apr_size_t output_size)
char * _crypt_blowfish_rn(const char *key, const char *setting, char *output, apr_size_t size)
int _crypt_output_magic(const char *setting, char *output, apr_size_t size)
dav_buffer apr_size_t size
Definition: mod_dav.h:461
const char * prefix
Definition: mod_dav.h:631
size_t apr_size_t
Definition: apr.h:394