|
FFmpeg
|
Files | |
| file | ripemd.h |
Functions | |
| struct AVRIPEMD * | av_ripemd_alloc (void) |
| Allocate an AVRIPEMD context. More... | |
| int | av_ripemd_init (struct AVRIPEMD *context, int bits) |
| Initialize RIPEMD hashing. More... | |
| void | av_ripemd_update (struct AVRIPEMD *context, const uint8_t *data, size_t len) |
| Update hash value. More... | |
| void | av_ripemd_final (struct AVRIPEMD *context, uint8_t *digest) |
| Finish hashing and output digest value. More... | |
Variables | |
| const int | av_ripemd_size |
RIPEMD hash function implementation.
| struct AVRIPEMD* av_ripemd_alloc | ( | void | ) |
Allocate an AVRIPEMD context.
Definition at line 46 of file ripemd.c.
Referenced by av_hash_alloc(), and main().
| int av_ripemd_init | ( | struct AVRIPEMD * | context, |
| int | bits | ||
| ) |
Initialize RIPEMD hashing.
| context | pointer to the function context (of size av_ripemd_size) |
| bits | number of bits in digest (128, 160, 256 or 320 bits) |
Definition at line 466 of file ripemd.c.
Referenced by av_hash_init(), and main().
| void av_ripemd_update | ( | struct AVRIPEMD * | context, |
| const uint8_t * | data, | ||
| size_t | len | ||
| ) |
Update hash value.
| context | hash function context |
| data | input data to update hash with |
| len | input data length |
Definition at line 516 of file ripemd.c.
Referenced by av_hash_update(), av_ripemd_final(), and main().
| void av_ripemd_final | ( | struct AVRIPEMD * | context, |
| uint8_t * | digest | ||
| ) |
Finish hashing and output digest value.
| context | hash function context |
| digest | buffer where output digest value is stored |
Definition at line 548 of file ripemd.c.
Referenced by av_hash_final(), and main().
1.8.17