History | View | Annotate | Download (8.44 KB)
Make mix function more readable.Compiler output unchanged with gcc 4.4.
Originally committed as revision 24006 to svn://svn.ffmpeg.org/ffmpeg/trunk
Change AES code to be strict-aliasing-safe.Makes it give correct results with e.g. gcc 4.4.For unknown reasons the generate asm code also changeson e.g. gcc 4.3, making the code a bit larger but alsoa bit faster.
Originally committed as revision 23896 to svn://svn.ffmpeg.org/ffmpeg/trunk
Pass subshift an argument of the proper type.No changes in generated code.
Originally committed as revision 23856 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use a consistent type for multbl array function parameters.
Originally committed as revision 23855 to svn://svn.ffmpeg.org/ffmpeg/trunk
cosmetics: Rename prn variable to prng (Pseudo Random Number Generator).
Originally committed as revision 18422 to svn://svn.ffmpeg.org/ffmpeg/trunk
Replace random() usage in test programs by av_lfg_*().
Originally committed as revision 18070 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make AES test program compile again: Setting the av_log_level variableneeds to be replaced by a call to av_log_set_level().
Originally committed as revision 18055 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add "const" to AES function arguments where possible without generatingmore warnings.
Originally committed as revision 16847 to svn://svn.ffmpeg.org/ffmpeg/trunk
Change semantic of CONFIG_*, HAVE_* and ARCH_*.They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix test program compilation, random() needs to be undefined.
Originally committed as revision 11470 to svn://svn.ffmpeg.org/ffmpeg/trunk
main() --> main(void)
Originally committed as revision 11079 to svn://svn.ffmpeg.org/ffmpeg/trunk
Document aes init code writing on purpose beyond round_key array into state array.
Originally committed as revision 9734 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move comment to a slightly better place.
Originally committed as revision 9462 to svn://svn.ffmpeg.org/ffmpeg/trunk
correct last element inited check
Originally committed as revision 9018 to svn://svn.ffmpeg.org/ffmpeg/trunk
make key parameter const
Originally committed as revision 7935 to svn://svn.ffmpeg.org/ffmpeg/trunk
10l (aes_crypt -> av_aes_crypt)
Originally committed as revision 7559 to svn://svn.ffmpeg.org/ffmpeg/trunk
fix CONFIG_SMALL again
Originally committed as revision 7554 to svn://svn.ffmpeg.org/ffmpeg/trunk
30byte smaller object file
Originally committed as revision 7553 to svn://svn.ffmpeg.org/ffmpeg/trunk
cbc support
Originally committed as revision 7550 to svn://svn.ffmpeg.org/ffmpeg/trunk
avoid memcpy()
Originally committed as revision 7549 to svn://svn.ffmpeg.org/ffmpeg/trunk
give crypt a src and dstsame speed, 100bytes larger object file
Originally committed as revision 7548 to svn://svn.ffmpeg.org/ffmpeg/trunk
change subshift a little, this reduces the object size a litlle
Originally committed as revision 7546 to svn://svn.ffmpeg.org/ffmpeg/trunk
use 2 state arrays so that fewer temporary variables are needed
Originally committed as revision 7545 to svn://svn.ffmpeg.org/ffmpeg/trunk
remove useless parameter
Originally committed as revision 7544 to svn://svn.ffmpeg.org/ffmpeg/trunk
unused variable
Originally committed as revision 7543 to svn://svn.ffmpeg.org/ffmpeg/trunk
merge shift into mixthis need -fno-strict-aliasing to work (needs to be fixed of course)
Originally committed as revision 7534 to svn://svn.ffmpeg.org/ffmpeg/trunk
make aes_en/decrypt() static until we decided on the public API
Originally committed as revision 7533 to svn://svn.ffmpeg.org/ffmpeg/trunk
move #include log.h into the selftesting code where it belongs
Originally committed as revision 7529 to svn://svn.ffmpeg.org/ffmpeg/trunk
remove dependancy on *malloc()
Originally committed as revision 7528 to svn://svn.ffmpeg.org/ffmpeg/trunk
check the last? entry written for detecting already initalized tables
Originally committed as revision 7527 to svn://svn.ffmpeg.org/ffmpeg/trunk
replace / by >> this makes the .o ~150 bytes smaller
Originally committed as revision 7525 to svn://svn.ffmpeg.org/ffmpeg/trunk
cosmetic
Originally committed as revision 7524 to svn://svn.ffmpeg.org/ffmpeg/trunk
simplify
Originally committed as revision 7504 to svn://svn.ffmpeg.org/ffmpeg/trunk
simplify multiply table init
Originally committed as revision 7503 to svn://svn.ffmpeg.org/ffmpeg/trunk
simplify selftest
Originally committed as revision 7501 to svn://svn.ffmpeg.org/ffmpeg/trunk
revert simplification (broke 192 bit keys)
Originally committed as revision 7500 to svn://svn.ffmpeg.org/ffmpeg/trunk
Originally committed as revision 7499 to svn://svn.ffmpeg.org/ffmpeg/trunk
fix 2 warnings
Originally committed as revision 7498 to svn://svn.ffmpeg.org/ffmpeg/trunk
seems i didnt copy anything from aes128.c so this should be more correct ?
Originally committed as revision 7497 to svn://svn.ffmpeg.org/ffmpeg/trunk
unneeded
Originally committed as revision 7496 to svn://svn.ffmpeg.org/ffmpeg/trunk
unused think
Originally committed as revision 7495 to svn://svn.ffmpeg.org/ffmpeg/trunk
merge encrypt and decrypt so the source is simpler and the compiler can choose with inlining if it wants speed or small size
Originally committed as revision 7494 to svn://svn.ffmpeg.org/ffmpeg/trunk
indent
Originally committed as revision 7493 to svn://svn.ffmpeg.org/ffmpeg/trunk
remove duplicate round_keyone context is now either for encoding or decoding (makes more sense in reality too)
Originally committed as revision 7492 to svn://svn.ffmpeg.org/ffmpeg/trunk
make decode look more like encode
Originally committed as revision 7491 to svn://svn.ffmpeg.org/ffmpeg/trunk
dont use encode tables for decoding
Originally committed as revision 7490 to svn://svn.ffmpeg.org/ffmpeg/trunk
remove no longer corret comment
Originally committed as revision 7489 to svn://svn.ffmpeg.org/ffmpeg/trunk
unused stuff removial
Originally committed as revision 7488 to svn://svn.ffmpeg.org/ffmpeg/trunk
merge inv_sbox into inv_mix
Originally committed as revision 7487 to svn://svn.ffmpeg.org/ffmpeg/trunk
merge sbox with mix on the encryption sideadd one more test vector
yes this needs a cleanup ...
Originally committed as revision 7485 to svn://svn.ffmpeg.org/ffmpeg/trunk
1 test vector
Originally committed as revision 7483 to svn://svn.ffmpeg.org/ffmpeg/trunk
fix CONFIG_SMALL case
Originally committed as revision 7482 to svn://svn.ffmpeg.org/ffmpeg/trunk
simplify special round
Originally committed as revision 7481 to svn://svn.ffmpeg.org/ffmpeg/trunk
benchmark
Originally committed as revision 7480 to svn://svn.ffmpeg.org/ffmpeg/trunk
init multblcode can now decrypt its own encryption correctlycan anyone provide me with a correct test AES key + cyphertext + plaintext?
Originally committed as revision 7479 to svn://svn.ffmpeg.org/ffmpeg/trunk
ascii
Originally committed as revision 7478 to svn://svn.ffmpeg.org/ffmpeg/trunk
Originally committed as revision 7472 to svn://svn.ffmpeg.org/ffmpeg/trunk
simplify round_key generation by writing over the end but ensuring that theres some irrelevant stuff afterwards
Originally committed as revision 7471 to svn://svn.ffmpeg.org/ffmpeg/trunk
cosmetics
Originally committed as revision 7470 to svn://svn.ffmpeg.org/ffmpeg/trunk
memcpy
Originally committed as revision 7469 to svn://svn.ffmpeg.org/ffmpeg/trunk
seems the larger rcon values are never accessed
Originally committed as revision 7468 to svn://svn.ffmpeg.org/ffmpeg/trunk
copyright fix
Originally committed as revision 7467 to svn://svn.ffmpeg.org/ffmpeg/trunk
stealing multbl trick from reimar
Originally committed as revision 7466 to svn://svn.ffmpeg.org/ffmpeg/trunk
stealing reimars XOR_BLOCK
Originally committed as revision 7464 to svn://svn.ffmpeg.org/ffmpeg/trunk
Originally committed as revision 7463 to svn://svn.ffmpeg.org/ffmpeg/trunk
memleak
Originally committed as revision 7462 to svn://svn.ffmpeg.org/ffmpeg/trunk
simplify sbox init
Originally committed as revision 7461 to svn://svn.ffmpeg.org/ffmpeg/trunk
aes support (unfinished)
Originally committed as revision 7460 to svn://svn.ffmpeg.org/ffmpeg/trunk