The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Functions | Variables
smbencrypt.c File Reference
#include <freeradius-devel/util/misc.h>
#include <freeradius-devel/util/md4.h>
#include <freeradius-devel/util/md5.h>
#include <freeradius-devel/util/sha1.h>
#include <ctype.h>
#include <stdio.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

◆ main()

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

Definition at line 63 of file smbencrypt.c.

+ Here is the call graph for this function:

◆ ntpwdhash()

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

Definition at line 50 of file smbencrypt.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ tohex()

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

Definition at line 40 of file smbencrypt.c.

+ Here is the caller graph for this function:

Variable Documentation

◆ hex

char const hex[] = "0123456789ABCDEF"
static

Definition at line 35 of file smbencrypt.c.