summaryrefslogtreecommitdiff
path: root/libavutil/sha.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.
* lavu: Drop deprecated context size variablesVittorio Giovara2015-08-28
| | | | Deprecated in 10/2012.
* avutil: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-04
|
* Remove pointless #undefs of previously forbidden functions.Anton Khirnov2012-12-04
|
* 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>
* Move some conditionally used variables into the block where they are used.Diego Biurrun2012-02-13
| | | | This allows dropping the av_unused argument from them.
* sha: use AV_RB32() instead of assuming buffer can be cast to uint32_t*Kostya Shishkov2011-07-04
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavu: remove disabled sha1 cruft.Anton Khirnov2011-04-19
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add av_ prefix to bswap macrosMåns Rullgård2010-07-10
| | | | Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
* bswap: change ME to NE in macro namesMåns Rullgård2010-07-10
| | | | | | | Other parts of FFmpeg use NE (native endian) rather than ME (machine). This makes it consistent. Originally committed as revision 24169 to svn://svn.ffmpeg.org/ffmpeg/trunk
* sha: add missing includeMåns Rullgård2010-03-11
| | | | Originally committed as revision 22449 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace many includes of libavutil/common.h with what is actually neededMåns Rullgård2010-03-09
| | | | | | | This reduces the number of false dependencies on header files and speeds up compilation. Originally committed as revision 22407 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Include sha1.h from sha.c: It contains several prototypes.Carl Eugen Hoyos2010-02-28
| | | | Originally committed as revision 22099 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify expression as suggested by Måns RullgårdKostya Shishkov2010-02-11
| | | | Originally committed as revision 21756 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make SHA digest function write digest value with AV_WN32 instead of assumingKostya Shishkov2010-02-11
| | | | | | | | that output may be written as uint32_t since output buffer may not be aligned (and it's silly to force alignment on it) and it does not work in that case properly on some architectures. Originally committed as revision 21754 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark conditionally used variable T2 as av_unused; avoids the warning:Diego Biurrun2009-07-30
| | | | | | libavutil/sha.c:183: warning: unused variable `T2' Originally committed as revision 19551 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: reindent after last commitKostya Shishkov2009-07-17
| | | | Originally committed as revision 19450 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add SHA-2 hashingKostya Shishkov2009-07-17
| | | | Originally committed as revision 19449 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Prepare SHA code to handle SHA-2 as well. For now rename files and functionsKostya Shishkov2009-07-10
and leave av_sha1_* functions for compatibility until next major bump. Originally committed as revision 19394 to svn://svn.ffmpeg.org/ffmpeg/trunk