22#ifndef _YUBICOM_HASH_H_
23#define _YUBICOM_HASH_H_
42#define YH_INTERNAL __attribute__((visibility("hidden")))
59#include <openssl/evp.h>
struct _hash_ctx * hash_ctx
bool YH_INTERNAL hash_final(hash_ctx ctx, uint8_t *out, size_t *pcb_out)
const YH_INTERNAL EVP_MD * get_hash(hash_t hash)
bool YH_INTERNAL hash_update(hash_ctx ctx, const uint8_t *in, size_t cb_in)
bool YH_INTERNAL hash_create(hash_ctx *ctx, hash_t hash)
bool YH_INTERNAL hash_init(hash_ctx ctx)
bool YH_INTERNAL hash_bytes(const uint8_t *in, size_t len, hash_t hash, uint8_t *out, size_t *out_len)
bool YH_INTERNAL hash_destroy(hash_ctx ctx)