All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
smbencrypt.c File Reference
#include <freeradius-devel/libradius.h>
#include <freeradius-devel/md4.h>
#include <freeradius-devel/md5.h>
#include <freeradius-devel/sha1.h>
#include <ctype.h>
#include "smbdes.h"
+ Include dependency graph for smbencrypt.c:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 
static void ntpwdhash (uint8_t *out, char const *password)
 
static void tohex (unsigned char const *src, size_t len, char *dst)
 

Variables

static char const hex [] = "0123456789ABCDEF"
 

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 62 of file smbencrypt.c.

+ Here is the call graph for this function:

static void ntpwdhash ( uint8_t *  out,
char const *  password 
)
static

Definition at line 49 of file smbencrypt.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void tohex ( unsigned char const *  src,
size_t  len,
char *  dst 
)
static

Definition at line 39 of file smbencrypt.c.

+ Here is the caller graph for this function:

Variable Documentation

char const hex[] = "0123456789ABCDEF"
static

Definition at line 34 of file smbencrypt.c.