|
ReactOS 0.4.17-dev-934-g091855f
|
#include "vkd3d_shader_private.h"
Go to the source code of this file.
Classes | |
| struct | md5_ctx |
Macros | |
| #define | DXBC_CHECKSUM_BLOCK_SIZE 64 |
| #define | F1(x, y, z) (z ^ (x & (y ^ z))) |
| #define | F2(x, y, z) F1(z, x, y) |
| #define | F3(x, y, z) (x ^ y ^ z) |
| #define | F4(x, y, z) (y ^ (x | ~z)) |
| #define | MD5STEP(f, w, x, y, z, data, s) (w += f(x, y, z) + data, w = w << s | w >> (32 - s), w += x) |
Functions | |
| STATIC_ASSERT (sizeof(unsigned int)==4) | |
| static void | md5_transform (unsigned int buf[4], const unsigned int in[16]) |
| static void | byte_reverse (unsigned char *buf, unsigned longs) |
| static void | md5_init (struct md5_ctx *ctx) |
| static void | md5_update (struct md5_ctx *ctx, const unsigned char *buf, unsigned int len) |
| static void | md5_final (struct md5_ctx *ctx, enum vkd3d_md5_variant variant) |
| void | vkd3d_compute_md5 (const void *data, size_t size, uint32_t checksum[4], enum vkd3d_md5_variant variant) |
| #define DXBC_CHECKSUM_BLOCK_SIZE 64 |
Definition at line 43 of file checksum.c.
| #define MD5STEP | ( | f, | |
| w, | |||
| x, | |||
| y, | |||
| z, | |||
| data, | |||
| s | |||
| ) | (w += f(x, y, z) + data, w = w << s | w >> (32 - s), w += x) |
Definition at line 64 of file checksum.c.
Definition at line 158 of file checksum.c.
Referenced by md5_final(), and md5_update().
|
static |
Definition at line 238 of file checksum.c.
Referenced by rdssl_sign_ok(), and vkd3d_compute_md5().
Definition at line 72 of file checksum.c.
Referenced by md5_final(), and md5_update().
Definition at line 188 of file checksum.c.
| void vkd3d_compute_md5 | ( | const void * | data, |
| size_t | size, | ||
| uint32_t | checksum[4], | ||
| enum vkd3d_md5_variant | variant | ||
| ) |
Definition at line 305 of file checksum.c.
Referenced by compute_dxbc_checksum(), and fill_shader_dump_data().