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

Function blake2b_init0

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

Source from the content-addressed store, hash-verified

137}
138
139static inline int blake2b_init0( blake2b_state *S )
140{
141 memset( S, 0, sizeof( blake2b_state ) );
142
143 for( int i = 0; i < 8; ++i ) S->h[i] = blake2b_IV[i];
144
145 return 0;
146}
147
148#define blake2b_init BLAKE2_IMPL_NAME(blake2b_init)
149#define blake2b_init_param BLAKE2_IMPL_NAME(blake2b_init_param)

Callers 1

blake2b_init_paramFunction · 0.70

Calls 1

memsetFunction · 0.85

Tested by

no test coverage detected