Go to the source code of this file.
Macros | |
#define | BS 64 |
#define | BS2 32 |
#define | KS 48 |
#define | KS2 24 |
#define | IS 56 |
#define | IS2 28 |
Functions | |
static void | perm (char *a, char *e, char *pc, int n) |
static void | crypt_main (char *nachr_l, char *nachr_r, char *schl) |
void | encrypt (char *nachr, int decr) |
void | setkey (char *schl) |
char * | crypt (const char *wort, const char *salt) |
Variables | |
static char | schluessel [16][KS] |
static char | PC1 [] |
static char | PC2 [] |
static char | IP [] |
static char | EP [] |
static char | E0 [] |
static char | E [KS] |
static char | PERM [] |
static char | S_BOX [][64] |
Macro Definition Documentation
◆ BS
◆ BS2
◆ IS
◆ IS2
◆ KS
◆ KS2
Function Documentation
◆ crypt()
char * crypt | ( | const char * | wort, |
const char * | salt | ||
) |
◆ crypt_main()
|
static |
◆ encrypt()
void encrypt | ( | char * | nachr, |
int | decr | ||
) |
Definition at line 188 of file encrypt.c.
References BS, BS2, crypt_main(), EP, IP, KS, perm(), and schluessel.
Referenced by crypt(), internalRemoteUri(), and Adaptation::ServiceConfig::parse().
◆ perm()
|
static |
◆ setkey()
void setkey | ( | char * | schl | ) |
Variable Documentation
◆ E
|
static |
Definition at line 92 of file encrypt.c.
Referenced by EventScheduler::cancel(), crypt(), crypt_main(), EventScheduler::schedule(), and setkey().
◆ E0
|
static |
◆ EP
|
static |
Definition at line 72 of file encrypt.c.
Referenced by encrypt().
◆ IP
|
static |
Definition at line 61 of file encrypt.c.
Referenced by encrypt().
◆ PC1
|
static |
◆ PC2
|
static |
◆ PERM
|
static |
Definition at line 94 of file encrypt.c.
Referenced by crypt_main().
◆ S_BOX
|
static |
Definition at line 101 of file encrypt.c.
Referenced by crypt_main().