Add SHA-2 hashing

Originally committed as revision 19449 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Kostya Shishkov
2009-07-17 04:30:06 +00:00
parent 6bb17c5155
commit aa5a99ae0c
2 changed files with 169 additions and 7 deletions

View File

@@ -28,7 +28,7 @@ extern const int av_sha_size;
struct AVSHA;
/**
* Initializes SHA-1 hashing.
* Initializes SHA-1 or SHA-2 hashing.
*
* @param context pointer to the function context (of size av_sha_size)
* @param bits number of bits in digest (SHA-1 - 160 bits, SHA-2 224 or 256 bits)