![]() |
The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Include dependency graph for smbdes.c:Go to the source code of this file.
Macros | |
| #define | uchar unsigned char |
Functions | |
| static void | concat (char *out, char *in1, char *in2, int l1, int l2) |
| static void | dohash (char *out, char *in, char *key) |
| static void | lshift (char *d, int count, int n) |
| static void | permute (char *out, char const *in, uchar const *p, int n) |
| void | smbdes_lmpwdhash (char const *password, uint8_t *lmhash) |
| void | smbdes_mschap (uint8_t const win_password[16], uint8_t const *challenge, uint8_t *response) |
| void | smbhash (unsigned char *out, unsigned char const *in, unsigned char *key) |
| static void | str_to_key (unsigned char *str, unsigned char *key) |
| static void | xor (char *out, char *in1, char *in2, int n) |
Variables | |
| static const uchar | perm1 [56] |
| static const uchar | perm2 [48] |
| static const uchar | perm3 [64] |
| static const uchar | perm4 [48] |
| static const uchar | perm5 [32] |
| static const uchar | perm6 [64] |
| static const uchar | sbox [8][4][16] |
| static const uchar | sc [16] = {1, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1} |
|
static |
|
static |
|
static |
|
static |
| void smbdes_lmpwdhash | ( | char const * | password, |
| uint8_t * | lmhash | ||
| ) |
| void smbhash | ( | unsigned char * | out, |
| unsigned char const * | in, | ||
| unsigned char * | key | ||
| ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
1.9.8