DDraceNetwork Docs
hash_ctxt.h File Reference
#include "hash.h"
#include <cstdint>
#include <openssl/md5.h>
#include <openssl/sha.h>
Include dependency graph for hash_ctxt.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void sha256_init (SHA256_CTX *ctxt)
 
void sha256_update (SHA256_CTX *ctxt, const void *data, size_t data_len)
 
SHA256_DIGEST sha256_finish (SHA256_CTX *ctxt)
 
void md5_init (MD5_CTX *ctxt)
 
void md5_update (MD5_CTX *ctxt, const void *data, size_t data_len)
 
MD5_DIGEST md5_finish (MD5_CTX *ctxt)
 

Function Documentation

◆ md5_finish()

MD5_DIGEST md5_finish ( MD5_CTX *  ctxt)

◆ md5_init()

void md5_init ( MD5_CTX *  ctxt)

◆ md5_update()

void md5_update ( MD5_CTX *  ctxt,
const void *  data,
size_t  data_len 
)

◆ sha256_finish()

SHA256_DIGEST sha256_finish ( SHA256_CTX *  ctxt)

◆ sha256_init()

void sha256_init ( SHA256_CTX *  ctxt)

◆ sha256_update()

void sha256_update ( SHA256_CTX *  ctxt,
const void *  data,
size_t  data_len 
)