12 #include "../algorithms/openssl_common.h"
20 #include "../algorithms/sha2/sha2.h"
80 .author =
"Aaron D. Gifford",
95 #ifndef RZ_PLUGIN_INCORE
static RzHashSize plugin_sha256_block_size(void *context)
static void * plugin_sha256_context_new()
static bool plugin_sha256_init(void *context)
RZ_API RzLibStruct rizin_plugin
static RzHashSize plugin_sha256_digest_size(void *context)
RzHashPlugin rz_hash_plugin_sha256
static void plugin_sha256_context_free(void *context)
static bool plugin_sha256_update(void *context, const ut8 *data, ut64 size)
static bool plugin_sha256_small_block(const ut8 *data, ut64 size, ut8 **digest, RzHashSize *digest_size)
static bool plugin_sha256_final(void *context, ut8 *digest)
RZ_API void Ht_() free(HtName_(Ht) *ht)
void * malloc(size_t size)
#define rz_openssl_plugin_define_hash_cfg(pluginname, evpmd, canhmac)
#define rz_return_val_if_fail(expr, val)
void SHA256_Update(RZ_SHA256_CTX *context, const ut8 *data, size_t len)
void SHA256_Final(ut8 *digest, RZ_SHA256_CTX *context)
void SHA256_Init(RZ_SHA256_CTX *context)
#define SHA256_DIGEST_LENGTH
#define SHA256_BLOCK_LENGTH
ut64(WINAPI *w32_GetEnabledXStateFeatures)()