/* Some helper functions, not necessarily useful */ static inline int blake2s_set_lastblock( blake2s_state *S ) { if( S->last_node ) blake2s_set_lastnode( S ); S->f[0] = ~0U; return 0; }
static void blake2s_set_lastblock(hash_state *md) { if (md->blake2s.last_node) blake2s_set_lastnode(md); md->blake2s.f[0] = 0xffffffffUL; }
BLAKE2_LOCAL_INLINE(int) blake2s_set_lastblock( blake2s_state *S ) { if( S->last_node ) blake2s_set_lastnode( S ); S->f[0] = -1; return 0; }
/* Some helper functions, not necessarily useful */ static inline void blake2s_set_lastblock( blake2s_state *S ) { if( S->last_node ) blake2s_set_lastnode( S ); S->f[0] = ~0U; }
static void blake2s_set_lastblock( blake2s_state *S ) { if( S->last_node ) blake2s_set_lastnode( S ); S->f[0] = (uint32_t)-1; }