jabberd2  2.3.4
Macros | Functions | Variables
crypt_blowfish.h File Reference

Go to the source code of this file.

Macros

#define __const   const
 

Functions

char * bcrypt (__const char *key, __const char *setting)
 
char * crypt_r (__const char *key, __const char *setting, void *data)
 
char * crypt_rn (__const char *key, __const char *setting, void *data, int size)
 
char * crypt_ra (__const char *key, __const char *setting, void **data, int *size)
 
char * bcrypt_gensalt (__const char *prefix, unsigned long count, __const char *input, int size)
 
char * crypt_gensalt_rn (__const char *prefix, unsigned long count, __const char *input, int size, char *output, int output_size)
 
char * crypt_gensalt_ra (__const char *prefix, unsigned long count, __const char *input, int size)
 
int _crypt_output_magic (const char *setting, char *output, int size)
 
char * _crypt_blowfish_rn (const char *key, const char *setting, char *output, int size)
 
char * _crypt_gensalt_blowfish_rn (const char *prefix, unsigned long count, const char *input, int size, char *output, int output_size)
 
char * _crypt_gensalt_traditional_rn (const char *prefix, unsigned long count, const char *input, int size, char *output, int output_size)
 
char * _crypt_gensalt_extended_rn (const char *prefix, unsigned long count, const char *input, int size, char *output, int output_size)
 
char * _crypt_gensalt_md5_rn (const char *prefix, unsigned long count, const char *input, int size, char *output, int output_size)
 

Variables

unsigned char _crypt_itoa64 []
 

Macro Definition Documentation

#define __const   const

Definition at line 22 of file crypt_blowfish.h.

Function Documentation

char* bcrypt ( __const char *  key,
__const char *  setting 
)
char* crypt_r ( __const char *  key,
__const char *  setting,
void *  data 
)
char* crypt_rn ( __const char *  key,
__const char *  setting,
void *  data,
int  size 
)
char* crypt_ra ( __const char *  key,
__const char *  setting,
void **  data,
int *  size 
)
char* bcrypt_gensalt ( __const char *  prefix,
unsigned long  count,
__const char *  input,
int  size 
)
char* crypt_gensalt_rn ( __const char *  prefix,
unsigned long  count,
__const char *  input,
int  size,
char *  output,
int  output_size 
)
char* crypt_gensalt_ra ( __const char *  prefix,
unsigned long  count,
__const char *  input,
int  size 
)
int _crypt_output_magic ( const char *  setting,
char *  output,
int  size 
)

Definition at line 782 of file crypt_blowfish.c.

Referenced by _crypt_blowfish_rn(), and _crypt_retval_magic().

char* _crypt_blowfish_rn ( const char *  key,
const char *  setting,
char *  output,
int  size 
)

Definition at line 817 of file crypt_blowfish.c.

References __set_errno, _crypt_output_magic(), BF_crypt(), BF_set_key(), and flags_by_subtype.

Referenced by crypt_ra(), and crypt_rn().

char* _crypt_gensalt_blowfish_rn ( const char *  prefix,
unsigned long  count,
const char *  input,
int  size,
char *  output,
int  output_size 
)

Definition at line 882 of file crypt_blowfish.c.

References __set_errno, and BF_encode().

Referenced by __crypt_gensalt_rn().

char* _crypt_gensalt_traditional_rn ( const char *  prefix,
unsigned long  count,
const char *  input,
int  size,
char *  output,
int  output_size 
)

Definition at line 913 of file crypt_blowfish.c.

References __set_errno, and _crypt_itoa64.

Referenced by __crypt_gensalt_rn().

char* _crypt_gensalt_extended_rn ( const char *  prefix,
unsigned long  count,
const char *  input,
int  size,
char *  output,
int  output_size 
)

Definition at line 931 of file crypt_blowfish.c.

References __set_errno, and _crypt_itoa64.

Referenced by __crypt_gensalt_rn().

char* _crypt_gensalt_md5_rn ( const char *  prefix,
unsigned long  count,
const char *  input,
int  size,
char *  output,
int  output_size 
)

Definition at line 966 of file crypt_blowfish.c.

References __set_errno, and _crypt_itoa64.

Referenced by __crypt_gensalt_rn().

Variable Documentation

unsigned char _crypt_itoa64[]