Kagome
Polkadot Runtime Engine in C++17
blake2s.h File Reference
#include <cstdlib>
Include dependency graph for blake2s.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kagome::crypto::blake2s_ctx
 

Namespaces

 kagome::crypto
 

Functions

void kagome::crypto::blake2s_256_init (blake2s_ctx *ctx)
 Initialize hash context. More...
 
void kagome::crypto::blake2s_update (blake2s_ctx *ctx, const void *in, size_t inlen)
 Update context with incoming bytes. More...
 
void kagome::crypto::blake2s_final (blake2s_ctx *ctx, void *out)
 Finalize hash calculation. More...
 
void kagome::crypto::blake2s_256 (void *out, const void *in, size_t inlen)
 One-shot convenience function to calculate blake2s_256 hash. More...
 
int kagome::crypto::blake2s_init (blake2s_ctx *ctx, size_t outlen, const void *key, size_t keylen)
 Generic blake2s init function. More...
 
int kagome::crypto::blake2s (void *out, size_t outlen, const void *key, size_t keylen, const void *in, size_t inlen)
 All in one blake2s hashing function. More...
 

Class Documentation

struct kagome::crypto::blake2s_ctx

Definition at line 16 of file blake2s.h.

Collaboration diagram for kagome::crypto::blake2s_ctx:
Class Members
unsigned char opaque[128]