This commit is contained in:
biosvos
2026-08-07 17:38:18 +09:00
commit 873193a243
9613 changed files with 2755992 additions and 0 deletions
@@ -0,0 +1,13 @@
typedef struct rijndael_instance {
int Nk,Nb,Nr;
byte fi[24],ri[24];
word32 fkey[120];
word32 rkey[120];
} RI;
/* void _mcrypt_rijndael_128_set_key(RI* rinst, int nb,int nk,byte *key); */
/* blocksize=32*nb bits. Key=32*nk bits */
/* currently nb,bk = 4, 6 or 8 */
/* key comes as 4*Nk bytes */
/* Key Scheduler. Create expanded encryption key */
@@ -0,0 +1,12 @@
#ifndef USE_MODULES
int _ctr_init_mcrypt( int td, void* buf, void *key, int lenofkey, void *IV);
int _mcrypt_ctr(int td, void* buf,void *plaintext, int len);
int _mdecrypt_ctr(int td, void* buf, void *plaintext, int len);
int _ctr_is_block_mode();
int _ctr_has_iv();
int _ctr_is_block_algorithm_mode();
char *_mcrypt_ctr_get_modes_name();
int _mcrypt_ctr_mode_get_size ();
int _mcrypt_ctr_get_iv_size(int td);
word32 _mcrypt_ctr_mode_version();
#endif