Mercurial > libavutil.hg
comparison sha1.h @ 957:e34e8d654ded libavutil
Fix grammar errors in documentation
author | mru |
---|---|
date | Wed, 30 Jun 2010 15:38:06 +0000 |
parents | 1e5bfdf9054d |
children |
comparison
equal
deleted
inserted
replaced
956:2894d4c208dc | 957:e34e8d654ded |
---|---|
26 extern const int av_sha1_size; | 26 extern const int av_sha1_size; |
27 | 27 |
28 struct AVSHA1; | 28 struct AVSHA1; |
29 | 29 |
30 /** | 30 /** |
31 * Initializes SHA-1 hashing. | 31 * Initialize SHA-1 hashing. |
32 * | 32 * |
33 * @param context pointer to the function context (of size av_sha_size) | 33 * @param context pointer to the function context (of size av_sha_size) |
34 * @deprecated use av_sha_init() instead | 34 * @deprecated use av_sha_init() instead |
35 */ | 35 */ |
36 void av_sha1_init(struct AVSHA1* context); | 36 void av_sha1_init(struct AVSHA1* context); |
37 | 37 |
38 /** | 38 /** |
39 * Updates hash value. | 39 * Update hash value. |
40 * | 40 * |
41 * @param context hash function context | 41 * @param context hash function context |
42 * @param data input data to update hash with | 42 * @param data input data to update hash with |
43 * @param len input data length | 43 * @param len input data length |
44 * @deprecated use av_sha_update() instead | 44 * @deprecated use av_sha_update() instead |
45 */ | 45 */ |
46 void av_sha1_update(struct AVSHA1* context, const uint8_t* data, unsigned int len); | 46 void av_sha1_update(struct AVSHA1* context, const uint8_t* data, unsigned int len); |
47 | 47 |
48 /** | 48 /** |
49 * Finishes hashing and output digest value. | 49 * Finish hashing and output digest value. |
50 * | 50 * |
51 * @param context hash function context | 51 * @param context hash function context |
52 * @param digest buffer where output digest value is stored | 52 * @param digest buffer where output digest value is stored |
53 * @deprecated use av_sha_final() instead | 53 * @deprecated use av_sha_final() instead |
54 */ | 54 */ |