MCPcopy Create free account
hub / github.com/F-Stack/f-stack / blake2s_init0

Function blake2s_init0

freebsd/contrib/libb2/blake2s-ref.c:132–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132static inline int blake2s_init0( blake2s_state *S )
133{
134 memset( S, 0, sizeof( blake2s_state ) );
135
136 for( int i = 0; i < 8; ++i ) S->h[i] = blake2s_IV[i];
137
138 return 0;
139}
140
141#define blake2s_init BLAKE2_IMPL_NAME(blake2s_init)
142#define blake2s_init_param BLAKE2_IMPL_NAME(blake2s_init_param)

Callers 1

blake2s_init_paramFunction · 0.70

Calls 1

memsetFunction · 0.85

Tested by

no test coverage detected