summaryrefslogtreecommitdiff
path: root/libavutil/aes.c
Commit message (Collapse)AuthorAge
* build: Split test programs off into separate filesDiego Biurrun2016-04-07
| | | | | This avoids spurious library rebuilds when only the test program code is changed and simplifies the build system.
* testprogs: K&R formatting cosmeticsDiego Biurrun2016-03-24
|
* lavu: Drop deprecated context size variablesVittorio Giovara2015-08-28
| | | | Deprecated in 10/2012.
* avutil: remove timer.h include from internal.hJanne Grunau2014-01-25
| | | | Added libavutil/timer.h include to all files with {START,STOP}_TIMER.
* avutil: Add functions for allocating opaque contexts for algorithmsMartin Storsjö2012-10-11
| | | | | | | | | | | | The current API where the plain size is exposed is not of much use - in most cases it is allocated dynamically anyway. If allocated e.g. on the stack via an uint8_t array, there's no guarantee that the struct's members are aligned properly (unless the array is overallocated and the opaque pointer within it manually aligned to some unspecified alignment). Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace Subversion revisions in comments by Git hashes.Diego Biurrun2011-12-21
|
* aes: Avoid illegal read and don't generate more key than we use.Alex Converse2011-11-10
|
* aes: allow unaligned input and output buffersMans Rullgard2011-07-04
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* aes: fix for big endian systemsMans Rullgard2011-07-03
| | | | | | | This was missed in 5d20f19 since CONFIG_SMALL was always broken for big endian. Signed-off-by: Mans Rullgard <mans@mansr.com>
* aes: fix invalid array indexing in init codeMans Rullgard2011-07-03
| | | | | | This makes the code work with clang/x86_32 and removes several warnings. Signed-off-by: Mans Rullgard <mans@mansr.com>
* aes: use direct assignments instead of memcpy() or loopsMans Rullgard2011-07-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* aes: whitespace cosmeticsMans Rullgard2011-06-30
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* aes: improve test program and add fate testMans Rullgard2011-06-30
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* aes: fix array index out of bounds warningMåns Rullgård2010-07-04
| | | | Originally committed as revision 24048 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make mix function more readable.Reimar Döffinger2010-07-02
| | | | | | 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.Reimar Döffinger2010-06-30
| | | | | | | | | Makes it give correct results with e.g. gcc 4.4. For unknown reasons the generate asm code also changes on e.g. gcc 4.3, making the code a bit larger but also a bit faster. Originally committed as revision 23896 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Pass subshift an argument of the proper type.Reimar Döffinger2010-06-28
| | | | | | 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.Reimar Döffinger2010-06-28
| | | | Originally committed as revision 23855 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Rename prn variable to prng (Pseudo Random Number Generator).Diego Biurrun2009-04-10
| | | | Originally committed as revision 18422 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace random() usage in test programs by av_lfg_*().Diego Biurrun2009-03-20
| | | | Originally committed as revision 18070 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make AES test program compile again: Setting the av_log_level variableDiego Biurrun2009-03-20
| | | | | | needs 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 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