import kpasman 0.1 sources
This commit is contained in:
parent
16a283b00c
commit
9a3f2b6afc
110 changed files with 27300 additions and 0 deletions
17
rc2-1.1.0/rc2.h
Normal file
17
rc2-1.1.0/rc2.h
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
/* Header file for rc2 implementation by Matthew Palmer <mjp16@uow.edu.au> */
|
||||
|
||||
/* Externally worked functions */
|
||||
void rc2_expandkey(char [], int, int);
|
||||
void rc2_encrypt(unsigned short *);
|
||||
void rc2_decrypt(unsigned short *);
|
||||
|
||||
/* The internals */
|
||||
void _rc2_mix(unsigned short *);
|
||||
void _rc2_mash(unsigned short *);
|
||||
void _rc2_rmix(unsigned short *);
|
||||
void _rc2_rmash(unsigned short *);
|
||||
int _rc2_pow(int, int);
|
||||
unsigned short _rc2_ror(unsigned short, int);
|
||||
unsigned short _rc2_rol(unsigned short, int);
|
||||
|
||||
/* End rc2.h */
|
||||
Reference in a new issue