|
Blender
V2.93
|
Go to the source code of this file.
Functions | |
| void * | BLI_hash_md5_buffer (const char *buffer, size_t len, void *resblock) |
| int | BLI_hash_md5_stream (FILE *stream, void *resblock) |
| char * | BLI_hash_md5_to_hexdigest (void *resblock, char r_hex_digest[33]) |
| void* BLI_hash_md5_buffer | ( | const char * | buffer, |
| size_t | len, | ||
| void * | resblock | ||
| ) |
Compute MD5 message digest for 'len' bytes beginning at 'buffer'. The result is always in little endian byte order, so that a byte-wise output yields to the wanted ASCII representation of the message digest.
Definition at line 370 of file hash_md5.c.
References buffer, fillbuf, len, md5_init_ctx(), md5_process_block(), md5_read_ctx(), and SWAP.
Referenced by IMB_thumb_load_font_get_hash(), render_result_exr_file_cache_path(), and thumbpathname_from_uri().
| int BLI_hash_md5_stream | ( | FILE * | stream, |
| void * | resblock | ||
| ) |
Compute MD5 message digest for bytes read from 'stream'. The resulting message digest number will be written into the 16 bytes beginning at 'resblock'.
Definition at line 292 of file hash_md5.c.
References BLOCKSIZE, buffer, fillbuf, len, md5_init_ctx(), md5_process_block(), md5_read_ctx(), sum(), and SWAP.
| char* BLI_hash_md5_to_hexdigest | ( | void * | resblock, |
| char | r_hex_digest[33] | ||
| ) |
Definition at line 406 of file hash_md5.c.
References Freestyle::c, and len.
Referenced by IMB_thumb_load_font_get_hash(), render_result_exr_file_cache_path(), and thumbpathname_from_uri().