belt_hash_context
ATTRIBUTE_WARN_UNUSED_RET int belt_hash_init(belt_hash_context *ctx);
ATTRIBUTE_WARN_UNUSED_RET int belt_hash_update(belt_hash_context *ctx, const u8 *input, u32 ilen);
ATTRIBUTE_WARN_UNUSED_RET int belt_hash_final(belt_hash_context *ctx, u8 output[BELT_HASH_DIGEST_SIZE]);
belt_hash_context belt_hash;
ATTRIBUTE_WARN_UNUSED_RET static int belt_hash_process(belt_hash_context *ctx, const u8 data[BELT_HASH_BLOCK_SIZE])
static void belt_update_ctr(belt_hash_context *ctx, u8 len_bytes)
int belt_hash_init(belt_hash_context *ctx)
int belt_hash_update(belt_hash_context *ctx, const u8 *input, u32 ilen)
int belt_hash_final(belt_hash_context *ctx, u8 output[BELT_HASH_DIGEST_SIZE])
belt_hash_context ctx;
belt_hash_context ctx;
return belt_hash_init((belt_hash_context*)hctx);
return belt_hash_update((belt_hash_context*)hctx, chunk, chunklen);
return belt_hash_final((belt_hash_context*)hctx, output);
belt_hash_context belt_hash_ctx;
belt_hash_context belt_hash_ctx;
belt_hash_context belt_hash_ctx;