summaryrefslogtreecommitdiffstats
path: root/libavutil/sha.c
Commit message (Collapse)AuthorAgeFilesLines
* crypto: consistently use size_t as type for length parametersDiego Biurrun2017-01-091-1/+5
| | | | size_t is the correct type to use for sizes.
* build: Split test programs off into separate filesDiego Biurrun2016-04-071-52/+0
| | | | | 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-281-4/+0
| | | | Deprecated in 10/2012.
* avutil: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-041-1/+3
|
* Remove pointless #undefs of previously forbidden functions.Anton Khirnov2012-12-041-1/+0
|
* avutil: Add functions for allocating opaque contexts for algorithmsMartin Storsjö2012-10-111-0/+8
| | | | | | | | | | | | 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-131-1/+2
| | | | 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-041-2/+2
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavu: remove disabled sha1 cruft.Anton Khirnov2011-04-191-24/+0
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add av_ prefix to bswap macrosMåns Rullgård2010-07-101-3/+3
| | | | Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
* bswap: change ME to NE in macro namesMåns Rullgård2010-07-101-3/+3
| | | | | | | 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-111-0/+1
| | | | 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-091-2/+1
| | | | | | | 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-281-0/+1
| | | | Originally committed as revision 22099 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify expression as suggested by Måns RullgårdKostya Shishkov2010-02-111-1/+1
| | | | 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-111-1/+2
| | | | | | | | 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-301-1/+1
| | | | | | 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-171-40/+40
| | | | Originally committed as revision 19450 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add SHA-2 hashingKostya Shishkov2009-07-171-6/+168
| | | | 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-101-0/+237
and leave av_sha1_* functions for compatibility until next major bump. Originally committed as revision 19394 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud