AES Encrypiton Library / Version 1.2
Posted: Wed Aug 18, 2004 1:01 am
Uploaded version 1.2 of the library.
(Hope it works. Am a bit drunk as I am in celebrating mode today.
)
The package consists now of two libraries:
1. AES.small
The smallest version I can produce, in case each byte counts.
2. AES.MMX
The fastest library, that consists of faster routines as above and additionaly has MMX enabled routines.
You do not need to do anything except to tell the PB compiler which executable format it shoud produce.
Play with the various parameters (All, Dynamic, MMX, ...) to find out which version suits your needs the best (i.e. is the fastest).
For example, on my Notebook, the MMX is the fastest. On my AMD Athlon XP, the "non-MMX" is. "Dynamic CPU" as option compiles any routine into your executable and chooses the appropriate one at run time. All CPU uses the routines, any architechture understands.
Help file was also (very clumsy) updated.
1. Copy the help file to the PureBasic\Help directory
2. Copy one of the two Libraries into the PureBasic\PureLibraries\UserLibraries folder.
Other updates beside combining the MMX and non-MMX versions and compiling to smallest size:
1. Speed should be a little bit increased (a very little bit!).
2. AES_Gen_Tabs is still supported, but obsolete. The AES tables are initialized now without this function.
3. Updated the help file and the samples to reflect the changes.
I hope I did everything right and it is usefull for you!
Download:
http://www.host4scripts.de/pub/AESLIB.zip
(Hope it works. Am a bit drunk as I am in celebrating mode today.

The package consists now of two libraries:
1. AES.small
The smallest version I can produce, in case each byte counts.
2. AES.MMX
The fastest library, that consists of faster routines as above and additionaly has MMX enabled routines.
You do not need to do anything except to tell the PB compiler which executable format it shoud produce.
Play with the various parameters (All, Dynamic, MMX, ...) to find out which version suits your needs the best (i.e. is the fastest).
For example, on my Notebook, the MMX is the fastest. On my AMD Athlon XP, the "non-MMX" is. "Dynamic CPU" as option compiles any routine into your executable and chooses the appropriate one at run time. All CPU uses the routines, any architechture understands.
Help file was also (very clumsy) updated.
1. Copy the help file to the PureBasic\Help directory
2. Copy one of the two Libraries into the PureBasic\PureLibraries\UserLibraries folder.
Other updates beside combining the MMX and non-MMX versions and compiling to smallest size:
1. Speed should be a little bit increased (a very little bit!).
2. AES_Gen_Tabs is still supported, but obsolete. The AES tables are initialized now without this function.
3. Updated the help file and the samples to reflect the changes.
I hope I did everything right and it is usefull for you!
Download:
http://www.host4scripts.de/pub/AESLIB.zip