summaryrefslogtreecommitdiff
path: root/libavutil/aes.c
Commit message (Collapse)AuthorAge
* Add "const" to AES function arguments where possible without generatingReimar Döffinger2009-01-28
| | | | | | more warnings. Originally committed as revision 16847 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-13
| | | | | | 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.Diego Biurrun2008-01-08
| | | | Originally committed as revision 11470 to svn://svn.ffmpeg.org/ffmpeg/trunk
* main() --> main(void)Diego Biurrun2007-11-23
| | | | 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 ↵Reimar Döffinger2007-07-18
| | | | | | array. Originally committed as revision 9734 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move comment to a slightly better place.Diego Biurrun2007-07-02
| | | | Originally committed as revision 9462 to svn://svn.ffmpeg.org/ffmpeg/trunk
* correct last element inited checkMichael Niedermayer2007-05-13
| | | | Originally committed as revision 9018 to svn://svn.ffmpeg.org/ffmpeg/trunk
* make key parameter constBaptiste Coudurier2007-02-11
| | | | Originally committed as revision 7935 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l (aes_crypt -> av_aes_crypt)Michael Niedermayer2007-01-17
| | | | Originally committed as revision 7559 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix CONFIG_SMALL againMichael Niedermayer2007-01-16
| | | | Originally committed as revision 7554 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 30byte smaller object fileMichael Niedermayer2007-01-16
| | | | Originally committed as revision 7553 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cbc supportMichael Niedermayer2007-01-16
| | | | Originally committed as revision 7550 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avoid memcpy()Michael Niedermayer2007-01-16
| | | | Originally committed as revision 7549 to svn://svn.ffmpeg.org/ffmpeg/trunk
* give crypt a src and dstMichael Niedermayer2007-01-16
| | | | | | same 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 litlleMichael Niedermayer2007-01-16
| | | | Originally committed as revision 7546 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use 2 state arrays so that fewer temporary variables are neededMichael Niedermayer2007-01-16
| | | | Originally committed as revision 7545 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove useless parameterMichael Niedermayer2007-01-16
| | | | Originally committed as revision 7544 to svn://svn.ffmpeg.org/ffmpeg/trunk
* unused variableMichael Niedermayer2007-01-16
| | | | Originally committed as revision 7543 to svn://svn.ffmpeg.org/ffmpeg/trunk
* merge shift into mixMichael Niedermayer2007-01-15
| | | | | | this 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 APIMichael Niedermayer2007-01-15
| | | | Originally committed as revision 7533 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move #include log.h into the selftesting code where it belongsMichael Niedermayer2007-01-15
| | | | Originally committed as revision 7529 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove dependancy on *malloc()Michael Niedermayer2007-01-15
| | | | Originally committed as revision 7528 to svn://svn.ffmpeg.org/ffmpeg/trunk
* check the last? entry written for detecting already initalized tablesMichael Niedermayer2007-01-15
| | | | Originally committed as revision 7527 to svn://svn.ffmpeg.org/ffmpeg/trunk
* replace / by >> this makes the .o ~150 bytes smallerMichael Niedermayer2007-01-15
| | | | Originally committed as revision 7525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmeticMichael Niedermayer2007-01-15
| | | | Originally committed as revision 7524 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplifyMichael Niedermayer2007-01-14
| | | | Originally committed as revision 7504 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplify multiply table initMichael Niedermayer2007-01-14
| | | | Originally committed as revision 7503 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplify selftestMichael Niedermayer2007-01-14
| | | | Originally committed as revision 7501 to svn://svn.ffmpeg.org/ffmpeg/trunk
* revert simplification (broke 192 bit keys)Michael Niedermayer2007-01-14
| | | | Originally committed as revision 7500 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplifyMichael Niedermayer2007-01-14
| | | | Originally committed as revision 7499 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix 2 warningsMichael Niedermayer2007-01-14
| | | | 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 ?Michael Niedermayer2007-01-14
| | | | Originally committed as revision 7497 to svn://svn.ffmpeg.org/ffmpeg/trunk
* unneededMichael Niedermayer2007-01-14
| | | | Originally committed as revision 7496 to svn://svn.ffmpeg.org/ffmpeg/trunk
* unused thinkMichael Niedermayer2007-01-14
| | | | 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 ↵Michael Niedermayer2007-01-14
| | | | | | choose with inlining if it wants speed or small size Originally committed as revision 7494 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMichael Niedermayer2007-01-14
| | | | Originally committed as revision 7493 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove duplicate round_keyMichael Niedermayer2007-01-14
| | | | | | one 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 encodeMichael Niedermayer2007-01-14
| | | | Originally committed as revision 7491 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dont use encode tables for decodingMichael Niedermayer2007-01-14
| | | | Originally committed as revision 7490 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove no longer corret commentMichael Niedermayer2007-01-14
| | | | Originally committed as revision 7489 to svn://svn.ffmpeg.org/ffmpeg/trunk
* unused stuff removialMichael Niedermayer2007-01-14
| | | | Originally committed as revision 7488 to svn://svn.ffmpeg.org/ffmpeg/trunk
* merge inv_sbox into inv_mixMichael Niedermayer2007-01-14
| | | | Originally committed as revision 7487 to svn://svn.ffmpeg.org/ffmpeg/trunk
* merge sbox with mix on the encryption sideMichael Niedermayer2007-01-14
| | | | | | | | add one more test vector yes this needs a cleanup ... Originally committed as revision 7485 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 1 test vectorMichael Niedermayer2007-01-14
| | | | Originally committed as revision 7483 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix CONFIG_SMALL caseMichael Niedermayer2007-01-14
| | | | Originally committed as revision 7482 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplify special roundMichael Niedermayer2007-01-14
| | | | Originally committed as revision 7481 to svn://svn.ffmpeg.org/ffmpeg/trunk
* benchmarkMichael Niedermayer2007-01-14
| | | | Originally committed as revision 7480 to svn://svn.ffmpeg.org/ffmpeg/trunk
* init multblMichael Niedermayer2007-01-14
| | | | | | | code can now decrypt its own encryption correctly can anyone provide me with a correct test AES key + cyphertext + plaintext? Originally committed as revision 7479 to svn://svn.ffmpeg.org/ffmpeg/trunk
* asciiMichael Niedermayer2007-01-14
| | | | Originally committed as revision 7478 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmeticMichael Niedermayer2007-01-14
| | | | Originally committed as revision 7472 to svn://svn.ffmpeg.org/ffmpeg/trunk