12 #include "../algorithms/openssl_common.h"
20 #include "../algorithms/sha1/sha1.h"
95 #ifndef RZ_PLUGIN_INCORE
static bool plugin_sha1_small_block(const ut8 *data, ut64 size, ut8 **digest, RzHashSize *digest_size)
static void plugin_sha1_context_free(void *context)
static void * plugin_sha1_context_new()
RzHashPlugin rz_hash_plugin_sha1
static bool plugin_sha1_update(void *context, const ut8 *data, ut64 size)
RZ_API RzLibStruct rizin_plugin
static RzHashSize plugin_sha1_digest_size(void *context)
static bool plugin_sha1_init(void *context)
static bool plugin_sha1_final(void *context, ut8 *digest)
static RzHashSize plugin_sha1_block_size(void *context)
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 rz_sha1_init(RzSHA1 *context)
void rz_sha1_fini(ut8 *hash, RzSHA1 *context)
bool rz_sha1_update(RzSHA1 *context, const ut8 *data, ut64 length)
#define RZ_HASH_SHA1_DIGEST_SIZE
#define RZ_HASH_SHA1_BLOCK_LENGTH
ut64(WINAPI *w32_GetEnabledXStateFeatures)()