projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c6361e
)
Rename function to sha1_transform so it won't be confused with SHA-2 transform
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Thu, 9 Jul 2009 07:29:03 +0000
(07:29 +0000)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Thu, 9 Jul 2009 07:29:03 +0000
(07:29 +0000)
when it's added.
Originally committed as revision 19389 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavutil/sha1.c
patch
|
blob
|
history
diff --git
a/libavutil/sha1.c
b/libavutil/sha1.c
index
0817212
..
ef7241f
100644
(file)
--- a/
libavutil/sha1.c
+++ b/
libavutil/sha1.c
@@
-49,7
+49,7
@@
const int av_sha1_size = sizeof(AVSHA1);
/* Hash a single 512-bit block. This is the core of the algorithm. */
-static void transform(uint32_t state[5], const uint8_t buffer[64])
+static void
sha1_
transform(uint32_t state[5], const uint8_t buffer[64])
{
uint32_t block[80];
unsigned int i, a, b, c, d, e;
@@
-134,7
+134,7
@@
void av_sha1_init(AVSHA1* ctx)
ctx->state[2] = 0x98BADCFE;
ctx->state[3] = 0x10325476;
ctx->state[4] = 0xC3D2E1F0;
- ctx->transform = transform;
+ ctx->transform =
sha1_
transform;
ctx->count = 0;
}