RetroArch
Classes | Typedefs | Functions
rhash.h File Reference
#include <stdint.h>
#include <stddef.h>
#include <compat/msvc.h>
#include <retro_inline.h>
#include <retro_common_api.h>
Include dependency graph for rhash.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SHA1Context
 
struct  MD5_CTX
 

Typedefs

typedef struct SHA1Context SHA1Context
 
typedef unsigned int MD5_u32plus
 

Functions

RETRO_BEGIN_DECLS void sha256_hash (char *out, const uint8_t *in, size_t size)
 
int sha1_calculate (const char *path, char *result)
 
uint32_t djb2_calculate (const char *str)
 
void MD5_Init (MD5_CTX *ctx)
 
void MD5_Update (MD5_CTX *ctx, const void *data, unsigned long size)
 
void MD5_Final (unsigned char *result, MD5_CTX *ctx)
 

Typedef Documentation

◆ MD5_u32plus

typedef unsigned int MD5_u32plus

◆ SHA1Context

typedef struct SHA1Context SHA1Context

Function Documentation

◆ djb2_calculate()

uint32_t djb2_calculate ( const char *  str)
Here is the caller graph for this function:

◆ MD5_Final()

void MD5_Final ( unsigned char *  result,
MD5_CTX ctx 
)
Here is the caller graph for this function:

◆ MD5_Init()

void MD5_Init ( MD5_CTX ctx)
Here is the caller graph for this function:

◆ MD5_Update()

void MD5_Update ( MD5_CTX ctx,
const void data,
unsigned long  size 
)
Here is the caller graph for this function:

◆ sha1_calculate()

int sha1_calculate ( const char *  path,
char *  result 
)
Here is the call graph for this function:

◆ sha256_hash()

RETRO_BEGIN_DECLS void sha256_hash ( char *  s,
const uint8_t in,
size_t  size 
)

sha256_hash: : Output. : Input. : Size of .

Hashes SHA256 and outputs a human readable string.

sha256_hash: : Output. : Input. : Size of .

Hashes SHA256 and outputs a human readable string.

Here is the call graph for this function:
Here is the caller graph for this function: