mirror of
https://github.com/kazu-yamamoto/crypton.git
synced 2024-10-05 16:27:35 +03:00
13 lines
359 B
C
13 lines
359 B
C
#ifndef CRYPTOHASH_BLAKE2B_H
|
|
#define CRYPTOHASH_BLAKE2B_H
|
|
|
|
#include "blake2.h"
|
|
|
|
typedef blake2b_state blake2b_ctx;
|
|
|
|
void cryptonite_blake2b_init(blake2b_ctx *ctx, uint32_t hashlen);
|
|
void cryptonite_blake2b_update(blake2b_ctx *ctx, const uint8_t *data, uint32_t len);
|
|
void cryptonite_blake2b_finalize(blake2b_ctx *ctx, uint32_t hashlen, uint8_t *out);
|
|
|
|
#endif
|