#include <stdint.h>Go to the source code of this file.
Functions | |
| void | av_sha1_init (struct AVSHA1 *context) |
| Initialize SHA-1 hashing. | |
| void | av_sha1_update (struct AVSHA1 *context, const uint8_t *data, unsigned int len) |
| Update hash value. | |
| void | av_sha1_final (struct AVSHA1 *context, uint8_t digest[20]) |
| Finish hashing and output digest value. | |
Variables | |
| const int | av_sha1_size |
| void av_sha1_final | ( | struct AVSHA1 * | context, | |
| uint8_t | digest[20] | |||
| ) |
Finish hashing and output digest value.
| context | hash function context | |
| digest | buffer where output digest value is stored |
| void av_sha1_init | ( | struct AVSHA1 * | context | ) |
Initialize SHA-1 hashing.
| context | pointer to the function context (of size av_sha_size) |
| void av_sha1_update | ( | struct AVSHA1 * | context, | |
| const uint8_t * | data, | |||
| unsigned int | len | |||
| ) |
Update hash value.
| context | hash function context | |
| data | input data to update hash with | |
| len | input data length |
| const int av_sha1_size |
1.5.8