The Battle for Wesnoth  1.13.11+dev
Macros | Functions | Variables
crypt_gensalt.c File Reference
#include <string.h>
#include <errno.h>
#include "crypt_gensalt.h"
Include dependency graph for crypt_gensalt.c:

Go to the source code of this file.

Macros

#define __set_errno(val)   errno = (val)
 

Functions

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 [64+1]
 

Macro Definition Documentation

◆ __set_errno

#define __set_errno (   val)    errno = (val)

Definition at line 25 of file crypt_gensalt.c.

Function Documentation

◆ _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 52 of file crypt_gensalt.c.

◆ _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 87 of file crypt_gensalt.c.

◆ _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 34 of file crypt_gensalt.c.

Variable Documentation

◆ _crypt_itoa64

unsigned char _crypt_itoa64[64+1]
Initial value:
=
"./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"

Definition at line 31 of file crypt_gensalt.c.