"Fossies" - the Fresh Open Source Software Archive

Member "libmcrypt-2.5.8/modules/algorithms/rijndael.h" (9 Mar 2002, 383 Bytes) of package /linux/privat/old/libmcrypt-2.5.8.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "rijndael.h" see the Fossies "Dox" file reference documentation.

    1 
    2 typedef struct rijndael_instance {
    3     int Nk,Nb,Nr;
    4     byte fi[24],ri[24];
    5     word32 fkey[120];
    6     word32 rkey[120];
    7 } RI;
    8 
    9 /* void _mcrypt_rijndael_128_set_key(RI* rinst, int nb,int nk,byte *key); */
   10   /* blocksize=32*nb bits. Key=32*nk bits */
   11   /* currently nb,bk = 4, 6 or 8          */
   12   /* key comes as 4*Nk bytes              */
   13   /* Key Scheduler. Create expanded encryption key */