#include </home/clem/local/src/opie/noncore/apps/zsafe/krc2.h>
Public Member Functions | |
| Krc2 () | |
| ~Krc2 () | |
| void | rc2_expandkey (char key[], int length, int ekl) |
| void | rc2_encrypt (unsigned short *input) |
| void | rc2_decrypt (unsigned short *input) |
Private Member Functions | |
| void | _rc2_mix (unsigned short *input) |
| void | _rc2_mash (unsigned short *input) |
| void | _rc2_rmix (unsigned short *input) |
| void | _rc2_rmash (unsigned short *input) |
| int | _rc2_pow (int base, int exponent) |
| unsigned short | _rc2_ror (unsigned short input, int places) |
| unsigned short | _rc2_rol (unsigned short input, int places) |
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
Definition at line 163 of file krc2.cpp. Referenced by rc2_expandkey(). |
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
Referenced by ZSafe::loadInit(). |
|
|
Referenced by ZSafe::saveFinalize(). |
|
||||||||||||||||
|
Definition at line 52 of file krc2.cpp. References _rc2_expkey, _rc2_pitable, _rc2_pow(), and i. Referenced by ZSafe::loadInit(), and ZSafe::saveInit(). |
1.4.2