Electroneum
Loading...
Searching...
No Matches
ed25519-hash-custom.h
Go to the documentation of this file.
1/*
2 a custom hash must have a 512bit digest and implement:
3
4 struct ed25519_hash_context;
5
6 void ed25519_hash_init(ed25519_hash_context *ctx);
7 void ed25519_hash_update(ed25519_hash_context *ctx, const uint8_t *in, size_t inlen);
8 void ed25519_hash_final(ed25519_hash_context *ctx, uint8_t *hash);
9 void ed25519_hash(uint8_t *hash, const uint8_t *in, size_t inlen);
10*/
11