FFmpeg
|
#include <stddef.h>
#include <string.h>
#include "attributes.h"
#include "avutil.h"
#include "bswap.h"
#include "intreadwrite.h"
#include "ripemd.h"
#include "mem.h"
Go to the source code of this file.
Data Structures | |
struct | AVRIPEMD |
hash context More... | |
Macros | |
#define | rol(value, bits) (((value) << (bits)) | ((value) >> (32 - (bits)))) |
#define | ROUND128_0_TO_15(a, b, c, d, e, f, g, h) |
#define | ROUND128_16_TO_31(a, b, c, d, e, f, g, h) |
#define | ROUND128_32_TO_47(a, b, c, d, e, f, g, h) |
#define | ROUND128_48_TO_63(a, b, c, d, e, f, g, h) |
#define | R128_0 |
#define | R128_16 |
#define | R128_32 |
#define | R128_48 |
#define | ROTATE(x, y) |
#define | ROUND160_0_TO_15(a, b, c, d, e, f, g, h, i, j) |
#define | ROUND160_16_TO_31(a, b, c, d, e, f, g, h, i, j) |
#define | ROUND160_32_TO_47(a, b, c, d, e, f, g, h, i, j) |
#define | ROUND160_48_TO_63(a, b, c, d, e, f, g, h, i, j) |
#define | ROUND160_64_TO_79(a, b, c, d, e, f, g, h, i, j) |
#define | R160_0 |
#define | R160_16 |
#define | R160_32 |
#define | R160_48 |
#define | R160_64 |
Functions | |
struct AVRIPEMD * | av_ripemd_alloc (void) |
Allocate an AVRIPEMD context. More... | |
static void | ripemd128_transform (uint32_t *state, const uint8_t buffer[64]) |
static void | ripemd256_transform (uint32_t *state, const uint8_t buffer[64]) |
static void | ripemd160_transform (uint32_t *state, const uint8_t buffer[64]) |
static void | ripemd320_transform (uint32_t *state, const uint8_t buffer[64]) |
av_cold int | av_ripemd_init (AVRIPEMD *ctx, int bits) |
Initialize RIPEMD hashing. More... | |
void | av_ripemd_update (AVRIPEMD *ctx, const uint8_t *data, unsigned int len) |
Update hash value. More... | |
void | av_ripemd_final (AVRIPEMD *ctx, uint8_t *digest) |
Finish hashing and output digest value. More... | |
Variables | |
const int | av_ripemd_size = sizeof(AVRIPEMD) |
static const uint32_t | KA [4] |
static const uint32_t | KB [4] |
static const int | ROTA [80] |
static const int | ROTB [80] |
static const int | WA [80] |
static const int | WB [80] |
#define R128_0 |
#define R128_16 |
#define R128_32 |
#define R128_48 |
#define ROTATE | ( | x, | |
y | |||
) |
#define R160_0 |
#define R160_16 |
#define R160_32 |
#define R160_48 |
#define R160_64 |
|
static |
Definition at line 135 of file ripemd.c.
Referenced by av_ripemd_init().
|
static |
Definition at line 192 of file ripemd.c.
Referenced by av_ripemd_init().
|
static |
Definition at line 317 of file ripemd.c.
Referenced by av_ripemd_init().
|
static |
Definition at line 389 of file ripemd.c.
Referenced by av_ripemd_init().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |