#include <cstdio>#include <string>#include <boost/cstdint.hpp>

Go to the source code of this file.
Classes | |
| struct | md5_ctx |
Defines | |
| #define | MD5_DIGEST_SIZE 16 |
| #define | MD5_BLOCK_SIZE 64 |
Typedefs | |
| typedef unsigned long | md5_uintptr |
Functions | |
| void | md5_init_ctx (struct md5_ctx *ctx) |
| void | md5_process_block (const void *buffer, size_t len, struct md5_ctx *ctx) |
| void | md5_process_bytes (const void *buffer, size_t len, struct md5_ctx *ctx) |
| void * | md5_finish_ctx (struct md5_ctx *ctx, void *resbuf) |
| void * | md5_read_ctx (const struct md5_ctx *ctx, void *resbuf) |
| int | md5_stream (FILE *stream, void *resblock) |
| bool | md5_filespec (std::string &filespec, void *resblock) |
| bool | md5_filespec_check (std::string &filespec, std::string &md5) |
| void * | md5_buffer (const char *buffer, size_t len, void *resblock) |
| #define MD5_BLOCK_SIZE 64 |
| #define MD5_DIGEST_SIZE 16 |
Referenced by md5_filespec_check().
| typedef unsigned long md5_uintptr |
| void* md5_buffer | ( | const char * | buffer, | |
| size_t | len, | |||
| void * | resblock | |||
| ) |
References md5_finish_ctx(), md5_init_ctx(), and md5_process_bytes().
| bool md5_filespec | ( | std::string & | filespec, | |
| void * | resblock | |||
| ) |
| bool md5_filespec_check | ( | std::string & | filespec, | |
| std::string & | md5 | |||
| ) |
References gnash::hexify(), MD5_DIGEST_SIZE, and md5_filespec().
Referenced by main().
| void* md5_finish_ctx | ( | struct md5_ctx * | ctx, | |
| void * | resbuf | |||
| ) |
References md5_ctx::buflen, md5_process_block(), md5_read_ctx(), SWAP, and md5_ctx::total.
Referenced by md5_buffer(), md5_filespec(), and md5_stream().
| void md5_init_ctx | ( | struct md5_ctx * | ctx | ) |
References md5_ctx::A, md5_ctx::B, md5_ctx::buflen, md5_ctx::C, md5_ctx::D, and md5_ctx::total.
Referenced by md5_buffer(), md5_filespec(), and md5_stream().
| void md5_process_block | ( | const void * | buffer, | |
| size_t | len, | |||
| struct md5_ctx * | ctx | |||
| ) |
References md5_ctx::A, gnash::key::A, md5_ctx::B, gnash::key::B, md5_ctx::C, gnash::key::C, md5_ctx::D, D, FG, FH, FI, OP, and md5_ctx::total.
Referenced by md5_filespec(), md5_finish_ctx(), md5_process_bytes(), and md5_stream().
| void md5_process_bytes | ( | const void * | buffer, | |
| size_t | len, | |||
| struct md5_ctx * | ctx | |||
| ) |
References md5_ctx::buflen, md5_process_block(), and UNALIGNED_P.
Referenced by md5_buffer(), md5_filespec(), and md5_stream().
| void* md5_read_ctx | ( | const struct md5_ctx * | ctx, | |
| void * | resbuf | |||
| ) |
References md5_ctx::A, md5_ctx::B, md5_ctx::C, md5_ctx::D, and SWAP.
Referenced by md5_finish_ctx().
| int md5_stream | ( | FILE * | stream, | |
| void * | resblock | |||
| ) |
References BLOCKSIZE, md5_finish_ctx(), md5_init_ctx(), md5_process_block(), and md5_process_bytes().
1.7.1