jabberd2  2.7.0
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

◆ __const

#define __const   const

Definition at line 22 of file crypt_blowfish.h.

Function Documentation

◆ bcrypt()

char* bcrypt ( __const char *  key,
__const char *  setting 
)

◆ crypt_r()

char* crypt_r ( __const char *  key,
__const char *  setting,
void *  data 
)

◆ crypt_rn()

char* crypt_rn ( __const char *  key,
__const char *  setting,
void *  data,
int  size 
)

◆ crypt_ra()

char* crypt_ra ( __const char *  key,
__const char *  setting,
void **  data,
int *  size 
)

◆ bcrypt_gensalt()

char* bcrypt_gensalt ( __const char *  prefix,
unsigned long  count,
__const char *  input,
int  size 
)

◆ crypt_gensalt_rn()

char* crypt_gensalt_rn ( __const char *  prefix,
unsigned long  count,
__const char *  input,
int  size,
char *  output,
int  output_size 
)

◆ crypt_gensalt_ra()

char* crypt_gensalt_ra ( __const char *  prefix,
unsigned long  count,
__const char *  input,
int  size 
)

◆ _crypt_output_magic()

int _crypt_output_magic ( const char *  setting,
char *  output,
int  size 
)

Definition at line 769 of file crypt_blowfish.c.

Referenced by _crypt_blowfish_rn(), and _crypt_retval_magic().

◆ _crypt_blowfish_rn()

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

Definition at line 804 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().

◆ _crypt_gensalt_blowfish_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 869 of file crypt_blowfish.c.

References __set_errno, and BF_encode().

Referenced by __crypt_gensalt_rn().

◆ _crypt_gensalt_traditional_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 900 of file crypt_blowfish.c.

References __set_errno, and _crypt_itoa64.

Referenced by __crypt_gensalt_rn().

◆ _crypt_gensalt_extended_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 918 of file crypt_blowfish.c.

References __set_errno, and _crypt_itoa64.

Referenced by __crypt_gensalt_rn().

◆ _crypt_gensalt_md5_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 953 of file crypt_blowfish.c.

References __set_errno, and _crypt_itoa64.

Referenced by __crypt_gensalt_rn().

Variable Documentation

◆ _crypt_itoa64

unsigned char _crypt_itoa64[]